Class ExportSinkSpec.Builder

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

    public static final class ExportSinkSpec.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<ExportSinkSpec.Builder>
    implements ExportSinkSpecOrBuilder
    Protobuf type temporal.api.cloud.namespace.v1.ExportSinkSpec
    • 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<ExportSinkSpec.Builder>
      • clear

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

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

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

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

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

        public ExportSinkSpec.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<ExportSinkSpec.Builder>
      • clearField

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

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

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

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

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

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

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

        public java.lang.String getName()
         The unique name of the export sink, it can't be changed once set. 
         
        string name = 1;
        Specified by:
        getName in interface ExportSinkSpecOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         The unique name of the export sink, it can't be changed once set. 
         
        string name = 1;
        Specified by:
        getNameBytes in interface ExportSinkSpecOrBuilder
        Returns:
        The bytes for name.
      • setName

        public ExportSinkSpec.Builder setName​(java.lang.String value)
         The unique name of the export sink, it can't be changed once set. 
         
        string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public ExportSinkSpec.Builder clearName()
         The unique name of the export sink, it can't be changed once set. 
         
        string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public ExportSinkSpec.Builder setNameBytes​(com.google.protobuf.ByteString value)
         The unique name of the export sink, it can't be changed once set. 
         
        string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getEnabled

        public boolean getEnabled()
         A flag indicating whether the export sink is enabled or not.
         
        bool enabled = 2;
        Specified by:
        getEnabled in interface ExportSinkSpecOrBuilder
        Returns:
        The enabled.
      • setEnabled

        public ExportSinkSpec.Builder setEnabled​(boolean value)
         A flag indicating whether the export sink is enabled or not.
         
        bool enabled = 2;
        Parameters:
        value - The enabled to set.
        Returns:
        This builder for chaining.
      • clearEnabled

        public ExportSinkSpec.Builder clearEnabled()
         A flag indicating whether the export sink is enabled or not.
         
        bool enabled = 2;
        Returns:
        This builder for chaining.
      • hasS3

        public boolean hasS3()
         The S3 configuration details when destination_type is S3.
         
        .temporal.api.cloud.sink.v1.S3Spec s3 = 3;
        Specified by:
        hasS3 in interface ExportSinkSpecOrBuilder
        Returns:
        Whether the s3 field is set.
      • getS3

        public S3Spec getS3()
         The S3 configuration details when destination_type is S3.
         
        .temporal.api.cloud.sink.v1.S3Spec s3 = 3;
        Specified by:
        getS3 in interface ExportSinkSpecOrBuilder
        Returns:
        The s3.
      • setS3

        public ExportSinkSpec.Builder setS3​(S3Spec value)
         The S3 configuration details when destination_type is S3.
         
        .temporal.api.cloud.sink.v1.S3Spec s3 = 3;
      • setS3

        public ExportSinkSpec.Builder setS3​(S3Spec.Builder builderForValue)
         The S3 configuration details when destination_type is S3.
         
        .temporal.api.cloud.sink.v1.S3Spec s3 = 3;
      • mergeS3

        public ExportSinkSpec.Builder mergeS3​(S3Spec value)
         The S3 configuration details when destination_type is S3.
         
        .temporal.api.cloud.sink.v1.S3Spec s3 = 3;
      • clearS3

        public ExportSinkSpec.Builder clearS3()
         The S3 configuration details when destination_type is S3.
         
        .temporal.api.cloud.sink.v1.S3Spec s3 = 3;
      • getS3Builder

        public S3Spec.Builder getS3Builder()
         The S3 configuration details when destination_type is S3.
         
        .temporal.api.cloud.sink.v1.S3Spec s3 = 3;
      • hasGcs

        public boolean hasGcs()
         The GCS configuration details when destination_type is GCS. 
         
        .temporal.api.cloud.sink.v1.GCSSpec gcs = 4;
        Specified by:
        hasGcs in interface ExportSinkSpecOrBuilder
        Returns:
        Whether the gcs field is set.
      • getGcs

        public GCSSpec getGcs()
         The GCS configuration details when destination_type is GCS. 
         
        .temporal.api.cloud.sink.v1.GCSSpec gcs = 4;
        Specified by:
        getGcs in interface ExportSinkSpecOrBuilder
        Returns:
        The gcs.
      • setGcs

        public ExportSinkSpec.Builder setGcs​(GCSSpec value)
         The GCS configuration details when destination_type is GCS. 
         
        .temporal.api.cloud.sink.v1.GCSSpec gcs = 4;
      • setGcs

        public ExportSinkSpec.Builder setGcs​(GCSSpec.Builder builderForValue)
         The GCS configuration details when destination_type is GCS. 
         
        .temporal.api.cloud.sink.v1.GCSSpec gcs = 4;
      • mergeGcs

        public ExportSinkSpec.Builder mergeGcs​(GCSSpec value)
         The GCS configuration details when destination_type is GCS. 
         
        .temporal.api.cloud.sink.v1.GCSSpec gcs = 4;
      • clearGcs

        public ExportSinkSpec.Builder clearGcs()
         The GCS configuration details when destination_type is GCS. 
         
        .temporal.api.cloud.sink.v1.GCSSpec gcs = 4;
      • getGcsBuilder

        public GCSSpec.Builder getGcsBuilder()
         The GCS configuration details when destination_type is GCS. 
         
        .temporal.api.cloud.sink.v1.GCSSpec gcs = 4;
      • setUnknownFields

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

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