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 TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()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 bucketThe customer service account ID that Temporal Cloud impersonates for writing records to the customer's GCS bucket.clone()The name of the destination GCS bucket where Temporal will send data.com.google.protobuf.ByteStringThe name of the destination GCS bucket where Temporal will send data.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe GCP project ID associated with the GCS bucket and service account.com.google.protobuf.ByteStringThe GCP project ID associated with the GCS bucket and service account.The region of the gcs bucketcom.google.protobuf.ByteStringThe region of the gcs bucketgetSaId()The customer service account ID that Temporal Cloud impersonates for writing records to the customer's GCS bucket.com.google.protobuf.ByteStringThe customer service account ID that Temporal Cloud impersonates for writing records to the customer's GCS bucket.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) final GCSSpec.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setBucketName(String value) 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.setGcpProjectId(String 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 bucketsetRegionBytes(com.google.protobuf.ByteString value) The region of the gcs bucketsetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object 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.final GCSSpec.BuildersetUnknownFields(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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<GCSSpec.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<GCSSpec.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<GCSSpec.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<GCSSpec.Builder>
-
setField
public GCSSpec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GCSSpec.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GCSSpec.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GCSSpec.Builder>
-
setRepeatedField
public GCSSpec.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GCSSpec.Builder>
-
addRepeatedField
public GCSSpec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GCSSpec.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GCSSpec.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GCSSpec.Builder>- Throws:
IOException
-
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:
getSaIdin interfaceGCSSpecOrBuilder- 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:
getSaIdBytesin interfaceGCSSpecOrBuilder- Returns:
- The bytes for saId.
-
setSaId
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
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
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
The name of the destination GCS bucket where Temporal will send data.
string bucket_name = 2;- Specified by:
getBucketNamein interfaceGCSSpecOrBuilder- 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:
getBucketNameBytesin interfaceGCSSpecOrBuilder- Returns:
- The bytes for bucketName.
-
setBucketName
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
The name of the destination GCS bucket where Temporal will send data.
string bucket_name = 2;- Returns:
- This builder for chaining.
-
setBucketNameBytes
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
The GCP project ID associated with the GCS bucket and service account.
string gcp_project_id = 3;- Specified by:
getGcpProjectIdin interfaceGCSSpecOrBuilder- 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:
getGcpProjectIdBytesin interfaceGCSSpecOrBuilder- Returns:
- The bytes for gcpProjectId.
-
setGcpProjectId
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
The GCP project ID associated with the GCS bucket and service account.
string gcp_project_id = 3;- Returns:
- This builder for chaining.
-
setGcpProjectIdBytes
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
The region of the gcs bucket
string region = 4;- Specified by:
getRegionin interfaceGCSSpecOrBuilder- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()The region of the gcs bucket
string region = 4;- Specified by:
getRegionBytesin interfaceGCSSpecOrBuilder- Returns:
- The bytes for region.
-
setRegion
The region of the gcs bucket
string region = 4;- Parameters:
value- The region to set.- Returns:
- This builder for chaining.
-
clearRegion
The region of the gcs bucket
string region = 4;- Returns:
- This builder for chaining.
-
setRegionBytes
The region of the gcs bucket
string region = 4;- Parameters:
value- The bytes for region to set.- Returns:
- This builder for chaining.
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GCSSpec.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GCSSpec.Builder>
-