Class ReceiverDProto.AntennaSwitchStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ReceiverDProto.AntennaSwitchStatus.Builder>
de.serosystems.proto.v3.grx.receiverd.ReceiverDProto.AntennaSwitchStatus.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,ReceiverDProto.AntennaSwitchStatusOrBuilder
,Cloneable
- Enclosing class:
- ReceiverDProto.AntennaSwitchStatus
public static final class ReceiverDProto.AntennaSwitchStatus.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ReceiverDProto.AntennaSwitchStatus.Builder>
implements ReceiverDProto.AntennaSwitchStatusOrBuilder
Antenna switch status.Protobuf type
serosystems.proto.v3.grx.receiverd.AntennaSwitchStatus
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearId()
Unique identification of the antenna switch.Human-readable label describing the antenna switch.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Current state id, referenced an id in state_id_to_label.clone()
boolean
Map from state id (e.g.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getId()
Unique identification of the antenna switch.com.google.protobuf.ByteString
Unique identification of the antenna switch.getLabel()
Human-readable label describing the antenna switch.com.google.protobuf.ByteString
Human-readable label describing the antenna switch.Deprecated.Current state id, referenced an id in state_id_to_label.com.google.protobuf.ByteString
Current state id, referenced an id in state_id_to_label.Deprecated.int
Map from state id (e.g.Map from state id (e.g.getStateIdToLabelOrDefault
(String key, String defaultValue) Map from state id (e.g.Map from state id (e.g.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
protected com.google.protobuf.MapField
internalGetMapField
(int number) protected com.google.protobuf.MapField
internalGetMutableMapField
(int number) final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) putAllStateIdToLabel
(Map<String, String> values) Map from state id (e.g.putStateIdToLabel
(String key, String value) Map from state id (e.g.Map from state id (e.g.Unique identification of the antenna switch.setIdBytes
(com.google.protobuf.ByteString value) Unique identification of the antenna switch.Human-readable label describing the antenna switch.setLabelBytes
(com.google.protobuf.ByteString value) Human-readable label describing the antenna switch.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStateId
(String value) Current state id, referenced an id in state_id_to_label.setStateIdBytes
(com.google.protobuf.ByteString value) Current state id, referenced an id in state_id_to_label.setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReceiverDProto.AntennaSwitchStatus.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReceiverDProto.AntennaSwitchStatus.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReceiverDProto.AntennaSwitchStatus.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<ReceiverDProto.AntennaSwitchStatus.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<ReceiverDProto.AntennaSwitchStatus.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReceiverDProto.AntennaSwitchStatus.Builder>
-
setField
public ReceiverDProto.AntennaSwitchStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReceiverDProto.AntennaSwitchStatus.Builder>
-
clearField
public ReceiverDProto.AntennaSwitchStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReceiverDProto.AntennaSwitchStatus.Builder>
-
clearOneof
public ReceiverDProto.AntennaSwitchStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReceiverDProto.AntennaSwitchStatus.Builder>
-
setRepeatedField
public ReceiverDProto.AntennaSwitchStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReceiverDProto.AntennaSwitchStatus.Builder>
-
addRepeatedField
public ReceiverDProto.AntennaSwitchStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReceiverDProto.AntennaSwitchStatus.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ReceiverDProto.AntennaSwitchStatus.Builder>
-
mergeFrom
public ReceiverDProto.AntennaSwitchStatus.Builder mergeFrom(ReceiverDProto.AntennaSwitchStatus other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReceiverDProto.AntennaSwitchStatus.Builder>
-
mergeFrom
public ReceiverDProto.AntennaSwitchStatus.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<ReceiverDProto.AntennaSwitchStatus.Builder>
- Throws:
IOException
-
getId
Unique identification of the antenna switch.
string id = 1;
- Specified by:
getId
in interfaceReceiverDProto.AntennaSwitchStatusOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Unique identification of the antenna switch.
string id = 1;
- Specified by:
getIdBytes
in interfaceReceiverDProto.AntennaSwitchStatusOrBuilder
- Returns:
- The bytes for id.
-
setId
Unique identification of the antenna switch.
string id = 1;
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
Unique identification of the antenna switch.
string id = 1;
- Returns:
- This builder for chaining.
-
setIdBytes
Unique identification of the antenna switch.
string id = 1;
- Parameters:
value
- The bytes for id to set.- Returns:
- This builder for chaining.
-
getLabel
Human-readable label describing the antenna switch.
string label = 2;
- Specified by:
getLabel
in interfaceReceiverDProto.AntennaSwitchStatusOrBuilder
- Returns:
- The label.
-
getLabelBytes
public com.google.protobuf.ByteString getLabelBytes()Human-readable label describing the antenna switch.
string label = 2;
- Specified by:
getLabelBytes
in interfaceReceiverDProto.AntennaSwitchStatusOrBuilder
- Returns:
- The bytes for label.
-
setLabel
Human-readable label describing the antenna switch.
string label = 2;
- Parameters:
value
- The label to set.- Returns:
- This builder for chaining.
-
clearLabel
Human-readable label describing the antenna switch.
string label = 2;
- Returns:
- This builder for chaining.
-
setLabelBytes
public ReceiverDProto.AntennaSwitchStatus.Builder setLabelBytes(com.google.protobuf.ByteString value) Human-readable label describing the antenna switch.
string label = 2;
- Parameters:
value
- The bytes for label to set.- Returns:
- This builder for chaining.
-
getStateIdToLabelCount
public int getStateIdToLabelCount()Description copied from interface:ReceiverDProto.AntennaSwitchStatusOrBuilder
Map from state id (e.g. "combined") to label (e.g. "Combined GNSS and Mode-S")
map<string, string> state_id_to_label = 3;
- Specified by:
getStateIdToLabelCount
in interfaceReceiverDProto.AntennaSwitchStatusOrBuilder
-
containsStateIdToLabel
Map from state id (e.g. "combined") to label (e.g. "Combined GNSS and Mode-S")
map<string, string> state_id_to_label = 3;
- Specified by:
containsStateIdToLabel
in interfaceReceiverDProto.AntennaSwitchStatusOrBuilder
-
getStateIdToLabel
Deprecated.UsegetStateIdToLabelMap()
instead.- Specified by:
getStateIdToLabel
in interfaceReceiverDProto.AntennaSwitchStatusOrBuilder
-
getStateIdToLabelMap
Map from state id (e.g. "combined") to label (e.g. "Combined GNSS and Mode-S")
map<string, string> state_id_to_label = 3;
- Specified by:
getStateIdToLabelMap
in interfaceReceiverDProto.AntennaSwitchStatusOrBuilder
-
getStateIdToLabelOrDefault
Map from state id (e.g. "combined") to label (e.g. "Combined GNSS and Mode-S")
map<string, string> state_id_to_label = 3;
- Specified by:
getStateIdToLabelOrDefault
in interfaceReceiverDProto.AntennaSwitchStatusOrBuilder
-
getStateIdToLabelOrThrow
Map from state id (e.g. "combined") to label (e.g. "Combined GNSS and Mode-S")
map<string, string> state_id_to_label = 3;
- Specified by:
getStateIdToLabelOrThrow
in interfaceReceiverDProto.AntennaSwitchStatusOrBuilder
-
clearStateIdToLabel
-
removeStateIdToLabel
Map from state id (e.g. "combined") to label (e.g. "Combined GNSS and Mode-S")
map<string, string> state_id_to_label = 3;
-
getMutableStateIdToLabel
Deprecated.Use alternate mutation accessors instead. -
putStateIdToLabel
Map from state id (e.g. "combined") to label (e.g. "Combined GNSS and Mode-S")
map<string, string> state_id_to_label = 3;
-
putAllStateIdToLabel
Map from state id (e.g. "combined") to label (e.g. "Combined GNSS and Mode-S")
map<string, string> state_id_to_label = 3;
-
getStateId
Current state id, referenced an id in state_id_to_label.
string state_id = 4;
- Specified by:
getStateId
in interfaceReceiverDProto.AntennaSwitchStatusOrBuilder
- Returns:
- The stateId.
-
getStateIdBytes
public com.google.protobuf.ByteString getStateIdBytes()Current state id, referenced an id in state_id_to_label.
string state_id = 4;
- Specified by:
getStateIdBytes
in interfaceReceiverDProto.AntennaSwitchStatusOrBuilder
- Returns:
- The bytes for stateId.
-
setStateId
Current state id, referenced an id in state_id_to_label.
string state_id = 4;
- Parameters:
value
- The stateId to set.- Returns:
- This builder for chaining.
-
clearStateId
Current state id, referenced an id in state_id_to_label.
string state_id = 4;
- Returns:
- This builder for chaining.
-
setStateIdBytes
public ReceiverDProto.AntennaSwitchStatus.Builder setStateIdBytes(com.google.protobuf.ByteString value) Current state id, referenced an id in state_id_to_label.
string state_id = 4;
- Parameters:
value
- The bytes for stateId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ReceiverDProto.AntennaSwitchStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReceiverDProto.AntennaSwitchStatus.Builder>
-
mergeUnknownFields
public final ReceiverDProto.AntennaSwitchStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReceiverDProto.AntennaSwitchStatus.Builder>
-