Package org.yamcs.protobuf
Class Commanding.CommandId.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Commanding.CommandId.Builder>
org.yamcs.protobuf.Commanding.CommandId.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Commanding.CommandIdOrBuilder
- Enclosing class:
- Commanding.CommandId
public static final class Commanding.CommandId.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Commanding.CommandId.Builder>
implements Commanding.CommandIdOrBuilder
Protobuf type
yamcs.protobuf.commanding.CommandId
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
optional string commandName = 4;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) required int64 generationTime = 1;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) required string origin = 2;
unique in relation to generationTime and originclone()
optional string commandName = 4;
com.google.protobuf.ByteString
optional string commandName = 4;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
long
required int64 generationTime = 1;
required string origin = 2;
com.google.protobuf.ByteString
required string origin = 2;
int
unique in relation to generationTime and originboolean
optional string commandName = 4;
boolean
required int64 generationTime = 1;
boolean
required string origin = 2;
boolean
unique in relation to generationTime and originprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(Commanding.CommandId other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setCommandName
(String value) optional string commandName = 4;
setCommandNameBytes
(com.google.protobuf.ByteString value) optional string commandName = 4;
setGenerationTime
(long value) required int64 generationTime = 1;
required string origin = 2;
setOriginBytes
(com.google.protobuf.ByteString value) required string origin = 2;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSequenceNumber
(int value) unique in relation to generationTime and originsetUnknownFields
(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, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, 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
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Commanding.CommandId.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<Commanding.CommandId.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<Commanding.CommandId.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<Commanding.CommandId.Builder>
-
setField
public Commanding.CommandId.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<Commanding.CommandId.Builder>
-
clearField
public Commanding.CommandId.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<Commanding.CommandId.Builder>
-
clearOneof
public Commanding.CommandId.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<Commanding.CommandId.Builder>
-
setRepeatedField
public Commanding.CommandId.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<Commanding.CommandId.Builder>
-
addRepeatedField
public Commanding.CommandId.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<Commanding.CommandId.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Commanding.CommandId.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Commanding.CommandId.Builder>
-
mergeFrom
public Commanding.CommandId.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<Commanding.CommandId.Builder>
- Throws:
IOException
-
hasGenerationTime
public boolean hasGenerationTime()required int64 generationTime = 1;
- Specified by:
hasGenerationTime
in interfaceCommanding.CommandIdOrBuilder
- Returns:
- Whether the generationTime field is set.
-
getGenerationTime
public long getGenerationTime()required int64 generationTime = 1;
- Specified by:
getGenerationTime
in interfaceCommanding.CommandIdOrBuilder
- Returns:
- The generationTime.
-
setGenerationTime
required int64 generationTime = 1;
- Parameters:
value
- The generationTime to set.- Returns:
- This builder for chaining.
-
clearGenerationTime
required int64 generationTime = 1;
- Returns:
- This builder for chaining.
-
hasOrigin
public boolean hasOrigin()required string origin = 2;
- Specified by:
hasOrigin
in interfaceCommanding.CommandIdOrBuilder
- Returns:
- Whether the origin field is set.
-
getOrigin
required string origin = 2;
- Specified by:
getOrigin
in interfaceCommanding.CommandIdOrBuilder
- Returns:
- The origin.
-
getOriginBytes
public com.google.protobuf.ByteString getOriginBytes()required string origin = 2;
- Specified by:
getOriginBytes
in interfaceCommanding.CommandIdOrBuilder
- Returns:
- The bytes for origin.
-
setOrigin
required string origin = 2;
- Parameters:
value
- The origin to set.- Returns:
- This builder for chaining.
-
clearOrigin
required string origin = 2;
- Returns:
- This builder for chaining.
-
setOriginBytes
required string origin = 2;
- Parameters:
value
- The bytes for origin to set.- Returns:
- This builder for chaining.
-
hasSequenceNumber
public boolean hasSequenceNumber()unique in relation to generationTime and origin
required int32 sequenceNumber = 3;
- Specified by:
hasSequenceNumber
in interfaceCommanding.CommandIdOrBuilder
- Returns:
- Whether the sequenceNumber field is set.
-
getSequenceNumber
public int getSequenceNumber()unique in relation to generationTime and origin
required int32 sequenceNumber = 3;
- Specified by:
getSequenceNumber
in interfaceCommanding.CommandIdOrBuilder
- Returns:
- The sequenceNumber.
-
setSequenceNumber
unique in relation to generationTime and origin
required int32 sequenceNumber = 3;
- Parameters:
value
- The sequenceNumber to set.- Returns:
- This builder for chaining.
-
clearSequenceNumber
unique in relation to generationTime and origin
required int32 sequenceNumber = 3;
- Returns:
- This builder for chaining.
-
hasCommandName
public boolean hasCommandName()optional string commandName = 4;
- Specified by:
hasCommandName
in interfaceCommanding.CommandIdOrBuilder
- Returns:
- Whether the commandName field is set.
-
getCommandName
optional string commandName = 4;
- Specified by:
getCommandName
in interfaceCommanding.CommandIdOrBuilder
- Returns:
- The commandName.
-
getCommandNameBytes
public com.google.protobuf.ByteString getCommandNameBytes()optional string commandName = 4;
- Specified by:
getCommandNameBytes
in interfaceCommanding.CommandIdOrBuilder
- Returns:
- The bytes for commandName.
-
setCommandName
optional string commandName = 4;
- Parameters:
value
- The commandName to set.- Returns:
- This builder for chaining.
-
clearCommandName
optional string commandName = 4;
- Returns:
- This builder for chaining.
-
setCommandNameBytes
optional string commandName = 4;
- Parameters:
value
- The bytes for commandName to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Commanding.CommandId.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Commanding.CommandId.Builder>
-
mergeUnknownFields
public final Commanding.CommandId.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Commanding.CommandId.Builder>
-