Class CreateConversationProfileRequest.Builder (4.35.0)

public static final class CreateConversationProfileRequest.Builder extends GeneratedMessageV3.Builder<CreateConversationProfileRequest.Builder> implements CreateConversationProfileRequestOrBuilder

The request message for ConversationProfiles.CreateConversationProfile.

Protobuf type google.cloud.dialogflow.v2.CreateConversationProfileRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateConversationProfileRequest build()
Returns
Type Description
CreateConversationProfileRequest

buildPartial()

public CreateConversationProfileRequest buildPartial()
Returns
Type Description
CreateConversationProfileRequest

clear()

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

clearConversationProfile()

public CreateConversationProfileRequest.Builder clearConversationProfile()

Required. The conversation profile to create.

.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateConversationProfileRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateConversationProfileRequest.Builder clearParent()

Required. The project to create a conversation profile for. Format: projects/<Project ID>/locations/<Location ID>.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateConversationProfileRequest.Builder

This builder for chaining.

clone()

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

getConversationProfile()

public ConversationProfile getConversationProfile()

Required. The conversation profile to create.

.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConversationProfile

The conversationProfile.

getConversationProfileBuilder()

public ConversationProfile.Builder getConversationProfileBuilder()

Required. The conversation profile to create.

.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConversationProfile.Builder

getConversationProfileOrBuilder()

public ConversationProfileOrBuilder getConversationProfileOrBuilder()

Required. The conversation profile to create.

.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConversationProfileOrBuilder

getDefaultInstanceForType()

public CreateConversationProfileRequest getDefaultInstanceForType()
Returns
Type Description
CreateConversationProfileRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The project to create a conversation profile for. Format: projects/<Project ID>/locations/<Location ID>.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The project to create a conversation profile for. Format: projects/<Project ID>/locations/<Location ID>.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasConversationProfile()

public boolean hasConversationProfile()

Required. The conversation profile to create.

.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the conversationProfile field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConversationProfile(ConversationProfile value)

public CreateConversationProfileRequest.Builder mergeConversationProfile(ConversationProfile value)

Required. The conversation profile to create.

.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ConversationProfile
Returns
Type Description
CreateConversationProfileRequest.Builder

mergeFrom(CreateConversationProfileRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConversationProfile(ConversationProfile value)

public CreateConversationProfileRequest.Builder setConversationProfile(ConversationProfile value)

Required. The conversation profile to create.

.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ConversationProfile
Returns
Type Description
CreateConversationProfileRequest.Builder

setConversationProfile(ConversationProfile.Builder builderForValue)

public CreateConversationProfileRequest.Builder setConversationProfile(ConversationProfile.Builder builderForValue)

Required. The conversation profile to create.

.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ConversationProfile.Builder
Returns
Type Description
CreateConversationProfileRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateConversationProfileRequest.Builder setParent(String value)

Required. The project to create a conversation profile for. Format: projects/<Project ID>/locations/<Location ID>.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateConversationProfileRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateConversationProfileRequest.Builder setParentBytes(ByteString value)

Required. The project to create a conversation profile for. Format: projects/<Project ID>/locations/<Location ID>.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateConversationProfileRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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