Class GCSSpec.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, GCSSpecOrBuilder, java.lang.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

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      GCSSpec.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)  
      GCSSpec build()  
      GCSSpec buildPartial()  
      GCSSpec.Builder clear()  
      GCSSpec.Builder clearBucketName()
      The name of the destination GCS bucket where Temporal will send data.
      GCSSpec.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)  
      GCSSpec.Builder clearGcpProjectId()
      The GCP project ID associated with the GCS bucket and service account.
      GCSSpec.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)  
      GCSSpec.Builder clearRegion()
      The region of the gcs bucket
      GCSSpec.Builder clearSaId()
      The customer service account ID that Temporal Cloud impersonates for writing records to the customer's GCS bucket.
      GCSSpec.Builder clone()  
      java.lang.String getBucketName()
      The name of the destination GCS bucket where Temporal will send data.
      com.google.protobuf.ByteString getBucketNameBytes()
      The name of the destination GCS bucket where Temporal will send data.
      GCSSpec getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      com.google.protobuf.Descriptors.Descriptor getDescriptorForType()  
      java.lang.String getGcpProjectId()
      The GCP project ID associated with the GCS bucket and service account.
      com.google.protobuf.ByteString getGcpProjectIdBytes()
      The GCP project ID associated with the GCS bucket and service account.
      java.lang.String getRegion()
      The region of the gcs bucket
      com.google.protobuf.ByteString getRegionBytes()
      The region of the gcs bucket
      java.lang.String getSaId()
      The customer service account ID that Temporal Cloud impersonates for writing records to the customer's GCS bucket.
      com.google.protobuf.ByteString getSaIdBytes()
      The customer service account ID that Temporal Cloud impersonates for writing records to the customer's GCS bucket.
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()  
      boolean isInitialized()  
      GCSSpec.Builder mergeFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      GCSSpec.Builder mergeFrom​(com.google.protobuf.Message other)  
      GCSSpec.Builder mergeFrom​(GCSSpec other)  
      GCSSpec.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)  
      GCSSpec.Builder setBucketName​(java.lang.String value)
      The name of the destination GCS bucket where Temporal will send data.
      GCSSpec.Builder setBucketNameBytes​(com.google.protobuf.ByteString value)
      The name of the destination GCS bucket where Temporal will send data.
      GCSSpec.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)  
      GCSSpec.Builder setGcpProjectId​(java.lang.String value)
      The GCP project ID associated with the GCS bucket and service account.
      GCSSpec.Builder setGcpProjectIdBytes​(com.google.protobuf.ByteString value)
      The GCP project ID associated with the GCS bucket and service account.
      GCSSpec.Builder setRegion​(java.lang.String value)
      The region of the gcs bucket
      GCSSpec.Builder setRegionBytes​(com.google.protobuf.ByteString value)
      The region of the gcs bucket
      GCSSpec.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)  
      GCSSpec.Builder setSaId​(java.lang.String value)
      The customer service account ID that Temporal Cloud impersonates for writing records to the customer's GCS bucket.
      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.
      GCSSpec.Builder 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 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<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,
                                        java.lang.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,
                                                java.lang.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,
                                                java.lang.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>
      • 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 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<GCSSpec.Builder>
        Throws:
        java.io.IOException
      • getSaId

        public java.lang.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​(java.lang.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 java.lang.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​(java.lang.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 java.lang.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​(java.lang.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 java.lang.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​(java.lang.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>