Package ucar.gcdm
Class GcdmNetcdfProto.Header.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GcdmNetcdfProto.Header.Builder>
-
- ucar.gcdm.GcdmNetcdfProto.Header.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,GcdmNetcdfProto.HeaderOrBuilder
- Enclosing class:
- GcdmNetcdfProto.Header
public static final class GcdmNetcdfProto.Header.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GcdmNetcdfProto.Header.Builder> implements GcdmNetcdfProto.HeaderOrBuilder
Protobuf typeucar.gcdm.Header
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GcdmNetcdfProto.Header
build()
GcdmNetcdfProto.Header
buildPartial()
GcdmNetcdfProto.Header.Builder
clear()
GcdmNetcdfProto.Header.Builder
clearId()
string id = 3;
GcdmNetcdfProto.Header.Builder
clearLocation()
string location = 1;
GcdmNetcdfProto.Header.Builder
clearRoot()
.ucar.gcdm.Group root = 4;
GcdmNetcdfProto.Header.Builder
clearTitle()
string title = 2;
GcdmNetcdfProto.Header
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getId()
string id = 3;
com.google.protobuf.ByteString
getIdBytes()
string id = 3;
String
getLocation()
string location = 1;
com.google.protobuf.ByteString
getLocationBytes()
string location = 1;
GcdmNetcdfProto.Group
getRoot()
.ucar.gcdm.Group root = 4;
GcdmNetcdfProto.Group.Builder
getRootBuilder()
.ucar.gcdm.Group root = 4;
GcdmNetcdfProto.GroupOrBuilder
getRootOrBuilder()
.ucar.gcdm.Group root = 4;
String
getTitle()
string title = 2;
com.google.protobuf.ByteString
getTitleBytes()
string title = 2;
boolean
hasRoot()
.ucar.gcdm.Group root = 4;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
GcdmNetcdfProto.Header.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GcdmNetcdfProto.Header.Builder
mergeFrom(com.google.protobuf.Message other)
GcdmNetcdfProto.Header.Builder
mergeFrom(GcdmNetcdfProto.Header other)
GcdmNetcdfProto.Header.Builder
mergeRoot(GcdmNetcdfProto.Group value)
.ucar.gcdm.Group root = 4;
GcdmNetcdfProto.Header.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
GcdmNetcdfProto.Header.Builder
setId(String value)
string id = 3;
GcdmNetcdfProto.Header.Builder
setIdBytes(com.google.protobuf.ByteString value)
string id = 3;
GcdmNetcdfProto.Header.Builder
setLocation(String value)
string location = 1;
GcdmNetcdfProto.Header.Builder
setLocationBytes(com.google.protobuf.ByteString value)
string location = 1;
GcdmNetcdfProto.Header.Builder
setRoot(GcdmNetcdfProto.Group value)
.ucar.gcdm.Group root = 4;
GcdmNetcdfProto.Header.Builder
setRoot(GcdmNetcdfProto.Group.Builder builderForValue)
.ucar.gcdm.Group root = 4;
GcdmNetcdfProto.Header.Builder
setTitle(String value)
string title = 2;
GcdmNetcdfProto.Header.Builder
setTitleBytes(com.google.protobuf.ByteString value)
string title = 2;
GcdmNetcdfProto.Header.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<GcdmNetcdfProto.Header.Builder>
-
clear
public GcdmNetcdfProto.Header.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<GcdmNetcdfProto.Header.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<GcdmNetcdfProto.Header.Builder>
-
getDefaultInstanceForType
public GcdmNetcdfProto.Header getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GcdmNetcdfProto.Header build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GcdmNetcdfProto.Header buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public GcdmNetcdfProto.Header.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GcdmNetcdfProto.Header.Builder>
-
mergeFrom
public GcdmNetcdfProto.Header.Builder mergeFrom(GcdmNetcdfProto.Header other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmNetcdfProto.Header.Builder>
-
mergeFrom
public GcdmNetcdfProto.Header.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<GcdmNetcdfProto.Header.Builder>
- Throws:
IOException
-
getLocation
public String getLocation()
string location = 1;
- Specified by:
getLocation
in interfaceGcdmNetcdfProto.HeaderOrBuilder
- Returns:
- The location.
-
getLocationBytes
public com.google.protobuf.ByteString getLocationBytes()
string location = 1;
- Specified by:
getLocationBytes
in interfaceGcdmNetcdfProto.HeaderOrBuilder
- Returns:
- The bytes for location.
-
setLocation
public GcdmNetcdfProto.Header.Builder setLocation(String value)
string location = 1;
- Parameters:
value
- The location to set.- Returns:
- This builder for chaining.
-
clearLocation
public GcdmNetcdfProto.Header.Builder clearLocation()
string location = 1;
- Returns:
- This builder for chaining.
-
setLocationBytes
public GcdmNetcdfProto.Header.Builder setLocationBytes(com.google.protobuf.ByteString value)
string location = 1;
- Parameters:
value
- The bytes for location to set.- Returns:
- This builder for chaining.
-
getTitle
public String getTitle()
string title = 2;
- Specified by:
getTitle
in interfaceGcdmNetcdfProto.HeaderOrBuilder
- Returns:
- The title.
-
getTitleBytes
public com.google.protobuf.ByteString getTitleBytes()
string title = 2;
- Specified by:
getTitleBytes
in interfaceGcdmNetcdfProto.HeaderOrBuilder
- Returns:
- The bytes for title.
-
setTitle
public GcdmNetcdfProto.Header.Builder setTitle(String value)
string title = 2;
- Parameters:
value
- The title to set.- Returns:
- This builder for chaining.
-
clearTitle
public GcdmNetcdfProto.Header.Builder clearTitle()
string title = 2;
- Returns:
- This builder for chaining.
-
setTitleBytes
public GcdmNetcdfProto.Header.Builder setTitleBytes(com.google.protobuf.ByteString value)
string title = 2;
- Parameters:
value
- The bytes for title to set.- Returns:
- This builder for chaining.
-
getId
public String getId()
string id = 3;
- Specified by:
getId
in interfaceGcdmNetcdfProto.HeaderOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
string id = 3;
- Specified by:
getIdBytes
in interfaceGcdmNetcdfProto.HeaderOrBuilder
- Returns:
- The bytes for id.
-
setId
public GcdmNetcdfProto.Header.Builder setId(String value)
string id = 3;
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
public GcdmNetcdfProto.Header.Builder clearId()
string id = 3;
- Returns:
- This builder for chaining.
-
setIdBytes
public GcdmNetcdfProto.Header.Builder setIdBytes(com.google.protobuf.ByteString value)
string id = 3;
- Parameters:
value
- The bytes for id to set.- Returns:
- This builder for chaining.
-
hasRoot
public boolean hasRoot()
.ucar.gcdm.Group root = 4;
- Specified by:
hasRoot
in interfaceGcdmNetcdfProto.HeaderOrBuilder
- Returns:
- Whether the root field is set.
-
getRoot
public GcdmNetcdfProto.Group getRoot()
.ucar.gcdm.Group root = 4;
- Specified by:
getRoot
in interfaceGcdmNetcdfProto.HeaderOrBuilder
- Returns:
- The root.
-
setRoot
public GcdmNetcdfProto.Header.Builder setRoot(GcdmNetcdfProto.Group value)
.ucar.gcdm.Group root = 4;
-
setRoot
public GcdmNetcdfProto.Header.Builder setRoot(GcdmNetcdfProto.Group.Builder builderForValue)
.ucar.gcdm.Group root = 4;
-
mergeRoot
public GcdmNetcdfProto.Header.Builder mergeRoot(GcdmNetcdfProto.Group value)
.ucar.gcdm.Group root = 4;
-
clearRoot
public GcdmNetcdfProto.Header.Builder clearRoot()
.ucar.gcdm.Group root = 4;
-
getRootBuilder
public GcdmNetcdfProto.Group.Builder getRootBuilder()
.ucar.gcdm.Group root = 4;
-
getRootOrBuilder
public GcdmNetcdfProto.GroupOrBuilder getRootOrBuilder()
.ucar.gcdm.Group root = 4;
- Specified by:
getRootOrBuilder
in interfaceGcdmNetcdfProto.HeaderOrBuilder
-
setUnknownFields
public final GcdmNetcdfProto.Header.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmNetcdfProto.Header.Builder>
-
mergeUnknownFields
public final GcdmNetcdfProto.Header.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmNetcdfProto.Header.Builder>
-
-