Class CreateConversationModelOperationMetadata.Builder (4.7.5)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateConversationModelOperationMetadata build()
Returns
TypeDescription
CreateConversationModelOperationMetadata

buildPartial()

public CreateConversationModelOperationMetadata buildPartial()
Returns
TypeDescription
CreateConversationModelOperationMetadata

clear()

public CreateConversationModelOperationMetadata.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CreateConversationModelOperationMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearState()

public CreateConversationModelOperationMetadata.Builder clearState()

State of CreateConversationModel operation.

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

Returns
TypeDescription
CreateConversationModelOperationMetadata.Builder

This builder for chaining.

clone()

public CreateConversationModelOperationMetadata.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public CreateConversationModelOperationMetadata getDefaultInstanceForType()
Returns
TypeDescription
CreateConversationModelOperationMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getState()

public CreateConversationModelOperationMetadata.State getState()

State of CreateConversationModel operation.

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

Returns
TypeDescription
CreateConversationModelOperationMetadata.State

The state.

getStateValue()

public int getStateValue()

State of CreateConversationModel operation.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the createTime 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 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
NameDescription
valueTimestamp
Returns
TypeDescription
CreateConversationModelOperationMetadata.Builder

mergeFrom(CreateConversationModelOperationMetadata other)

public CreateConversationModelOperationMetadata.Builder mergeFrom(CreateConversationModelOperationMetadata other)
Parameter
NameDescription
otherCreateConversationModelOperationMetadata
Returns
TypeDescription
CreateConversationModelOperationMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateConversationModelOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The conversationModel to set.

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

The bytes for conversationModel to set.

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public CreateConversationModelOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueCreateConversationModelOperationMetadata.State

The state to set.

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

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

Returns
TypeDescription
CreateConversationModelOperationMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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