Class CreateAnalysisOperationMetadata.Builder (2.3.5)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateAnalysisOperationMetadata build()
Returns
TypeDescription
CreateAnalysisOperationMetadata

buildPartial()

public CreateAnalysisOperationMetadata buildPartial()
Returns
TypeDescription
CreateAnalysisOperationMetadata

clear()

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

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
TypeDescription
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
TypeDescription
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
TypeDescription
CreateAnalysisOperationMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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
TypeDescription
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
TypeDescription
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
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 CreateAnalysisOperationMetadata getDefaultInstanceForType()
Returns
TypeDescription
CreateAnalysisOperationMetadata

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
CreateAnalysisOperationMetadata.Builder

mergeFrom(CreateAnalysisOperationMetadata other)

public CreateAnalysisOperationMetadata.Builder mergeFrom(CreateAnalysisOperationMetadata other)
Parameter
NameDescription
otherCreateAnalysisOperationMetadata
Returns
TypeDescription
CreateAnalysisOperationMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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

The conversation to set.

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

The bytes for conversation to set.

Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
CreateAnalysisOperationMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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