Class GetConversationModelRequest.Builder (4.43.0)

public static final class GetConversationModelRequest.Builder extends GeneratedMessageV3.Builder<GetConversationModelRequest.Builder> implements GetConversationModelRequestOrBuilder

The request message for ConversationModels.GetConversationModel

Protobuf type google.cloud.dialogflow.v2.GetConversationModelRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetConversationModelRequest build()
Returns
Type Description
GetConversationModelRequest

buildPartial()

public GetConversationModelRequest buildPartial()
Returns
Type Description
GetConversationModelRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetConversationModelRequest.Builder clearName()

Required. The conversation model to retrieve. Format: projects/<Project ID>/conversationModels/<Conversation Model ID>

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetConversationModelRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetConversationModelRequest getDefaultInstanceForType()
Returns
Type Description
GetConversationModelRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The conversation model to retrieve. Format: projects/<Project ID>/conversationModels/<Conversation Model ID>

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The conversation model to retrieve. Format: projects/<Project ID>/conversationModels/<Conversation Model ID>

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetConversationModelRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetConversationModelRequest.Builder setName(String value)

Required. The conversation model to retrieve. Format: projects/<Project ID>/conversationModels/<Conversation Model ID>

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetConversationModelRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetConversationModelRequest.Builder setNameBytes(ByteString value)

Required. The conversation model to retrieve. Format: projects/<Project ID>/conversationModels/<Conversation Model ID>

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetConversationModelRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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