Package ucar.nc2.stream
Class NcStreamProto.Range.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Range.Builder>
-
- ucar.nc2.stream.NcStreamProto.Range.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,NcStreamProto.RangeOrBuilder
- Enclosing class:
- NcStreamProto.Range
public static final class NcStreamProto.Range.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Range.Builder> implements NcStreamProto.RangeOrBuilder
Protobuf typeRange
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NcStreamProto.Range
build()
NcStreamProto.Range
buildPartial()
NcStreamProto.Range.Builder
clear()
NcStreamProto.Range.Builder
clearSize()
uint64 size = 2;
NcStreamProto.Range.Builder
clearStart()
uint64 start = 1;
NcStreamProto.Range.Builder
clearStride()
uint64 stride = 3;
NcStreamProto.Range
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
long
getSize()
uint64 size = 2;
long
getStart()
uint64 start = 1;
long
getStride()
uint64 stride = 3;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
NcStreamProto.Range.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
NcStreamProto.Range.Builder
mergeFrom(com.google.protobuf.Message other)
NcStreamProto.Range.Builder
mergeFrom(NcStreamProto.Range other)
NcStreamProto.Range.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
NcStreamProto.Range.Builder
setSize(long value)
uint64 size = 2;
NcStreamProto.Range.Builder
setStart(long value)
uint64 start = 1;
NcStreamProto.Range.Builder
setStride(long value)
uint64 stride = 3;
NcStreamProto.Range.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Range.Builder>
-
clear
public NcStreamProto.Range.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Range.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Range.Builder>
-
getDefaultInstanceForType
public NcStreamProto.Range getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public NcStreamProto.Range build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NcStreamProto.Range buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public NcStreamProto.Range.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<NcStreamProto.Range.Builder>
-
mergeFrom
public NcStreamProto.Range.Builder mergeFrom(NcStreamProto.Range other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Range.Builder>
-
mergeFrom
public NcStreamProto.Range.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<NcStreamProto.Range.Builder>
- Throws:
IOException
-
getStart
public long getStart()
uint64 start = 1;
- Specified by:
getStart
in interfaceNcStreamProto.RangeOrBuilder
- Returns:
- The start.
-
setStart
public NcStreamProto.Range.Builder setStart(long value)
uint64 start = 1;
- Parameters:
value
- The start to set.- Returns:
- This builder for chaining.
-
clearStart
public NcStreamProto.Range.Builder clearStart()
uint64 start = 1;
- Returns:
- This builder for chaining.
-
getSize
public long getSize()
uint64 size = 2;
- Specified by:
getSize
in interfaceNcStreamProto.RangeOrBuilder
- Returns:
- The size.
-
setSize
public NcStreamProto.Range.Builder setSize(long value)
uint64 size = 2;
- Parameters:
value
- The size to set.- Returns:
- This builder for chaining.
-
clearSize
public NcStreamProto.Range.Builder clearSize()
uint64 size = 2;
- Returns:
- This builder for chaining.
-
getStride
public long getStride()
uint64 stride = 3;
- Specified by:
getStride
in interfaceNcStreamProto.RangeOrBuilder
- Returns:
- The stride.
-
setStride
public NcStreamProto.Range.Builder setStride(long value)
uint64 stride = 3;
- Parameters:
value
- The stride to set.- Returns:
- This builder for chaining.
-
clearStride
public NcStreamProto.Range.Builder clearStride()
uint64 stride = 3;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final NcStreamProto.Range.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Range.Builder>
-
mergeUnknownFields
public final NcStreamProto.Range.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Range.Builder>
-
-