Package ucar.nc2.stream
Class NcStreamProto.Data.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Data.Builder>
-
- ucar.nc2.stream.NcStreamProto.Data.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,NcStreamProto.DataOrBuilder
- Enclosing class:
- NcStreamProto.Data
public static final class NcStreamProto.Data.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Data.Builder> implements NcStreamProto.DataOrBuilder
Protobuf typeData
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NcStreamProto.Data
build()
NcStreamProto.Data
buildPartial()
NcStreamProto.Data.Builder
clear()
NcStreamProto.Data.Builder
clearBigend()
[default=true] in proto2NcStreamProto.Data.Builder
clearBigendPresent()
NcStreamProto.Data.Builder
clearCompress()
.Compress compress = 6;
NcStreamProto.Data.Builder
clearDataType()
.DataType dataType = 2;
NcStreamProto.Data.Builder
clearSection()
not required for SEQUENCENcStreamProto.Data.Builder
clearUncompressedSize()
uint32 uncompressedSize = 8;
NcStreamProto.Data.Builder
clearVarName()
full escaped name.NcStreamProto.Data.Builder
clearVdata()
bool vdata = 7;
NcStreamProto.Data.Builder
clearVersion()
version=2 for proto2, >=3 for proto3 (v5.0+)boolean
getBigend()
[default=true] in proto2NcStreamProto.Data.BigendPresentCase
getBigendPresentCase()
NcStreamProto.Compress
getCompress()
.Compress compress = 6;
int
getCompressValue()
.Compress compress = 6;
NcStreamProto.DataType
getDataType()
.DataType dataType = 2;
int
getDataTypeValue()
.DataType dataType = 2;
NcStreamProto.Data
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
NcStreamProto.Section
getSection()
not required for SEQUENCENcStreamProto.Section.Builder
getSectionBuilder()
not required for SEQUENCENcStreamProto.SectionOrBuilder
getSectionOrBuilder()
not required for SEQUENCEint
getUncompressedSize()
uint32 uncompressedSize = 8;
String
getVarName()
full escaped name.com.google.protobuf.ByteString
getVarNameBytes()
full escaped name.boolean
getVdata()
bool vdata = 7;
int
getVersion()
version=2 for proto2, >=3 for proto3 (v5.0+)boolean
hasBigend()
[default=true] in proto2boolean
hasSection()
not required for SEQUENCEprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
NcStreamProto.Data.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
NcStreamProto.Data.Builder
mergeFrom(com.google.protobuf.Message other)
NcStreamProto.Data.Builder
mergeFrom(NcStreamProto.Data other)
NcStreamProto.Data.Builder
mergeSection(NcStreamProto.Section value)
not required for SEQUENCENcStreamProto.Data.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
NcStreamProto.Data.Builder
setBigend(boolean value)
[default=true] in proto2NcStreamProto.Data.Builder
setCompress(NcStreamProto.Compress value)
.Compress compress = 6;
NcStreamProto.Data.Builder
setCompressValue(int value)
.Compress compress = 6;
NcStreamProto.Data.Builder
setDataType(NcStreamProto.DataType value)
.DataType dataType = 2;
NcStreamProto.Data.Builder
setDataTypeValue(int value)
.DataType dataType = 2;
NcStreamProto.Data.Builder
setSection(NcStreamProto.Section value)
not required for SEQUENCENcStreamProto.Data.Builder
setSection(NcStreamProto.Section.Builder builderForValue)
not required for SEQUENCENcStreamProto.Data.Builder
setUncompressedSize(int value)
uint32 uncompressedSize = 8;
NcStreamProto.Data.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
NcStreamProto.Data.Builder
setVarName(String value)
full escaped name.NcStreamProto.Data.Builder
setVarNameBytes(com.google.protobuf.ByteString value)
full escaped name.NcStreamProto.Data.Builder
setVdata(boolean value)
bool vdata = 7;
NcStreamProto.Data.Builder
setVersion(int value)
version=2 for proto2, >=3 for proto3 (v5.0+)-
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.Data.Builder>
-
clear
public NcStreamProto.Data.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.Data.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.Data.Builder>
-
getDefaultInstanceForType
public NcStreamProto.Data getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public NcStreamProto.Data build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NcStreamProto.Data buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public NcStreamProto.Data.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.Data.Builder>
-
mergeFrom
public NcStreamProto.Data.Builder mergeFrom(NcStreamProto.Data other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Data.Builder>
-
mergeFrom
public NcStreamProto.Data.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.Data.Builder>
- Throws:
IOException
-
getBigendPresentCase
public NcStreamProto.Data.BigendPresentCase getBigendPresentCase()
- Specified by:
getBigendPresentCase
in interfaceNcStreamProto.DataOrBuilder
-
clearBigendPresent
public NcStreamProto.Data.Builder clearBigendPresent()
-
getVarName
public String getVarName()
full escaped name.
string varName = 1;
- Specified by:
getVarName
in interfaceNcStreamProto.DataOrBuilder
- Returns:
- The varName.
-
getVarNameBytes
public com.google.protobuf.ByteString getVarNameBytes()
full escaped name.
string varName = 1;
- Specified by:
getVarNameBytes
in interfaceNcStreamProto.DataOrBuilder
- Returns:
- The bytes for varName.
-
setVarName
public NcStreamProto.Data.Builder setVarName(String value)
full escaped name.
string varName = 1;
- Parameters:
value
- The varName to set.- Returns:
- This builder for chaining.
-
clearVarName
public NcStreamProto.Data.Builder clearVarName()
full escaped name.
string varName = 1;
- Returns:
- This builder for chaining.
-
setVarNameBytes
public NcStreamProto.Data.Builder setVarNameBytes(com.google.protobuf.ByteString value)
full escaped name.
string varName = 1;
- Parameters:
value
- The bytes for varName to set.- Returns:
- This builder for chaining.
-
getDataTypeValue
public int getDataTypeValue()
.DataType dataType = 2;
- Specified by:
getDataTypeValue
in interfaceNcStreamProto.DataOrBuilder
- Returns:
- The enum numeric value on the wire for dataType.
-
setDataTypeValue
public NcStreamProto.Data.Builder setDataTypeValue(int value)
.DataType dataType = 2;
- Parameters:
value
- The enum numeric value on the wire for dataType to set.- Returns:
- This builder for chaining.
-
getDataType
public NcStreamProto.DataType getDataType()
.DataType dataType = 2;
- Specified by:
getDataType
in interfaceNcStreamProto.DataOrBuilder
- Returns:
- The dataType.
-
setDataType
public NcStreamProto.Data.Builder setDataType(NcStreamProto.DataType value)
.DataType dataType = 2;
- Parameters:
value
- The dataType to set.- Returns:
- This builder for chaining.
-
clearDataType
public NcStreamProto.Data.Builder clearDataType()
.DataType dataType = 2;
- Returns:
- This builder for chaining.
-
hasSection
public boolean hasSection()
not required for SEQUENCE
.Section section = 3;
- Specified by:
hasSection
in interfaceNcStreamProto.DataOrBuilder
- Returns:
- Whether the section field is set.
-
getSection
public NcStreamProto.Section getSection()
not required for SEQUENCE
.Section section = 3;
- Specified by:
getSection
in interfaceNcStreamProto.DataOrBuilder
- Returns:
- The section.
-
setSection
public NcStreamProto.Data.Builder setSection(NcStreamProto.Section value)
not required for SEQUENCE
.Section section = 3;
-
setSection
public NcStreamProto.Data.Builder setSection(NcStreamProto.Section.Builder builderForValue)
not required for SEQUENCE
.Section section = 3;
-
mergeSection
public NcStreamProto.Data.Builder mergeSection(NcStreamProto.Section value)
not required for SEQUENCE
.Section section = 3;
-
clearSection
public NcStreamProto.Data.Builder clearSection()
not required for SEQUENCE
.Section section = 3;
-
getSectionBuilder
public NcStreamProto.Section.Builder getSectionBuilder()
not required for SEQUENCE
.Section section = 3;
-
getSectionOrBuilder
public NcStreamProto.SectionOrBuilder getSectionOrBuilder()
not required for SEQUENCE
.Section section = 3;
- Specified by:
getSectionOrBuilder
in interfaceNcStreamProto.DataOrBuilder
-
hasBigend
public boolean hasBigend()
[default=true] in proto2
bool bigend = 4;
- Specified by:
hasBigend
in interfaceNcStreamProto.DataOrBuilder
- Returns:
- Whether the bigend field is set.
-
getBigend
public boolean getBigend()
[default=true] in proto2
bool bigend = 4;
- Specified by:
getBigend
in interfaceNcStreamProto.DataOrBuilder
- Returns:
- The bigend.
-
setBigend
public NcStreamProto.Data.Builder setBigend(boolean value)
[default=true] in proto2
bool bigend = 4;
- Parameters:
value
- The bigend to set.- Returns:
- This builder for chaining.
-
clearBigend
public NcStreamProto.Data.Builder clearBigend()
[default=true] in proto2
bool bigend = 4;
- Returns:
- This builder for chaining.
-
getVersion
public int getVersion()
version=2 for proto2, >=3 for proto3 (v5.0+)
uint32 version = 5;
- Specified by:
getVersion
in interfaceNcStreamProto.DataOrBuilder
- Returns:
- The version.
-
setVersion
public NcStreamProto.Data.Builder setVersion(int value)
version=2 for proto2, >=3 for proto3 (v5.0+)
uint32 version = 5;
- Parameters:
value
- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
public NcStreamProto.Data.Builder clearVersion()
version=2 for proto2, >=3 for proto3 (v5.0+)
uint32 version = 5;
- Returns:
- This builder for chaining.
-
getCompressValue
public int getCompressValue()
.Compress compress = 6;
- Specified by:
getCompressValue
in interfaceNcStreamProto.DataOrBuilder
- Returns:
- The enum numeric value on the wire for compress.
-
setCompressValue
public NcStreamProto.Data.Builder setCompressValue(int value)
.Compress compress = 6;
- Parameters:
value
- The enum numeric value on the wire for compress to set.- Returns:
- This builder for chaining.
-
getCompress
public NcStreamProto.Compress getCompress()
.Compress compress = 6;
- Specified by:
getCompress
in interfaceNcStreamProto.DataOrBuilder
- Returns:
- The compress.
-
setCompress
public NcStreamProto.Data.Builder setCompress(NcStreamProto.Compress value)
.Compress compress = 6;
- Parameters:
value
- The compress to set.- Returns:
- This builder for chaining.
-
clearCompress
public NcStreamProto.Data.Builder clearCompress()
.Compress compress = 6;
- Returns:
- This builder for chaining.
-
getVdata
public boolean getVdata()
bool vdata = 7;
- Specified by:
getVdata
in interfaceNcStreamProto.DataOrBuilder
- Returns:
- The vdata.
-
setVdata
public NcStreamProto.Data.Builder setVdata(boolean value)
bool vdata = 7;
- Parameters:
value
- The vdata to set.- Returns:
- This builder for chaining.
-
clearVdata
public NcStreamProto.Data.Builder clearVdata()
bool vdata = 7;
- Returns:
- This builder for chaining.
-
getUncompressedSize
public int getUncompressedSize()
uint32 uncompressedSize = 8;
- Specified by:
getUncompressedSize
in interfaceNcStreamProto.DataOrBuilder
- Returns:
- The uncompressedSize.
-
setUncompressedSize
public NcStreamProto.Data.Builder setUncompressedSize(int value)
uint32 uncompressedSize = 8;
- Parameters:
value
- The uncompressedSize to set.- Returns:
- This builder for chaining.
-
clearUncompressedSize
public NcStreamProto.Data.Builder clearUncompressedSize()
uint32 uncompressedSize = 8;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final NcStreamProto.Data.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.Data.Builder>
-
mergeUnknownFields
public final NcStreamProto.Data.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.Data.Builder>
-
-