Package ucar.gcdm
Class GcdmGridProto.GridCoordinateSystem.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GcdmGridProto.GridCoordinateSystem.Builder>
-
- ucar.gcdm.GcdmGridProto.GridCoordinateSystem.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,GcdmGridProto.GridCoordinateSystemOrBuilder
- Enclosing class:
- GcdmGridProto.GridCoordinateSystem
public static final class GcdmGridProto.GridCoordinateSystem.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GcdmGridProto.GridCoordinateSystem.Builder> implements GcdmGridProto.GridCoordinateSystemOrBuilder
Protobuf typeucar.gcdm.GridCoordinateSystem
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmGridProto.GridCoordinateSystem.Builder>
-
clear
public GcdmGridProto.GridCoordinateSystem.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmGridProto.GridCoordinateSystem.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmGridProto.GridCoordinateSystem.Builder>
-
getDefaultInstanceForType
public GcdmGridProto.GridCoordinateSystem getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public GcdmGridProto.GridCoordinateSystem build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GcdmGridProto.GridCoordinateSystem buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GcdmGridProto.GridCoordinateSystem.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmGridProto.GridCoordinateSystem.Builder>
-
setField
public GcdmGridProto.GridCoordinateSystem.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmGridProto.GridCoordinateSystem.Builder>
-
clearField
public GcdmGridProto.GridCoordinateSystem.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmGridProto.GridCoordinateSystem.Builder>
-
clearOneof
public GcdmGridProto.GridCoordinateSystem.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmGridProto.GridCoordinateSystem.Builder>
-
setRepeatedField
public GcdmGridProto.GridCoordinateSystem.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmGridProto.GridCoordinateSystem.Builder>
-
addRepeatedField
public GcdmGridProto.GridCoordinateSystem.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmGridProto.GridCoordinateSystem.Builder>
-
mergeFrom
public GcdmGridProto.GridCoordinateSystem.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GcdmGridProto.GridCoordinateSystem.Builder>
-
mergeFrom
public GcdmGridProto.GridCoordinateSystem.Builder mergeFrom(GcdmGridProto.GridCoordinateSystem other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmGridProto.GridCoordinateSystem.Builder>
-
mergeFrom
public GcdmGridProto.GridCoordinateSystem.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GcdmGridProto.GridCoordinateSystem.Builder>- Throws:
IOException
-
getName
public String getName()
string name = 1;- Specified by:
getNamein interfaceGcdmGridProto.GridCoordinateSystemOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
string name = 1;- Specified by:
getNameBytesin interfaceGcdmGridProto.GridCoordinateSystemOrBuilder- Returns:
- The bytes for name.
-
setName
public GcdmGridProto.GridCoordinateSystem.Builder setName(String value)
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public GcdmGridProto.GridCoordinateSystem.Builder clearName()
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public GcdmGridProto.GridCoordinateSystem.Builder setNameBytes(com.google.protobuf.ByteString value)
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getAxisNamesList
public com.google.protobuf.ProtocolStringList getAxisNamesList()
repeated string axis_names = 2;- Specified by:
getAxisNamesListin interfaceGcdmGridProto.GridCoordinateSystemOrBuilder- Returns:
- A list containing the axisNames.
-
getAxisNamesCount
public int getAxisNamesCount()
repeated string axis_names = 2;- Specified by:
getAxisNamesCountin interfaceGcdmGridProto.GridCoordinateSystemOrBuilder- Returns:
- The count of axisNames.
-
getAxisNames
public String getAxisNames(int index)
repeated string axis_names = 2;- Specified by:
getAxisNamesin interfaceGcdmGridProto.GridCoordinateSystemOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The axisNames at the given index.
-
getAxisNamesBytes
public com.google.protobuf.ByteString getAxisNamesBytes(int index)
repeated string axis_names = 2;- Specified by:
getAxisNamesBytesin interfaceGcdmGridProto.GridCoordinateSystemOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the axisNames at the given index.
-
setAxisNames
public GcdmGridProto.GridCoordinateSystem.Builder setAxisNames(int index, String value)
repeated string axis_names = 2;- Parameters:
index- The index to set the value at.value- The axisNames to set.- Returns:
- This builder for chaining.
-
addAxisNames
public GcdmGridProto.GridCoordinateSystem.Builder addAxisNames(String value)
repeated string axis_names = 2;- Parameters:
value- The axisNames to add.- Returns:
- This builder for chaining.
-
addAllAxisNames
public GcdmGridProto.GridCoordinateSystem.Builder addAllAxisNames(Iterable<String> values)
repeated string axis_names = 2;- Parameters:
values- The axisNames to add.- Returns:
- This builder for chaining.
-
clearAxisNames
public GcdmGridProto.GridCoordinateSystem.Builder clearAxisNames()
repeated string axis_names = 2;- Returns:
- This builder for chaining.
-
addAxisNamesBytes
public GcdmGridProto.GridCoordinateSystem.Builder addAxisNamesBytes(com.google.protobuf.ByteString value)
repeated string axis_names = 2;- Parameters:
value- The bytes of the axisNames to add.- Returns:
- This builder for chaining.
-
getHorizCoordinatesId
public int getHorizCoordinatesId()
uint32 horiz_coordinates_id = 3;- Specified by:
getHorizCoordinatesIdin interfaceGcdmGridProto.GridCoordinateSystemOrBuilder- Returns:
- The horizCoordinatesId.
-
setHorizCoordinatesId
public GcdmGridProto.GridCoordinateSystem.Builder setHorizCoordinatesId(int value)
uint32 horiz_coordinates_id = 3;- Parameters:
value- The horizCoordinatesId to set.- Returns:
- This builder for chaining.
-
clearHorizCoordinatesId
public GcdmGridProto.GridCoordinateSystem.Builder clearHorizCoordinatesId()
uint32 horiz_coordinates_id = 3;- Returns:
- This builder for chaining.
-
getTimeCoordinatesId
public int getTimeCoordinatesId()
uint32 time_coordinates_id = 4;- Specified by:
getTimeCoordinatesIdin interfaceGcdmGridProto.GridCoordinateSystemOrBuilder- Returns:
- The timeCoordinatesId.
-
setTimeCoordinatesId
public GcdmGridProto.GridCoordinateSystem.Builder setTimeCoordinatesId(int value)
uint32 time_coordinates_id = 4;- Parameters:
value- The timeCoordinatesId to set.- Returns:
- This builder for chaining.
-
clearTimeCoordinatesId
public GcdmGridProto.GridCoordinateSystem.Builder clearTimeCoordinatesId()
uint32 time_coordinates_id = 4;- Returns:
- This builder for chaining.
-
getVerticalTransformId
public int getVerticalTransformId()
sint32 vertical_transform_id = 5;- Specified by:
getVerticalTransformIdin interfaceGcdmGridProto.GridCoordinateSystemOrBuilder- Returns:
- The verticalTransformId.
-
setVerticalTransformId
public GcdmGridProto.GridCoordinateSystem.Builder setVerticalTransformId(int value)
sint32 vertical_transform_id = 5;- Parameters:
value- The verticalTransformId to set.- Returns:
- This builder for chaining.
-
clearVerticalTransformId
public GcdmGridProto.GridCoordinateSystem.Builder clearVerticalTransformId()
sint32 vertical_transform_id = 5;- Returns:
- This builder for chaining.
-
setUnknownFields
public final GcdmGridProto.GridCoordinateSystem.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmGridProto.GridCoordinateSystem.Builder>
-
mergeUnknownFields
public final GcdmGridProto.GridCoordinateSystem.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GcdmGridProto.GridCoordinateSystem.Builder>
-
-