Class IngestConversationsRequest.GcsSource.Builder (2.36.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public IngestConversationsRequest.GcsSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
IngestConversationsRequest.GcsSource.Builder
Overrides

build()

public IngestConversationsRequest.GcsSource build()
Returns
TypeDescription
IngestConversationsRequest.GcsSource

buildPartial()

public IngestConversationsRequest.GcsSource buildPartial()
Returns
TypeDescription
IngestConversationsRequest.GcsSource

clear()

public IngestConversationsRequest.GcsSource.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
IngestConversationsRequest.GcsSource.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public IngestConversationsRequest.GcsSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
IngestConversationsRequest.GcsSource.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public IngestConversationsRequest.GcsSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
IngestConversationsRequest.GcsSource.Builder
Overrides

clone()

public IngestConversationsRequest.GcsSource.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for bucketUri.

getDefaultInstanceForType()

public IngestConversationsRequest.GcsSource getDefaultInstanceForType()
Returns
TypeDescription
IngestConversationsRequest.GcsSource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(IngestConversationsRequest.GcsSource other)

public IngestConversationsRequest.GcsSource.Builder mergeFrom(IngestConversationsRequest.GcsSource other)
Parameter
NameDescription
otherIngestConversationsRequest.GcsSource
Returns
TypeDescription
IngestConversationsRequest.GcsSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IngestConversationsRequest.GcsSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IngestConversationsRequest.GcsSource.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public IngestConversationsRequest.GcsSource.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
IngestConversationsRequest.GcsSource.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IngestConversationsRequest.GcsSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueIngestConversationsRequest.GcsSource.BucketObjectType

The bucketObjectType to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueString

The bucketUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for bucketUri to set.

Returns
TypeDescription
IngestConversationsRequest.GcsSource.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public IngestConversationsRequest.GcsSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
IngestConversationsRequest.GcsSource.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final IngestConversationsRequest.GcsSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
IngestConversationsRequest.GcsSource.Builder
Overrides