Package ucar.nc2.ft.point.remote
Class PointStreamProto.PointFeature.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<PointStreamProto.PointFeature.Builder>
-
- ucar.nc2.ft.point.remote.PointStreamProto.PointFeature.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,PointStreamProto.PointFeatureOrBuilder
- Enclosing class:
- PointStreamProto.PointFeature
public static final class PointStreamProto.PointFeature.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PointStreamProto.PointFeature.Builder> implements PointStreamProto.PointFeatureOrBuilder
Protobuf typePointFeature
-
-
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<PointStreamProto.PointFeature.Builder>
-
clear
public PointStreamProto.PointFeature.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<PointStreamProto.PointFeature.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<PointStreamProto.PointFeature.Builder>
-
getDefaultInstanceForType
public PointStreamProto.PointFeature getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public PointStreamProto.PointFeature build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PointStreamProto.PointFeature buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public PointStreamProto.PointFeature.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PointStreamProto.PointFeature.Builder>
-
mergeFrom
public PointStreamProto.PointFeature.Builder mergeFrom(PointStreamProto.PointFeature other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<PointStreamProto.PointFeature.Builder>
-
mergeFrom
public PointStreamProto.PointFeature.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<PointStreamProto.PointFeature.Builder>
- Throws:
IOException
-
hasLoc
public boolean hasLoc()
.Location loc = 1;
- Specified by:
hasLoc
in interfacePointStreamProto.PointFeatureOrBuilder
- Returns:
- Whether the loc field is set.
-
getLoc
public PointStreamProto.Location getLoc()
.Location loc = 1;
- Specified by:
getLoc
in interfacePointStreamProto.PointFeatureOrBuilder
- Returns:
- The loc.
-
setLoc
public PointStreamProto.PointFeature.Builder setLoc(PointStreamProto.Location value)
.Location loc = 1;
-
setLoc
public PointStreamProto.PointFeature.Builder setLoc(PointStreamProto.Location.Builder builderForValue)
.Location loc = 1;
-
mergeLoc
public PointStreamProto.PointFeature.Builder mergeLoc(PointStreamProto.Location value)
.Location loc = 1;
-
clearLoc
public PointStreamProto.PointFeature.Builder clearLoc()
.Location loc = 1;
-
getLocBuilder
public PointStreamProto.Location.Builder getLocBuilder()
.Location loc = 1;
-
getLocOrBuilder
public PointStreamProto.LocationOrBuilder getLocOrBuilder()
.Location loc = 1;
- Specified by:
getLocOrBuilder
in interfacePointStreamProto.PointFeatureOrBuilder
-
getData
public com.google.protobuf.ByteString getData()
fixed length data
bytes data = 3;
- Specified by:
getData
in interfacePointStreamProto.PointFeatureOrBuilder
- Returns:
- The data.
-
setData
public PointStreamProto.PointFeature.Builder setData(com.google.protobuf.ByteString value)
fixed length data
bytes data = 3;
- Parameters:
value
- The data to set.- Returns:
- This builder for chaining.
-
clearData
public PointStreamProto.PointFeature.Builder clearData()
fixed length data
bytes data = 3;
- Returns:
- This builder for chaining.
-
getSdataList
public com.google.protobuf.ProtocolStringList getSdataList()
Strings
repeated string sdata = 4;
- Specified by:
getSdataList
in interfacePointStreamProto.PointFeatureOrBuilder
- Returns:
- A list containing the sdata.
-
getSdataCount
public int getSdataCount()
Strings
repeated string sdata = 4;
- Specified by:
getSdataCount
in interfacePointStreamProto.PointFeatureOrBuilder
- Returns:
- The count of sdata.
-
getSdata
public String getSdata(int index)
Strings
repeated string sdata = 4;
- Specified by:
getSdata
in interfacePointStreamProto.PointFeatureOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The sdata at the given index.
-
getSdataBytes
public com.google.protobuf.ByteString getSdataBytes(int index)
Strings
repeated string sdata = 4;
- Specified by:
getSdataBytes
in interfacePointStreamProto.PointFeatureOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the sdata at the given index.
-
setSdata
public PointStreamProto.PointFeature.Builder setSdata(int index, String value)
Strings
repeated string sdata = 4;
- Parameters:
index
- The index to set the value at.value
- The sdata to set.- Returns:
- This builder for chaining.
-
addSdata
public PointStreamProto.PointFeature.Builder addSdata(String value)
Strings
repeated string sdata = 4;
- Parameters:
value
- The sdata to add.- Returns:
- This builder for chaining.
-
addAllSdata
public PointStreamProto.PointFeature.Builder addAllSdata(Iterable<String> values)
Strings
repeated string sdata = 4;
- Parameters:
values
- The sdata to add.- Returns:
- This builder for chaining.
-
clearSdata
public PointStreamProto.PointFeature.Builder clearSdata()
Strings
repeated string sdata = 4;
- Returns:
- This builder for chaining.
-
addSdataBytes
public PointStreamProto.PointFeature.Builder addSdataBytes(com.google.protobuf.ByteString value)
Strings
repeated string sdata = 4;
- Parameters:
value
- The bytes of the sdata to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final PointStreamProto.PointFeature.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PointStreamProto.PointFeature.Builder>
-
mergeUnknownFields
public final PointStreamProto.PointFeature.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PointStreamProto.PointFeature.Builder>
-
-