Class ExportSinkSpec.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ExportSinkSpec.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<ExportSinkSpec.Builder>
io.temporal.api.cloud.namespace.v1.ExportSinkSpec.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ExportSinkSpecOrBuilder, 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 Details

    • 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, 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, 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, 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>
    • mergeFrom

      public ExportSinkSpec.Builder mergeFrom(ExportSinkSpec other)
    • 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 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:
      IOException
    • getName

      public 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(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;
    • getS3OrBuilder

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

      public boolean hasGcs()
       This is a feature under development. We will allow GCS sink support for GCP Namespaces.
       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()
       This is a feature under development. We will allow GCS sink support for GCP Namespaces.
       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)
       This is a feature under development. We will allow GCS sink support for GCP Namespaces.
       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)
       This is a feature under development. We will allow GCS sink support for GCP Namespaces.
       The GCS configuration details when destination_type is GCS.
       
      .temporal.api.cloud.sink.v1.GCSSpec gcs = 4;
    • mergeGcs

      public ExportSinkSpec.Builder mergeGcs(GCSSpec value)
       This is a feature under development. We will allow GCS sink support for GCP Namespaces.
       The GCS configuration details when destination_type is GCS.
       
      .temporal.api.cloud.sink.v1.GCSSpec gcs = 4;
    • clearGcs

      public ExportSinkSpec.Builder clearGcs()
       This is a feature under development. We will allow GCS sink support for GCP Namespaces.
       The GCS configuration details when destination_type is GCS.
       
      .temporal.api.cloud.sink.v1.GCSSpec gcs = 4;
    • getGcsBuilder

      public GCSSpec.Builder getGcsBuilder()
       This is a feature under development. We will allow GCS sink support for GCP Namespaces.
       The GCS configuration details when destination_type is GCS.
       
      .temporal.api.cloud.sink.v1.GCSSpec gcs = 4;
    • getGcsOrBuilder

      public GCSSpecOrBuilder getGcsOrBuilder()
       This is a feature under development. We will allow GCS sink support for GCP Namespaces.
       The GCS configuration details when destination_type is GCS.
       
      .temporal.api.cloud.sink.v1.GCSSpec gcs = 4;
      Specified by:
      getGcsOrBuilder in interface ExportSinkSpecOrBuilder
    • 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>