Class IngestConversationsRequest.GcsSource.Builder (2.44.0)

public static final class IngestConversationsRequest.GcsSource.Builder extends GeneratedMessageV3.Builder<IngestConversationsRequest.GcsSource.Builder> implements IngestConversationsRequest.GcsSourceOrBuilder

Configuration for Cloud Storage bucket sources.

Protobuf type google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public IngestConversationsRequest.GcsSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
IngestConversationsRequest.GcsSource.Builder
Overrides

build()

public IngestConversationsRequest.GcsSource build()
Returns
Type Description
IngestConversationsRequest.GcsSource

buildPartial()

public IngestConversationsRequest.GcsSource buildPartial()
Returns
Type Description
IngestConversationsRequest.GcsSource

clear()

public IngestConversationsRequest.GcsSource.Builder clear()
Returns
Type Description
IngestConversationsRequest.GcsSource.Builder
Overrides

clearBucketObjectType()

public IngestConversationsRequest.GcsSource.Builder clearBucketObjectType()

Optional. Specifies the type of the objects in bucket_uri.

.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.BucketObjectType bucket_object_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestConversationsRequest.GcsSource.Builder

This builder for chaining.

clearBucketUri()

public IngestConversationsRequest.GcsSource.Builder clearBucketUri()

Required. The Cloud Storage bucket containing source objects.

string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IngestConversationsRequest.GcsSource.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public IngestConversationsRequest.GcsSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
IngestConversationsRequest.GcsSource.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public IngestConversationsRequest.GcsSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
IngestConversationsRequest.GcsSource.Builder
Overrides

clone()

public IngestConversationsRequest.GcsSource.Builder clone()
Returns
Type Description
IngestConversationsRequest.GcsSource.Builder
Overrides

getBucketObjectType()

public IngestConversationsRequest.GcsSource.BucketObjectType getBucketObjectType()

Optional. Specifies the type of the objects in bucket_uri.

.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.BucketObjectType bucket_object_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestConversationsRequest.GcsSource.BucketObjectType

The bucketObjectType.

getBucketObjectTypeValue()

public int getBucketObjectTypeValue()

Optional. Specifies the type of the objects in bucket_uri.

.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.BucketObjectType bucket_object_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for bucketObjectType.

getBucketUri()

public String getBucketUri()

Required. The Cloud Storage bucket containing source objects.

string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The bucketUri.

getBucketUriBytes()

public ByteString getBucketUriBytes()

Required. The Cloud Storage bucket containing source objects.

string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for bucketUri.

getDefaultInstanceForType()

public IngestConversationsRequest.GcsSource getDefaultInstanceForType()
Returns
Type Description
IngestConversationsRequest.GcsSource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(IngestConversationsRequest.GcsSource other)

public IngestConversationsRequest.GcsSource.Builder mergeFrom(IngestConversationsRequest.GcsSource other)
Parameter
Name Description
other IngestConversationsRequest.GcsSource
Returns
Type Description
IngestConversationsRequest.GcsSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IngestConversationsRequest.GcsSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestConversationsRequest.GcsSource.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public IngestConversationsRequest.GcsSource.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
IngestConversationsRequest.GcsSource.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IngestConversationsRequest.GcsSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
IngestConversationsRequest.GcsSource.Builder
Overrides

setBucketObjectType(IngestConversationsRequest.GcsSource.BucketObjectType value)

public IngestConversationsRequest.GcsSource.Builder setBucketObjectType(IngestConversationsRequest.GcsSource.BucketObjectType value)

Optional. Specifies the type of the objects in bucket_uri.

.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.BucketObjectType bucket_object_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value IngestConversationsRequest.GcsSource.BucketObjectType

The bucketObjectType to set.

Returns
Type Description
IngestConversationsRequest.GcsSource.Builder

This builder for chaining.

setBucketObjectTypeValue(int value)

public IngestConversationsRequest.GcsSource.Builder setBucketObjectTypeValue(int value)

Optional. Specifies the type of the objects in bucket_uri.

.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.BucketObjectType bucket_object_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for bucketObjectType to set.

Returns
Type Description
IngestConversationsRequest.GcsSource.Builder

This builder for chaining.

setBucketUri(String value)

public IngestConversationsRequest.GcsSource.Builder setBucketUri(String value)

Required. The Cloud Storage bucket containing source objects.

string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The bucketUri to set.

Returns
Type Description
IngestConversationsRequest.GcsSource.Builder

This builder for chaining.

setBucketUriBytes(ByteString value)

public IngestConversationsRequest.GcsSource.Builder setBucketUriBytes(ByteString value)

Required. The Cloud Storage bucket containing source objects.

string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for bucketUri to set.

Returns
Type Description
IngestConversationsRequest.GcsSource.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public IngestConversationsRequest.GcsSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
IngestConversationsRequest.GcsSource.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public IngestConversationsRequest.GcsSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
IngestConversationsRequest.GcsSource.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final IngestConversationsRequest.GcsSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
IngestConversationsRequest.GcsSource.Builder
Overrides