Package ucar.gcdm
Class GcdmNetcdfProto.EnumTypedef.EnumType.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GcdmNetcdfProto.EnumTypedef.EnumType.Builder>
-
- ucar.gcdm.GcdmNetcdfProto.EnumTypedef.EnumType.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,GcdmNetcdfProto.EnumTypedef.EnumTypeOrBuilder
- Enclosing class:
- GcdmNetcdfProto.EnumTypedef.EnumType
public static final class GcdmNetcdfProto.EnumTypedef.EnumType.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GcdmNetcdfProto.EnumTypedef.EnumType.Builder> implements GcdmNetcdfProto.EnumTypedef.EnumTypeOrBuilder
Protobuf typeucar.gcdm.EnumTypedef.EnumType
-
-
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<GcdmNetcdfProto.EnumTypedef.EnumType.Builder>
-
clear
public GcdmNetcdfProto.EnumTypedef.EnumType.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.EnumTypedef.EnumType.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.EnumTypedef.EnumType.Builder>
-
getDefaultInstanceForType
public GcdmNetcdfProto.EnumTypedef.EnumType getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GcdmNetcdfProto.EnumTypedef.EnumType build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GcdmNetcdfProto.EnumTypedef.EnumType buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public GcdmNetcdfProto.EnumTypedef.EnumType.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.EnumTypedef.EnumType.Builder>
-
mergeFrom
public GcdmNetcdfProto.EnumTypedef.EnumType.Builder mergeFrom(GcdmNetcdfProto.EnumTypedef.EnumType other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmNetcdfProto.EnumTypedef.EnumType.Builder>
-
mergeFrom
public GcdmNetcdfProto.EnumTypedef.EnumType.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.EnumTypedef.EnumType.Builder>
- Throws:
IOException
-
getCode
public int getCode()
uint32 code = 1;
- Specified by:
getCode
in interfaceGcdmNetcdfProto.EnumTypedef.EnumTypeOrBuilder
- Returns:
- The code.
-
setCode
public GcdmNetcdfProto.EnumTypedef.EnumType.Builder setCode(int value)
uint32 code = 1;
- Parameters:
value
- The code to set.- Returns:
- This builder for chaining.
-
clearCode
public GcdmNetcdfProto.EnumTypedef.EnumType.Builder clearCode()
uint32 code = 1;
- Returns:
- This builder for chaining.
-
getValue
public String getValue()
string value = 2;
- Specified by:
getValue
in interfaceGcdmNetcdfProto.EnumTypedef.EnumTypeOrBuilder
- Returns:
- The value.
-
getValueBytes
public com.google.protobuf.ByteString getValueBytes()
string value = 2;
- Specified by:
getValueBytes
in interfaceGcdmNetcdfProto.EnumTypedef.EnumTypeOrBuilder
- Returns:
- The bytes for value.
-
setValue
public GcdmNetcdfProto.EnumTypedef.EnumType.Builder setValue(String value)
string value = 2;
- Parameters:
value
- The value to set.- Returns:
- This builder for chaining.
-
clearValue
public GcdmNetcdfProto.EnumTypedef.EnumType.Builder clearValue()
string value = 2;
- Returns:
- This builder for chaining.
-
setValueBytes
public GcdmNetcdfProto.EnumTypedef.EnumType.Builder setValueBytes(com.google.protobuf.ByteString value)
string value = 2;
- Parameters:
value
- The bytes for value to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final GcdmNetcdfProto.EnumTypedef.EnumType.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.EnumTypedef.EnumType.Builder>
-
mergeUnknownFields
public final GcdmNetcdfProto.EnumTypedef.EnumType.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.EnumTypedef.EnumType.Builder>
-
-