Class CreateConversationModelOperationMetadata.Builder (4.19.0)

public static final class CreateConversationModelOperationMetadata.Builder extends GeneratedMessageV3.Builder<CreateConversationModelOperationMetadata.Builder> implements CreateConversationModelOperationMetadataOrBuilder

Metadata for a ConversationModels.CreateConversationModel operation.

Protobuf type google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateConversationModelOperationMetadata build()
Returns
Type Description
CreateConversationModelOperationMetadata

buildPartial()

public CreateConversationModelOperationMetadata buildPartial()
Returns
Type Description
CreateConversationModelOperationMetadata

clear()

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

clearConversationModel()

public CreateConversationModelOperationMetadata.Builder clearConversationModel()

The resource name of the conversation model. Format: projects/<Project ID>/conversationModels/<Conversation Model Id>

string conversation_model = 1;

Returns
Type Description
CreateConversationModelOperationMetadata.Builder

This builder for chaining.

clearCreateTime()

public CreateConversationModelOperationMetadata.Builder clearCreateTime()

Timestamp when the request to create conversation model is submitted. The time is measured on server side.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
CreateConversationModelOperationMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearState()

public CreateConversationModelOperationMetadata.Builder clearState()

State of CreateConversationModel operation.

.google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata.State state = 2;

Returns
Type Description
CreateConversationModelOperationMetadata.Builder

This builder for chaining.

clone()

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

getConversationModel()

public String getConversationModel()

The resource name of the conversation model. Format: projects/<Project ID>/conversationModels/<Conversation Model Id>

string conversation_model = 1;

Returns
Type Description
String

The conversationModel.

getConversationModelBytes()

public ByteString getConversationModelBytes()

The resource name of the conversation model. Format: projects/<Project ID>/conversationModels/<Conversation Model Id>

string conversation_model = 1;

Returns
Type Description
ByteString

The bytes for conversationModel.

getCreateTime()

public Timestamp getCreateTime()

Timestamp when the request to create conversation model is submitted. The time is measured on server side.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Timestamp when the request to create conversation model is submitted. The time is measured on server side.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Timestamp when the request to create conversation model is submitted. The time is measured on server side.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public CreateConversationModelOperationMetadata getDefaultInstanceForType()
Returns
Type Description
CreateConversationModelOperationMetadata

getDescriptorForType()

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

getState()

public CreateConversationModelOperationMetadata.State getState()

State of CreateConversationModel operation.

.google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata.State state = 2;

Returns
Type Description
CreateConversationModelOperationMetadata.State

The state.

getStateValue()

public int getStateValue()

State of CreateConversationModel operation.

.google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata.State state = 2;

Returns
Type Description
int

The enum numeric value on the wire for state.

hasCreateTime()

public boolean hasCreateTime()

Timestamp when the request to create conversation model is submitted. The time is measured on server side.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
boolean

Whether the createTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public CreateConversationModelOperationMetadata.Builder mergeCreateTime(Timestamp value)

Timestamp when the request to create conversation model is submitted. The time is measured on server side.

.google.protobuf.Timestamp create_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
CreateConversationModelOperationMetadata.Builder

mergeFrom(CreateConversationModelOperationMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConversationModel(String value)

public CreateConversationModelOperationMetadata.Builder setConversationModel(String value)

The resource name of the conversation model. Format: projects/<Project ID>/conversationModels/<Conversation Model Id>

string conversation_model = 1;

Parameter
Name Description
value String

The conversationModel to set.

Returns
Type Description
CreateConversationModelOperationMetadata.Builder

This builder for chaining.

setConversationModelBytes(ByteString value)

public CreateConversationModelOperationMetadata.Builder setConversationModelBytes(ByteString value)

The resource name of the conversation model. Format: projects/<Project ID>/conversationModels/<Conversation Model Id>

string conversation_model = 1;

Parameter
Name Description
value ByteString

The bytes for conversationModel to set.

Returns
Type Description
CreateConversationModelOperationMetadata.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public CreateConversationModelOperationMetadata.Builder setCreateTime(Timestamp value)

Timestamp when the request to create conversation model is submitted. The time is measured on server side.

.google.protobuf.Timestamp create_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
CreateConversationModelOperationMetadata.Builder

setCreateTime(Timestamp.Builder builderForValue)

public CreateConversationModelOperationMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)

Timestamp when the request to create conversation model is submitted. The time is measured on server side.

.google.protobuf.Timestamp create_time = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
CreateConversationModelOperationMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setState(CreateConversationModelOperationMetadata.State value)

public CreateConversationModelOperationMetadata.Builder setState(CreateConversationModelOperationMetadata.State value)

State of CreateConversationModel operation.

.google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata.State state = 2;

Parameter
Name Description
value CreateConversationModelOperationMetadata.State

The state to set.

Returns
Type Description
CreateConversationModelOperationMetadata.Builder

This builder for chaining.

setStateValue(int value)

public CreateConversationModelOperationMetadata.Builder setStateValue(int value)

State of CreateConversationModel operation.

.google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata.State state = 2;

Parameter
Name Description
value int

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

Returns
Type Description
CreateConversationModelOperationMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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