Class Payloads.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, PayloadsOrBuilder, java.lang.Cloneable
    Enclosing class:
    Payloads

    public static final class Payloads.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Payloads.Builder>
    implements PayloadsOrBuilder
     See `Payload`
     
    Protobuf type temporal.api.common.v1.Payloads
    • 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<Payloads.Builder>
      • clear

        public Payloads.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<Payloads.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<Payloads.Builder>
      • getDefaultInstanceForType

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

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

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

        public Payloads.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<Payloads.Builder>
      • setField

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

        public Payloads.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<Payloads.Builder>
      • clearOneof

        public Payloads.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<Payloads.Builder>
      • setRepeatedField

        public Payloads.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<Payloads.Builder>
      • addRepeatedField

        public Payloads.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<Payloads.Builder>
      • mergeFrom

        public Payloads.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<Payloads.Builder>
      • isInitialized

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

        public Payloads.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<Payloads.Builder>
        Throws:
        java.io.IOException
      • getPayloadsCount

        public int getPayloadsCount()
        repeated .temporal.api.common.v1.Payload payloads = 1;
        Specified by:
        getPayloadsCount in interface PayloadsOrBuilder
      • setPayloads

        public Payloads.Builder setPayloads​(int index,
                                            Payload value)
        repeated .temporal.api.common.v1.Payload payloads = 1;
      • setPayloads

        public Payloads.Builder setPayloads​(int index,
                                            Payload.Builder builderForValue)
        repeated .temporal.api.common.v1.Payload payloads = 1;
      • addPayloads

        public Payloads.Builder addPayloads​(Payload value)
        repeated .temporal.api.common.v1.Payload payloads = 1;
      • addPayloads

        public Payloads.Builder addPayloads​(int index,
                                            Payload value)
        repeated .temporal.api.common.v1.Payload payloads = 1;
      • addPayloads

        public Payloads.Builder addPayloads​(int index,
                                            Payload.Builder builderForValue)
        repeated .temporal.api.common.v1.Payload payloads = 1;
      • addAllPayloads

        public Payloads.Builder addAllPayloads​(java.lang.Iterable<? extends Payload> values)
        repeated .temporal.api.common.v1.Payload payloads = 1;
      • clearPayloads

        public Payloads.Builder clearPayloads()
        repeated .temporal.api.common.v1.Payload payloads = 1;
      • removePayloads

        public Payloads.Builder removePayloads​(int index)
        repeated .temporal.api.common.v1.Payload payloads = 1;
      • getPayloadsBuilder

        public Payload.Builder getPayloadsBuilder​(int index)
        repeated .temporal.api.common.v1.Payload payloads = 1;
      • addPayloadsBuilder

        public Payload.Builder addPayloadsBuilder()
        repeated .temporal.api.common.v1.Payload payloads = 1;
      • addPayloadsBuilder

        public Payload.Builder addPayloadsBuilder​(int index)
        repeated .temporal.api.common.v1.Payload payloads = 1;
      • getPayloadsBuilderList

        public java.util.List<Payload.Builder> getPayloadsBuilderList()
        repeated .temporal.api.common.v1.Payload payloads = 1;
      • setUnknownFields

        public final Payloads.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<Payloads.Builder>
      • mergeUnknownFields

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