Class GCSSpec.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<GCSSpec.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<GCSSpec.Builder>
io.temporal.api.cloud.sink.v1.GCSSpec.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, GCSSpecOrBuilder, Cloneable
Enclosing class:
GCSSpec

public static final class GCSSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GCSSpec.Builder> implements GCSSpecOrBuilder
Protobuf type temporal.api.cloud.sink.v1.GCSSpec
  • Method Summary

    Modifier and Type
    Method
    Description
    addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
     
     
     
     
    The name of the destination GCS bucket where Temporal will send data.
    clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
     
    The GCP project ID associated with the GCS bucket and service account.
    clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
     
    The region of the gcs bucket
    The customer service account ID that Temporal Cloud impersonates for writing records to the customer's GCS bucket.
     
    The name of the destination GCS bucket where Temporal will send data.
    com.google.protobuf.ByteString
    The name of the destination GCS bucket where Temporal will send data.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    The GCP project ID associated with the GCS bucket and service account.
    com.google.protobuf.ByteString
    The GCP project ID associated with the GCS bucket and service account.
    The region of the gcs bucket
    com.google.protobuf.ByteString
    The region of the gcs bucket
    The customer service account ID that Temporal Cloud impersonates for writing records to the customer's GCS bucket.
    com.google.protobuf.ByteString
    The customer service account ID that Temporal Cloud impersonates for writing records to the customer's GCS bucket.
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
     
    mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
     
    The name of the destination GCS bucket where Temporal will send data.
    setBucketNameBytes(com.google.protobuf.ByteString value)
    The name of the destination GCS bucket where Temporal will send data.
    setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
     
    The GCP project ID associated with the GCS bucket and service account.
    setGcpProjectIdBytes(com.google.protobuf.ByteString value)
    The GCP project ID associated with the GCS bucket and service account.
    The region of the gcs bucket
    setRegionBytes(com.google.protobuf.ByteString value)
    The region of the gcs bucket
    setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
     
    setSaId(String value)
    The customer service account ID that Temporal Cloud impersonates for writing records to the customer's GCS bucket.
    setSaIdBytes(com.google.protobuf.ByteString value)
    The customer service account ID that Temporal Cloud impersonates for writing records to the customer's GCS bucket.
    setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
     

    Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder

    getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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<GCSSpec.Builder>
    • clear

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

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

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

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

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

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

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

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

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

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

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

      public GCSSpec.Builder mergeFrom(GCSSpec other)
    • isInitialized

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

      public GCSSpec.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<GCSSpec.Builder>
      Throws:
      IOException
    • getSaId

      public String getSaId()
       The customer service account ID that Temporal Cloud impersonates for writing records to the customer's GCS bucket.
       
      string sa_id = 1;
      Specified by:
      getSaId in interface GCSSpecOrBuilder
      Returns:
      The saId.
    • getSaIdBytes

      public com.google.protobuf.ByteString getSaIdBytes()
       The customer service account ID that Temporal Cloud impersonates for writing records to the customer's GCS bucket.
       
      string sa_id = 1;
      Specified by:
      getSaIdBytes in interface GCSSpecOrBuilder
      Returns:
      The bytes for saId.
    • setSaId

      public GCSSpec.Builder setSaId(String value)
       The customer service account ID that Temporal Cloud impersonates for writing records to the customer's GCS bucket.
       
      string sa_id = 1;
      Parameters:
      value - The saId to set.
      Returns:
      This builder for chaining.
    • clearSaId

      public GCSSpec.Builder clearSaId()
       The customer service account ID that Temporal Cloud impersonates for writing records to the customer's GCS bucket.
       
      string sa_id = 1;
      Returns:
      This builder for chaining.
    • setSaIdBytes

      public GCSSpec.Builder setSaIdBytes(com.google.protobuf.ByteString value)
       The customer service account ID that Temporal Cloud impersonates for writing records to the customer's GCS bucket.
       
      string sa_id = 1;
      Parameters:
      value - The bytes for saId to set.
      Returns:
      This builder for chaining.
    • getBucketName

      public String getBucketName()
       The name of the destination GCS bucket where Temporal will send data.
       
      string bucket_name = 2;
      Specified by:
      getBucketName in interface GCSSpecOrBuilder
      Returns:
      The bucketName.
    • getBucketNameBytes

      public com.google.protobuf.ByteString getBucketNameBytes()
       The name of the destination GCS bucket where Temporal will send data.
       
      string bucket_name = 2;
      Specified by:
      getBucketNameBytes in interface GCSSpecOrBuilder
      Returns:
      The bytes for bucketName.
    • setBucketName

      public GCSSpec.Builder setBucketName(String value)
       The name of the destination GCS bucket where Temporal will send data.
       
      string bucket_name = 2;
      Parameters:
      value - The bucketName to set.
      Returns:
      This builder for chaining.
    • clearBucketName

      public GCSSpec.Builder clearBucketName()
       The name of the destination GCS bucket where Temporal will send data.
       
      string bucket_name = 2;
      Returns:
      This builder for chaining.
    • setBucketNameBytes

      public GCSSpec.Builder setBucketNameBytes(com.google.protobuf.ByteString value)
       The name of the destination GCS bucket where Temporal will send data.
       
      string bucket_name = 2;
      Parameters:
      value - The bytes for bucketName to set.
      Returns:
      This builder for chaining.
    • getGcpProjectId

      public String getGcpProjectId()
       The GCP project ID associated with the GCS bucket and service account.
       
      string gcp_project_id = 3;
      Specified by:
      getGcpProjectId in interface GCSSpecOrBuilder
      Returns:
      The gcpProjectId.
    • getGcpProjectIdBytes

      public com.google.protobuf.ByteString getGcpProjectIdBytes()
       The GCP project ID associated with the GCS bucket and service account.
       
      string gcp_project_id = 3;
      Specified by:
      getGcpProjectIdBytes in interface GCSSpecOrBuilder
      Returns:
      The bytes for gcpProjectId.
    • setGcpProjectId

      public GCSSpec.Builder setGcpProjectId(String value)
       The GCP project ID associated with the GCS bucket and service account.
       
      string gcp_project_id = 3;
      Parameters:
      value - The gcpProjectId to set.
      Returns:
      This builder for chaining.
    • clearGcpProjectId

      public GCSSpec.Builder clearGcpProjectId()
       The GCP project ID associated with the GCS bucket and service account.
       
      string gcp_project_id = 3;
      Returns:
      This builder for chaining.
    • setGcpProjectIdBytes

      public GCSSpec.Builder setGcpProjectIdBytes(com.google.protobuf.ByteString value)
       The GCP project ID associated with the GCS bucket and service account.
       
      string gcp_project_id = 3;
      Parameters:
      value - The bytes for gcpProjectId to set.
      Returns:
      This builder for chaining.
    • getRegion

      public String getRegion()
       The region of the gcs bucket
       
      string region = 4;
      Specified by:
      getRegion in interface GCSSpecOrBuilder
      Returns:
      The region.
    • getRegionBytes

      public com.google.protobuf.ByteString getRegionBytes()
       The region of the gcs bucket
       
      string region = 4;
      Specified by:
      getRegionBytes in interface GCSSpecOrBuilder
      Returns:
      The bytes for region.
    • setRegion

      public GCSSpec.Builder setRegion(String value)
       The region of the gcs bucket
       
      string region = 4;
      Parameters:
      value - The region to set.
      Returns:
      This builder for chaining.
    • clearRegion

      public GCSSpec.Builder clearRegion()
       The region of the gcs bucket
       
      string region = 4;
      Returns:
      This builder for chaining.
    • setRegionBytes

      public GCSSpec.Builder setRegionBytes(com.google.protobuf.ByteString value)
       The region of the gcs bucket
       
      string region = 4;
      Parameters:
      value - The bytes for region to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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