Class CreateAnalysisOperationMetadata.Builder (2.45.0)

public static final class CreateAnalysisOperationMetadata.Builder extends GeneratedMessageV3.Builder<CreateAnalysisOperationMetadata.Builder> implements CreateAnalysisOperationMetadataOrBuilder

Metadata for a create analysis operation.

Protobuf type google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateAnalysisOperationMetadata build()
Returns
Type Description
CreateAnalysisOperationMetadata

buildPartial()

public CreateAnalysisOperationMetadata buildPartial()
Returns
Type Description
CreateAnalysisOperationMetadata

clear()

public CreateAnalysisOperationMetadata.Builder clear()
Returns
Type Description
CreateAnalysisOperationMetadata.Builder
Overrides

clearAnnotatorSelector()

public CreateAnalysisOperationMetadata.Builder clearAnnotatorSelector()

Output only. The annotator selector used for the analysis (if any).

.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CreateAnalysisOperationMetadata.Builder

clearConversation()

public CreateAnalysisOperationMetadata.Builder clearConversation()

Output only. The Conversation that this Analysis Operation belongs to.

string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateAnalysisOperationMetadata.Builder

This builder for chaining.

clearCreateTime()

public CreateAnalysisOperationMetadata.Builder clearCreateTime()

Output only. The time the operation was created.

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

Returns
Type Description
CreateAnalysisOperationMetadata.Builder

clearEndTime()

public CreateAnalysisOperationMetadata.Builder clearEndTime()

Output only. The time the operation finished running.

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

Returns
Type Description
CreateAnalysisOperationMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public CreateAnalysisOperationMetadata.Builder clone()
Returns
Type Description
CreateAnalysisOperationMetadata.Builder
Overrides

getAnnotatorSelector()

public AnnotatorSelector getAnnotatorSelector()

Output only. The annotator selector used for the analysis (if any).

.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AnnotatorSelector

The annotatorSelector.

getAnnotatorSelectorBuilder()

public AnnotatorSelector.Builder getAnnotatorSelectorBuilder()

Output only. The annotator selector used for the analysis (if any).

.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AnnotatorSelector.Builder

getAnnotatorSelectorOrBuilder()

public AnnotatorSelectorOrBuilder getAnnotatorSelectorOrBuilder()

Output only. The annotator selector used for the analysis (if any).

.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AnnotatorSelectorOrBuilder

getConversation()

public String getConversation()

Output only. The Conversation that this Analysis Operation belongs to.

string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The conversation.

getConversationBytes()

public ByteString getConversationBytes()

Output only. The Conversation that this Analysis Operation belongs to.

string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for conversation.

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
Type Description
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
Type Description
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
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public CreateAnalysisOperationMetadata getDefaultInstanceForType()
Returns
Type Description
CreateAnalysisOperationMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
TimestampOrBuilder

hasAnnotatorSelector()

public boolean hasAnnotatorSelector()

Output only. The annotator selector used for the analysis (if any).

.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the annotatorSelector 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
Type Description
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
Type Description
boolean

Whether the endTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAnnotatorSelector(AnnotatorSelector value)

public CreateAnalysisOperationMetadata.Builder mergeAnnotatorSelector(AnnotatorSelector value)

Output only. The annotator selector used for the analysis (if any).

.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value AnnotatorSelector
Returns
Type Description
CreateAnalysisOperationMetadata.Builder

mergeCreateTime(Timestamp value)

public CreateAnalysisOperationMetadata.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
Name Description
value Timestamp
Returns
Type Description
CreateAnalysisOperationMetadata.Builder

mergeEndTime(Timestamp value)

public CreateAnalysisOperationMetadata.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
Name Description
value Timestamp
Returns
Type Description
CreateAnalysisOperationMetadata.Builder

mergeFrom(CreateAnalysisOperationMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAnnotatorSelector(AnnotatorSelector value)

public CreateAnalysisOperationMetadata.Builder setAnnotatorSelector(AnnotatorSelector value)

Output only. The annotator selector used for the analysis (if any).

.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value AnnotatorSelector
Returns
Type Description
CreateAnalysisOperationMetadata.Builder

setAnnotatorSelector(AnnotatorSelector.Builder builderForValue)

public CreateAnalysisOperationMetadata.Builder setAnnotatorSelector(AnnotatorSelector.Builder builderForValue)

Output only. The annotator selector used for the analysis (if any).

.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue AnnotatorSelector.Builder
Returns
Type Description
CreateAnalysisOperationMetadata.Builder

setConversation(String value)

public CreateAnalysisOperationMetadata.Builder setConversation(String value)

Output only. The Conversation that this Analysis Operation belongs to.

string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The conversation to set.

Returns
Type Description
CreateAnalysisOperationMetadata.Builder

This builder for chaining.

setConversationBytes(ByteString value)

public CreateAnalysisOperationMetadata.Builder setConversationBytes(ByteString value)

Output only. The Conversation that this Analysis Operation belongs to.

string conversation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for conversation to set.

Returns
Type Description
CreateAnalysisOperationMetadata.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public CreateAnalysisOperationMetadata.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
Name Description
value Timestamp
Returns
Type Description
CreateAnalysisOperationMetadata.Builder

setCreateTime(Timestamp.Builder builderForValue)

public CreateAnalysisOperationMetadata.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
Name Description
builderForValue Builder
Returns
Type Description
CreateAnalysisOperationMetadata.Builder

setEndTime(Timestamp value)

public CreateAnalysisOperationMetadata.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
Name Description
value Timestamp
Returns
Type Description
CreateAnalysisOperationMetadata.Builder

setEndTime(Timestamp.Builder builderForValue)

public CreateAnalysisOperationMetadata.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
Name Description
builderForValue Builder
Returns
Type Description
CreateAnalysisOperationMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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