Class UploadConversationMetadata.Builder (2.30.0)

public static final class UploadConversationMetadata.Builder extends GeneratedMessageV3.Builder<UploadConversationMetadata.Builder> implements UploadConversationMetadataOrBuilder

The metadata for an UploadConversation operation.

Protobuf type google.cloud.contactcenterinsights.v1.UploadConversationMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UploadConversationMetadata build()
Returns
TypeDescription
UploadConversationMetadata

buildPartial()

public UploadConversationMetadata buildPartial()
Returns
TypeDescription
UploadConversationMetadata

clear()

public UploadConversationMetadata.Builder clear()
Returns
TypeDescription
UploadConversationMetadata.Builder
Overrides

clearAnalysisOperation()

public UploadConversationMetadata.Builder clearAnalysisOperation()

Output only. The operation name for a successfully created analysis operation, if any.

string analysis_operation = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
UploadConversationMetadata.Builder

This builder for chaining.

clearAppliedRedactionConfig()

public UploadConversationMetadata.Builder clearAppliedRedactionConfig()

Output only. The redaction config applied to the uploaded conversation.

.google.cloud.contactcenterinsights.v1.RedactionConfig applied_redaction_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
UploadConversationMetadata.Builder

clearCreateTime()

public UploadConversationMetadata.Builder clearCreateTime()

Output only. The time the operation was created.

.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
UploadConversationMetadata.Builder

clearEndTime()

public UploadConversationMetadata.Builder clearEndTime()

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
UploadConversationMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRequest()

public UploadConversationMetadata.Builder clearRequest()

Output only. The original request.

.google.cloud.contactcenterinsights.v1.UploadConversationRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
UploadConversationMetadata.Builder

clone()

public UploadConversationMetadata.Builder clone()
Returns
TypeDescription
UploadConversationMetadata.Builder
Overrides

getAnalysisOperation()

public String getAnalysisOperation()

Output only. The operation name for a successfully created analysis operation, if any.

string analysis_operation = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The analysisOperation.

getAnalysisOperationBytes()

public ByteString getAnalysisOperationBytes()

Output only. The operation name for a successfully created analysis operation, if any.

string analysis_operation = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for analysisOperation.

getAppliedRedactionConfig()

public RedactionConfig getAppliedRedactionConfig()

Output only. The redaction config applied to the uploaded conversation.

.google.cloud.contactcenterinsights.v1.RedactionConfig applied_redaction_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
RedactionConfig

The appliedRedactionConfig.

getAppliedRedactionConfigBuilder()

public RedactionConfig.Builder getAppliedRedactionConfigBuilder()

Output only. The redaction config applied to the uploaded conversation.

.google.cloud.contactcenterinsights.v1.RedactionConfig applied_redaction_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
RedactionConfig.Builder

getAppliedRedactionConfigOrBuilder()

public RedactionConfigOrBuilder getAppliedRedactionConfigOrBuilder()

Output only. The redaction config applied to the uploaded conversation.

.google.cloud.contactcenterinsights.v1.RedactionConfig applied_redaction_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
RedactionConfigOrBuilder

getCreateTime()

public Timestamp getCreateTime()

Output only. The time the operation was created.

.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The time the operation was created.

.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time the operation was created.

.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public UploadConversationMetadata getDefaultInstanceForType()
Returns
TypeDescription
UploadConversationMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEndTime()

public Timestamp getEndTime()

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getRequest()

public UploadConversationRequest getRequest()

Output only. The original request.

.google.cloud.contactcenterinsights.v1.UploadConversationRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
UploadConversationRequest

The request.

getRequestBuilder()

public UploadConversationRequest.Builder getRequestBuilder()

Output only. The original request.

.google.cloud.contactcenterinsights.v1.UploadConversationRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
UploadConversationRequest.Builder

getRequestOrBuilder()

public UploadConversationRequestOrBuilder getRequestOrBuilder()

Output only. The original request.

.google.cloud.contactcenterinsights.v1.UploadConversationRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
UploadConversationRequestOrBuilder

hasAppliedRedactionConfig()

public boolean hasAppliedRedactionConfig()

Output only. The redaction config applied to the uploaded conversation.

.google.cloud.contactcenterinsights.v1.RedactionConfig applied_redaction_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the appliedRedactionConfig field is set.

hasCreateTime()

public boolean hasCreateTime()

Output only. The time the operation was created.

.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasEndTime()

public boolean hasEndTime()

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the endTime field is set.

