Class ValueOuterClass.RecordField.Builder

    • 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<ValueOuterClass.RecordField.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<ValueOuterClass.RecordField.Builder>
      • getDefaultInstanceForType

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

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

        public ValueOuterClass.RecordField buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

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

        public ValueOuterClass.RecordField.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                    java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.RecordField.Builder>
      • isInitialized

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

        public ValueOuterClass.RecordField.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws java.io.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<ValueOuterClass.RecordField.Builder>
        Throws:
        java.io.IOException
      • getLabel

        public java.lang.String getLabel()
         When reading a transaction stream, it's omitted if verbose streaming is not enabled.
         When submitting a commmand, it's optional:
           - if all keys within a single record are present, the order in which fields appear does not matter. however, each key must appear exactly once.
           - if any of the keys within a single record are omitted, the order of fields MUST match the order of declaration in the Daml template.
         Must be a valid NameString
         
        string label = 1 [json_name = "label"];
        Specified by:
        getLabel in interface ValueOuterClass.RecordFieldOrBuilder
        Returns:
        The label.
      • getLabelBytes

        public com.google.protobuf.ByteString getLabelBytes()
         When reading a transaction stream, it's omitted if verbose streaming is not enabled.
         When submitting a commmand, it's optional:
           - if all keys within a single record are present, the order in which fields appear does not matter. however, each key must appear exactly once.
           - if any of the keys within a single record are omitted, the order of fields MUST match the order of declaration in the Daml template.
         Must be a valid NameString
         
        string label = 1 [json_name = "label"];
        Specified by:
        getLabelBytes in interface ValueOuterClass.RecordFieldOrBuilder
        Returns:
        The bytes for label.
      • setLabel

        public ValueOuterClass.RecordField.Builder setLabel​(java.lang.String value)
         When reading a transaction stream, it's omitted if verbose streaming is not enabled.
         When submitting a commmand, it's optional:
           - if all keys within a single record are present, the order in which fields appear does not matter. however, each key must appear exactly once.
           - if any of the keys within a single record are omitted, the order of fields MUST match the order of declaration in the Daml template.
         Must be a valid NameString
         
        string label = 1 [json_name = "label"];
        Parameters:
        value - The label to set.
        Returns:
        This builder for chaining.
      • clearLabel

        public ValueOuterClass.RecordField.Builder clearLabel()
         When reading a transaction stream, it's omitted if verbose streaming is not enabled.
         When submitting a commmand, it's optional:
           - if all keys within a single record are present, the order in which fields appear does not matter. however, each key must appear exactly once.
           - if any of the keys within a single record are omitted, the order of fields MUST match the order of declaration in the Daml template.
         Must be a valid NameString
         
        string label = 1 [json_name = "label"];
        Returns:
        This builder for chaining.
      • setLabelBytes

        public ValueOuterClass.RecordField.Builder setLabelBytes​(com.google.protobuf.ByteString value)
         When reading a transaction stream, it's omitted if verbose streaming is not enabled.
         When submitting a commmand, it's optional:
           - if all keys within a single record are present, the order in which fields appear does not matter. however, each key must appear exactly once.
           - if any of the keys within a single record are omitted, the order of fields MUST match the order of declaration in the Daml template.
         Must be a valid NameString
         
        string label = 1 [json_name = "label"];
        Parameters:
        value - The bytes for label to set.
        Returns:
        This builder for chaining.
      • hasValue

        public boolean hasValue()
         A nested value of a record.
         Required
         
        .com.daml.ledger.api.v1.Value value = 2 [json_name = "value"];
        Specified by:
        hasValue in interface ValueOuterClass.RecordFieldOrBuilder
        Returns:
        Whether the value field is set.
      • getValueBuilder

        public ValueOuterClass.Value.Builder getValueBuilder()
         A nested value of a record.
         Required
         
        .com.daml.ledger.api.v1.Value value = 2 [json_name = "value"];
      • mergeUnknownFields

        public final ValueOuterClass.RecordField.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<ValueOuterClass.RecordField.Builder>