Class Yamcs.Value.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Yamcs.ValueOrBuilder
    Enclosing class:
    Yamcs.Value

    public static final class Yamcs.Value.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Yamcs.Value.Builder>
    implements Yamcs.ValueOrBuilder
     Union type for storing a value
     
    Protobuf type yamcs.protobuf.Value
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Yamcs.Value.Builder>
      • clear

        public Yamcs.Value.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Yamcs.Value.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Yamcs.Value.Builder>
      • getDefaultInstanceForType

        public Yamcs.Value getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Yamcs.Value build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Yamcs.Value buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Yamcs.Value.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Yamcs.Value.Builder>
      • setField

        public Yamcs.Value.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                            Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Yamcs.Value.Builder>
      • clearField

        public Yamcs.Value.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Yamcs.Value.Builder>
      • clearOneof

        public Yamcs.Value.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Yamcs.Value.Builder>
      • setRepeatedField

        public Yamcs.Value.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                    int index,
                                                    Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Yamcs.Value.Builder>
      • addRepeatedField

        public Yamcs.Value.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                    Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Yamcs.Value.Builder>
      • mergeFrom

        public Yamcs.Value.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Yamcs.Value.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Yamcs.Value.Builder>
      • mergeFrom

        public Yamcs.Value.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Yamcs.Value.Builder>
        Throws:
        IOException
      • hasType

        public boolean hasType()
        required .yamcs.protobuf.Value.Type type = 1;
        Specified by:
        hasType in interface Yamcs.ValueOrBuilder
      • clearType

        public Yamcs.Value.Builder clearType()
        required .yamcs.protobuf.Value.Type type = 1;
      • setFloatValue

        public Yamcs.Value.Builder setFloatValue​(float value)
        optional float floatValue = 2;
      • clearFloatValue

        public Yamcs.Value.Builder clearFloatValue()
        optional float floatValue = 2;
      • setDoubleValue

        public Yamcs.Value.Builder setDoubleValue​(double value)
        optional double doubleValue = 3;
      • clearDoubleValue

        public Yamcs.Value.Builder clearDoubleValue()
        optional double doubleValue = 3;
      • setSint32Value

        public Yamcs.Value.Builder setSint32Value​(int value)
        optional sint32 sint32Value = 4;
      • clearSint32Value

        public Yamcs.Value.Builder clearSint32Value()
        optional sint32 sint32Value = 4;
      • setUint32Value

        public Yamcs.Value.Builder setUint32Value​(int value)
        optional uint32 uint32Value = 5;
      • clearUint32Value

        public Yamcs.Value.Builder clearUint32Value()
        optional uint32 uint32Value = 5;
      • getBinaryValue

        public com.google.protobuf.ByteString getBinaryValue()
        optional bytes binaryValue = 6;
        Specified by:
        getBinaryValue in interface Yamcs.ValueOrBuilder
      • setBinaryValue

        public Yamcs.Value.Builder setBinaryValue​(com.google.protobuf.ByteString value)
        optional bytes binaryValue = 6;
      • clearBinaryValue

        public Yamcs.Value.Builder clearBinaryValue()
        optional bytes binaryValue = 6;
      • clearStringValue

        public Yamcs.Value.Builder clearStringValue()
        optional string stringValue = 7;
      • setStringValueBytes

        public Yamcs.Value.Builder setStringValueBytes​(com.google.protobuf.ByteString value)
        optional string stringValue = 7;
      • setTimestampValue

        public Yamcs.Value.Builder setTimestampValue​(long value)
        optional int64 timestampValue = 8;
      • clearTimestampValue

        public Yamcs.Value.Builder clearTimestampValue()
        optional int64 timestampValue = 8;
      • setUint64Value

        public Yamcs.Value.Builder setUint64Value​(long value)
        optional uint64 uint64Value = 9;
      • clearUint64Value

        public Yamcs.Value.Builder clearUint64Value()
        optional uint64 uint64Value = 9;
      • setSint64Value

        public Yamcs.Value.Builder setSint64Value​(long value)
        optional sint64 sint64Value = 10;
      • clearSint64Value

        public Yamcs.Value.Builder clearSint64Value()
        optional sint64 sint64Value = 10;
      • setBooleanValue

        public Yamcs.Value.Builder setBooleanValue​(boolean value)
        optional bool booleanValue = 11;
      • clearBooleanValue

        public Yamcs.Value.Builder clearBooleanValue()
        optional bool booleanValue = 11;
      • hasAggregateValue

        public boolean hasAggregateValue()
        optional .yamcs.protobuf.AggregateValue aggregateValue = 12;
        Specified by:
        hasAggregateValue in interface Yamcs.ValueOrBuilder
      • clearAggregateValue

        public Yamcs.Value.Builder clearAggregateValue()
        optional .yamcs.protobuf.AggregateValue aggregateValue = 12;
      • getAggregateValueBuilder

        public Yamcs.AggregateValue.Builder getAggregateValueBuilder()
        optional .yamcs.protobuf.AggregateValue aggregateValue = 12;
      • clearArrayValue

        public Yamcs.Value.Builder clearArrayValue()
        repeated .yamcs.protobuf.Value arrayValue = 13;
      • removeArrayValue

        public Yamcs.Value.Builder removeArrayValue​(int index)
        repeated .yamcs.protobuf.Value arrayValue = 13;
      • getArrayValueBuilder

        public Yamcs.Value.Builder getArrayValueBuilder​(int index)
        repeated .yamcs.protobuf.Value arrayValue = 13;
      • addArrayValueBuilder

        public Yamcs.Value.Builder addArrayValueBuilder()
        repeated .yamcs.protobuf.Value arrayValue = 13;
      • addArrayValueBuilder

        public Yamcs.Value.Builder addArrayValueBuilder​(int index)
        repeated .yamcs.protobuf.Value arrayValue = 13;
      • getArrayValueBuilderList

        public List<Yamcs.Value.Builder> getArrayValueBuilderList()
        repeated .yamcs.protobuf.Value arrayValue = 13;
      • setUnknownFields

        public final Yamcs.Value.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Yamcs.Value.Builder>
      • mergeUnknownFields

        public final Yamcs.Value.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Yamcs.Value.Builder>