Class ImportIssueModelRequest.GcsSource.Builder (2.52.0)

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

Google Cloud Storage Object URI to get the issue model file from.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearObjectUri()

public ImportIssueModelRequest.GcsSource.Builder clearObjectUri()

Required. Format: gs://<bucket-name>/<object-name>

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

Returns
Type Description
ImportIssueModelRequest.GcsSource.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getObjectUri()

public String getObjectUri()

Required. Format: gs://<bucket-name>/<object-name>

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

Returns
Type Description
String

The objectUri.

getObjectUriBytes()

public ByteString getObjectUriBytes()

Required. Format: gs://<bucket-name>/<object-name>

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

Returns
Type Description
ByteString

The bytes for objectUri.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportIssueModelRequest.GcsSource other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setObjectUri(String value)

public ImportIssueModelRequest.GcsSource.Builder setObjectUri(String value)

Required. Format: gs://<bucket-name>/<object-name>

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

Parameter
Name Description
value String

The objectUri to set.

Returns
Type Description
ImportIssueModelRequest.GcsSource.Builder

This builder for chaining.

setObjectUriBytes(ByteString value)

public ImportIssueModelRequest.GcsSource.Builder setObjectUriBytes(ByteString value)

Required. Format: gs://<bucket-name>/<object-name>

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

Parameter
Name Description
value ByteString

The bytes for objectUri to set.

Returns
Type Description
ImportIssueModelRequest.GcsSource.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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