Package ucar.nc2.stream
Class NcStreamProto.EnumTypedef.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.EnumTypedef.Builder>
-
- ucar.nc2.stream.NcStreamProto.EnumTypedef.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,NcStreamProto.EnumTypedefOrBuilder
- Enclosing class:
- NcStreamProto.EnumTypedef
public static final class NcStreamProto.EnumTypedef.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.EnumTypedef.Builder> implements NcStreamProto.EnumTypedefOrBuilder
Protobuf typeEnumTypedef
-
-
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.EnumTypedef.Builder>
-
clear
public NcStreamProto.EnumTypedef.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.EnumTypedef.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.EnumTypedef.Builder>
-
getDefaultInstanceForType
public NcStreamProto.EnumTypedef getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public NcStreamProto.EnumTypedef build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NcStreamProto.EnumTypedef buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public NcStreamProto.EnumTypedef.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.EnumTypedef.Builder>
-
mergeFrom
public NcStreamProto.EnumTypedef.Builder mergeFrom(NcStreamProto.EnumTypedef other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.EnumTypedef.Builder>
-
mergeFrom
public NcStreamProto.EnumTypedef.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.EnumTypedef.Builder>
- Throws:
IOException
-
getName
public String getName()
string name = 1;
- Specified by:
getName
in interfaceNcStreamProto.EnumTypedefOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
string name = 1;
- Specified by:
getNameBytes
in interfaceNcStreamProto.EnumTypedefOrBuilder
- Returns:
- The bytes for name.
-
setName
public NcStreamProto.EnumTypedef.Builder setName(String value)
string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public NcStreamProto.EnumTypedef.Builder clearName()
string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
public NcStreamProto.EnumTypedef.Builder setNameBytes(com.google.protobuf.ByteString value)
string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getMapList
public List<NcStreamProto.EnumTypedef.EnumType> getMapList()
repeated .EnumTypedef.EnumType map = 2;
- Specified by:
getMapList
in interfaceNcStreamProto.EnumTypedefOrBuilder
-
getMapCount
public int getMapCount()
repeated .EnumTypedef.EnumType map = 2;
- Specified by:
getMapCount
in interfaceNcStreamProto.EnumTypedefOrBuilder
-
getMap
public NcStreamProto.EnumTypedef.EnumType getMap(int index)
repeated .EnumTypedef.EnumType map = 2;
- Specified by:
getMap
in interfaceNcStreamProto.EnumTypedefOrBuilder
-
setMap
public NcStreamProto.EnumTypedef.Builder setMap(int index, NcStreamProto.EnumTypedef.EnumType value)
repeated .EnumTypedef.EnumType map = 2;
-
setMap
public NcStreamProto.EnumTypedef.Builder setMap(int index, NcStreamProto.EnumTypedef.EnumType.Builder builderForValue)
repeated .EnumTypedef.EnumType map = 2;
-
addMap
public NcStreamProto.EnumTypedef.Builder addMap(NcStreamProto.EnumTypedef.EnumType value)
repeated .EnumTypedef.EnumType map = 2;
-
addMap
public NcStreamProto.EnumTypedef.Builder addMap(int index, NcStreamProto.EnumTypedef.EnumType value)
repeated .EnumTypedef.EnumType map = 2;
-
addMap
public NcStreamProto.EnumTypedef.Builder addMap(NcStreamProto.EnumTypedef.EnumType.Builder builderForValue)
repeated .EnumTypedef.EnumType map = 2;
-
addMap
public NcStreamProto.EnumTypedef.Builder addMap(int index, NcStreamProto.EnumTypedef.EnumType.Builder builderForValue)
repeated .EnumTypedef.EnumType map = 2;
-
addAllMap
public NcStreamProto.EnumTypedef.Builder addAllMap(Iterable<? extends NcStreamProto.EnumTypedef.EnumType> values)
repeated .EnumTypedef.EnumType map = 2;
-
clearMap
public NcStreamProto.EnumTypedef.Builder clearMap()
repeated .EnumTypedef.EnumType map = 2;
-
removeMap
public NcStreamProto.EnumTypedef.Builder removeMap(int index)
repeated .EnumTypedef.EnumType map = 2;
-
getMapBuilder
public NcStreamProto.EnumTypedef.EnumType.Builder getMapBuilder(int index)
repeated .EnumTypedef.EnumType map = 2;
-
getMapOrBuilder
public NcStreamProto.EnumTypedef.EnumTypeOrBuilder getMapOrBuilder(int index)
repeated .EnumTypedef.EnumType map = 2;
- Specified by:
getMapOrBuilder
in interfaceNcStreamProto.EnumTypedefOrBuilder
-
getMapOrBuilderList
public List<? extends NcStreamProto.EnumTypedef.EnumTypeOrBuilder> getMapOrBuilderList()
repeated .EnumTypedef.EnumType map = 2;
- Specified by:
getMapOrBuilderList
in interfaceNcStreamProto.EnumTypedefOrBuilder
-
addMapBuilder
public NcStreamProto.EnumTypedef.EnumType.Builder addMapBuilder()
repeated .EnumTypedef.EnumType map = 2;
-
addMapBuilder
public NcStreamProto.EnumTypedef.EnumType.Builder addMapBuilder(int index)
repeated .EnumTypedef.EnumType map = 2;
-
getMapBuilderList
public List<NcStreamProto.EnumTypedef.EnumType.Builder> getMapBuilderList()
repeated .EnumTypedef.EnumType map = 2;
-
setUnknownFields
public final NcStreamProto.EnumTypedef.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.EnumTypedef.Builder>
-
mergeUnknownFields
public final NcStreamProto.EnumTypedef.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.EnumTypedef.Builder>
-
-