Class DeployConversationModelOperationMetadata.Builder (4.21.0)

See more code actions.
public static final class DeployConversationModelOperationMetadata.Builder extends GeneratedMessageV3.Builder<DeployConversationModelOperationMetadata.Builder> implements DeployConversationModelOperationMetadataOrBuilder

Metadata for a ConversationModels.DeployConversationModel operation.

Protobuf type google.cloud.dialogflow.v2.DeployConversationModelOperationMetadata

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeployConversationModelOperationMetadata build()
Returns
Type Description
DeployConversationModelOperationMetadata

buildPartial()

public DeployConversationModelOperationMetadata buildPartial()
Returns
Type Description
DeployConversationModelOperationMetadata

clear()

public DeployConversationModelOperationMetadata.Builder clear()
Overrides

clearConversationModel()

public DeployConversationModelOperationMetadata.Builder clearConversationModel()

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

string conversation_model = 1;

Returns
Type Description
DeployConversationModelOperationMetadata.Builder

This builder for chaining.

clearCreateTime()

public DeployConversationModelOperationMetadata.Builder clearCreateTime()

Timestamp when request to deploy conversation model was submitted. The time is measured on server side.

.google.protobuf.Timestamp create_time = 3;

clearField(Descriptors.FieldDescriptor field)

public DeployConversationModelOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DeployConversationModelOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Overrides

clone()

public DeployConversationModelOperationMetadata.Builder clone()
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 request to deploy conversation model was 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 request to deploy conversation model was submitted. The time is measured on server side.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Timestamp when request to deploy conversation model was submitted. The time is measured on server side.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public DeployConversationModelOperationMetadata getDefaultInstanceForType()
Returns
Type Description
DeployConversationModelOperationMetadata

getDescriptorForType()

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

hasCreateTime()

public boolean hasCreateTime()

Timestamp when request to deploy conversation model was 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 DeployConversationModelOperationMetadata.Builder mergeCreateTime(Timestamp value)

Timestamp when request to deploy conversation model was submitted. The time is measured on server side.

.google.protobuf.Timestamp create_time = 3;

Parameter
Name Description
value Timestamp

mergeFrom(DeployConversationModelOperationMetadata other)

public DeployConversationModelOperationMetadata.Builder mergeFrom(DeployConversationModelOperationMetadata other)
Parameter
Name Description
other DeployConversationModelOperationMetadata

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public DeployConversationModelOperationMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeployConversationModelOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Overrides

setConversationModel(String value)

public DeployConversationModelOperationMetadata.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
DeployConversationModelOperationMetadata.Builder

This builder for chaining.

setConversationModelBytes(ByteString value)

public DeployConversationModelOperationMetadata.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
DeployConversationModelOperationMetadata.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public DeployConversationModelOperationMetadata.Builder setCreateTime(Timestamp value)

Timestamp when request to deploy conversation model was submitted. The time is measured on server side.

.google.protobuf.Timestamp create_time = 3;

Parameter
Name Description
value Timestamp

setCreateTime(Timestamp.Builder builderForValue)

public DeployConversationModelOperationMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)

Timestamp when request to deploy conversation model was submitted. The time is measured on server side.

.google.protobuf.Timestamp create_time = 3;

Parameter
Name Description
builderForValue Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final DeployConversationModelOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Overrides