Package ucar.nc2.stream
Class NcStreamProto.Header.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Header.Builder>
-
- ucar.nc2.stream.NcStreamProto.Header.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,NcStreamProto.HeaderOrBuilder
- Enclosing class:
- NcStreamProto.Header
public static final class NcStreamProto.Header.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Header.Builder> implements NcStreamProto.HeaderOrBuilder
Protobuf typeHeader
-
-
Method Summary
-
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.Header.Builder>
-
clear
public NcStreamProto.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<NcStreamProto.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<NcStreamProto.Header.Builder>
-
getDefaultInstanceForType
public NcStreamProto.Header getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public NcStreamProto.Header build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NcStreamProto.Header buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public NcStreamProto.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<NcStreamProto.Header.Builder>
-
mergeFrom
public NcStreamProto.Header.Builder mergeFrom(NcStreamProto.Header other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Header.Builder>
-
mergeFrom
public NcStreamProto.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<NcStreamProto.Header.Builder>
- Throws:
IOException
-
getLocation
public String getLocation()
string location = 1;
- Specified by:
getLocation
in interfaceNcStreamProto.HeaderOrBuilder
- Returns:
- The location.
-
getLocationBytes
public com.google.protobuf.ByteString getLocationBytes()
string location = 1;
- Specified by:
getLocationBytes
in interfaceNcStreamProto.HeaderOrBuilder
- Returns:
- The bytes for location.
-
setLocation
public NcStreamProto.Header.Builder setLocation(String value)
string location = 1;
- Parameters:
value
- The location to set.- Returns:
- This builder for chaining.
-
clearLocation
public NcStreamProto.Header.Builder clearLocation()
string location = 1;
- Returns:
- This builder for chaining.
-
setLocationBytes
public NcStreamProto.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 interfaceNcStreamProto.HeaderOrBuilder
- Returns:
- The title.
-
getTitleBytes
public com.google.protobuf.ByteString getTitleBytes()
??
string title = 2;
- Specified by:
getTitleBytes
in interfaceNcStreamProto.HeaderOrBuilder
- Returns:
- The bytes for title.
-
setTitle
public NcStreamProto.Header.Builder setTitle(String value)
??
string title = 2;
- Parameters:
value
- The title to set.- Returns:
- This builder for chaining.
-
clearTitle
public NcStreamProto.Header.Builder clearTitle()
??
string title = 2;
- Returns:
- This builder for chaining.
-
setTitleBytes
public NcStreamProto.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 interfaceNcStreamProto.HeaderOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
??
string id = 3;
- Specified by:
getIdBytes
in interfaceNcStreamProto.HeaderOrBuilder
- Returns:
- The bytes for id.
-
setId
public NcStreamProto.Header.Builder setId(String value)
??
string id = 3;
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
public NcStreamProto.Header.Builder clearId()
??
string id = 3;
- Returns:
- This builder for chaining.
-
setIdBytes
public NcStreamProto.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()
.Group root = 4;
- Specified by:
hasRoot
in interfaceNcStreamProto.HeaderOrBuilder
- Returns:
- Whether the root field is set.
-
getRoot
public NcStreamProto.Group getRoot()
.Group root = 4;
- Specified by:
getRoot
in interfaceNcStreamProto.HeaderOrBuilder
- Returns:
- The root.
-
setRoot
public NcStreamProto.Header.Builder setRoot(NcStreamProto.Group value)
.Group root = 4;
-
setRoot
public NcStreamProto.Header.Builder setRoot(NcStreamProto.Group.Builder builderForValue)
.Group root = 4;
-
mergeRoot
public NcStreamProto.Header.Builder mergeRoot(NcStreamProto.Group value)
.Group root = 4;
-
clearRoot
public NcStreamProto.Header.Builder clearRoot()
.Group root = 4;
-
getRootBuilder
public NcStreamProto.Group.Builder getRootBuilder()
.Group root = 4;
-
getRootOrBuilder
public NcStreamProto.GroupOrBuilder getRootOrBuilder()
.Group root = 4;
- Specified by:
getRootOrBuilder
in interfaceNcStreamProto.HeaderOrBuilder
-
getVersion
public int getVersion()
uint32 version = 5;
- Specified by:
getVersion
in interfaceNcStreamProto.HeaderOrBuilder
- Returns:
- The version.
-
setVersion
public NcStreamProto.Header.Builder setVersion(int value)
uint32 version = 5;
- Parameters:
value
- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
public NcStreamProto.Header.Builder clearVersion()
uint32 version = 5;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final NcStreamProto.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<NcStreamProto.Header.Builder>
-
mergeUnknownFields
public final NcStreamProto.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<NcStreamProto.Header.Builder>
-
-