hasRequest()

public boolean hasRequest()

Output only. The original request.

.google.cloud.contactcenterinsights.v1.UploadConversationRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the request field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAppliedRedactionConfig(RedactionConfig value)

public UploadConversationMetadata.Builder mergeAppliedRedactionConfig(RedactionConfig value)

Output only. The redaction config applied to the uploaded conversation.

.google.cloud.contactcenterinsights.v1.RedactionConfig applied_redaction_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueRedactionConfig
Returns
TypeDescription
UploadConversationMetadata.Builder

mergeCreateTime(Timestamp value)

public UploadConversationMetadata.Builder mergeCreateTime(Timestamp value)

Output only. The time the operation was created.

.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
UploadConversationMetadata.Builder

mergeEndTime(Timestamp value)

public UploadConversationMetadata.Builder mergeEndTime(Timestamp value)

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
UploadConversationMetadata.Builder

mergeFrom(UploadConversationMetadata other)

public UploadConversationMetadata.Builder mergeFrom(UploadConversationMetadata other)
Parameter
NameDescription
otherUploadConversationMetadata
Returns
TypeDescription
UploadConversationMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeRequest(UploadConversationRequest value)

public UploadConversationMetadata.Builder mergeRequest(UploadConversationRequest value)

Output only. The original request.

.google.cloud.contactcenterinsights.v1.UploadConversationRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueUploadConversationRequest
Returns
TypeDescription
UploadConversationMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UploadConversationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UploadConversationMetadata.Builder
Overrides

setAnalysisOperation(String value)

public UploadConversationMetadata.Builder setAnalysisOperation(String value)

Output only. The operation name for a successfully created analysis operation, if any.

string analysis_operation = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The analysisOperation to set.

Returns
TypeDescription
UploadConversationMetadata.Builder

This builder for chaining.

setAnalysisOperationBytes(ByteString value)

public UploadConversationMetadata.Builder setAnalysisOperationBytes(ByteString value)

Output only. The operation name for a successfully created analysis operation, if any.

string analysis_operation = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for analysisOperation to set.

Returns
TypeDescription
UploadConversationMetadata.Builder

This builder for chaining.

setAppliedRedactionConfig(RedactionConfig value)

public UploadConversationMetadata.Builder setAppliedRedactionConfig(RedactionConfig value)

Output only. The redaction config applied to the uploaded conversation.

.google.cloud.contactcenterinsights.v1.RedactionConfig applied_redaction_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueRedactionConfig
Returns
TypeDescription
UploadConversationMetadata.Builder

setAppliedRedactionConfig(RedactionConfig.Builder builderForValue)

public UploadConversationMetadata.Builder setAppliedRedactionConfig(RedactionConfig.Builder builderForValue)

Output only. The redaction config applied to the uploaded conversation.

.google.cloud.contactcenterinsights.v1.RedactionConfig applied_redaction_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueRedactionConfig.Builder
Returns
TypeDescription
UploadConversationMetadata.Builder

setCreateTime(Timestamp value)

public UploadConversationMetadata.Builder setCreateTime(Timestamp value)

Output only. The time the operation was created.

.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
UploadConversationMetadata.Builder

setCreateTime(Timestamp.Builder builderForValue)

public UploadConversationMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The time the operation was created.

.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UploadConversationMetadata.Builder

setEndTime(Timestamp value)

public UploadConversationMetadata.Builder setEndTime(Timestamp value)

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
UploadConversationMetadata.Builder

setEndTime(Timestamp.Builder builderForValue)

public UploadConversationMetadata.Builder setEndTime(Timestamp.Builder builderForValue)

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UploadConversationMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UploadConversationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UploadConversationMetadata.Builder
Overrides

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

public UploadConversationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UploadConversationMetadata.Builder
Overrides

setRequest(UploadConversationRequest value)

public UploadConversationMetadata.Builder setRequest(UploadConversationRequest value)

Output only. The original request.

.google.cloud.contactcenterinsights.v1.UploadConversationRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueUploadConversationRequest
Returns
TypeDescription
UploadConversationMetadata.Builder

setRequest(UploadConversationRequest.Builder builderForValue)

public UploadConversationMetadata.Builder setRequest(UploadConversationRequest.Builder builderForValue)

Output only. The original request.

.google.cloud.contactcenterinsights.v1.UploadConversationRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueUploadConversationRequest.Builder
Returns
TypeDescription
UploadConversationMetadata.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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