Package org.yamcs.protobuf
Class TcoConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<TcoConfig.Builder>
org.yamcs.protobuf.TcoConfig.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,TcoConfigOrBuilder
- Enclosing class:
- TcoConfig
public static final class TcoConfig.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<TcoConfig.Builder>
implements TcoConfigOrBuilder
Protobuf type
yamcs.protobuf.tco.TcoConfig
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
optional double accuracy = 1;
optional double defaultTof = 4;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) optional double onboardDelay = 3;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional double validity = 2;
clone()
double
optional double accuracy = 1;
double
optional double defaultTof = 4;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
double
optional double onboardDelay = 3;
double
optional double validity = 2;
boolean
optional double accuracy = 1;
boolean
optional double defaultTof = 4;
boolean
optional double onboardDelay = 3;
boolean
optional double validity = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) final TcoConfig.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setAccuracy
(double value) optional double accuracy = 1;
setDefaultTof
(double value) optional double defaultTof = 4;
setOnboardDelay
(double value) optional double onboardDelay = 3;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final TcoConfig.Builder
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setValidity
(double value) optional double validity = 2;
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<TcoConfig.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<TcoConfig.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<TcoConfig.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<TcoConfig.Builder>
-
setField
public TcoConfig.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<TcoConfig.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TcoConfig.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<TcoConfig.Builder>
-
setRepeatedField
public TcoConfig.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<TcoConfig.Builder>
-
addRepeatedField
public TcoConfig.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<TcoConfig.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TcoConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<TcoConfig.Builder>
-
mergeFrom
public TcoConfig.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<TcoConfig.Builder>
- Throws:
IOException
-
hasAccuracy
public boolean hasAccuracy()optional double accuracy = 1;
- Specified by:
hasAccuracy
in interfaceTcoConfigOrBuilder
- Returns:
- Whether the accuracy field is set.
-
getAccuracy
public double getAccuracy()optional double accuracy = 1;
- Specified by:
getAccuracy
in interfaceTcoConfigOrBuilder
- Returns:
- The accuracy.
-
setAccuracy
optional double accuracy = 1;
- Parameters:
value
- The accuracy to set.- Returns:
- This builder for chaining.
-
clearAccuracy
optional double accuracy = 1;
- Returns:
- This builder for chaining.
-
hasValidity
public boolean hasValidity()optional double validity = 2;
- Specified by:
hasValidity
in interfaceTcoConfigOrBuilder
- Returns:
- Whether the validity field is set.
-
getValidity
public double getValidity()optional double validity = 2;
- Specified by:
getValidity
in interfaceTcoConfigOrBuilder
- Returns:
- The validity.
-
setValidity
optional double validity = 2;
- Parameters:
value
- The validity to set.- Returns:
- This builder for chaining.
-
clearValidity
optional double validity = 2;
- Returns:
- This builder for chaining.
-
hasOnboardDelay
public boolean hasOnboardDelay()optional double onboardDelay = 3;
- Specified by:
hasOnboardDelay
in interfaceTcoConfigOrBuilder
- Returns:
- Whether the onboardDelay field is set.
-
getOnboardDelay
public double getOnboardDelay()optional double onboardDelay = 3;
- Specified by:
getOnboardDelay
in interfaceTcoConfigOrBuilder
- Returns:
- The onboardDelay.
-
setOnboardDelay
optional double onboardDelay = 3;
- Parameters:
value
- The onboardDelay to set.- Returns:
- This builder for chaining.
-
clearOnboardDelay
optional double onboardDelay = 3;
- Returns:
- This builder for chaining.
-
hasDefaultTof
public boolean hasDefaultTof()optional double defaultTof = 4;
- Specified by:
hasDefaultTof
in interfaceTcoConfigOrBuilder
- Returns:
- Whether the defaultTof field is set.
-
getDefaultTof
public double getDefaultTof()optional double defaultTof = 4;
- Specified by:
getDefaultTof
in interfaceTcoConfigOrBuilder
- Returns:
- The defaultTof.
-
setDefaultTof
optional double defaultTof = 4;
- Parameters:
value
- The defaultTof to set.- Returns:
- This builder for chaining.
-
clearDefaultTof
optional double defaultTof = 4;
- Returns:
- This builder for chaining.
-
setUnknownFields
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TcoConfig.Builder>
-
mergeUnknownFields
public final TcoConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TcoConfig.Builder>
-