Class ClearSuggestionFeatureConfigOperationMetadata.Builder (4.50.0)

public static final class ClearSuggestionFeatureConfigOperationMetadata.Builder extends GeneratedMessageV3.Builder<ClearSuggestionFeatureConfigOperationMetadata.Builder> implements ClearSuggestionFeatureConfigOperationMetadataOrBuilder

Metadata for a [ConversationProfile.ClearSuggestionFeatureConfig][] operation.

Protobuf type google.cloud.dialogflow.v2beta1.ClearSuggestionFeatureConfigOperationMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ClearSuggestionFeatureConfigOperationMetadata build()
Returns
Type Description
ClearSuggestionFeatureConfigOperationMetadata

buildPartial()

public ClearSuggestionFeatureConfigOperationMetadata buildPartial()
Returns
Type Description
ClearSuggestionFeatureConfigOperationMetadata

clear()

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

clearConversationProfile()

public ClearSuggestionFeatureConfigOperationMetadata.Builder clearConversationProfile()

The resource name of the conversation profile. Format: projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>

string conversation_profile = 1;

Returns
Type Description
ClearSuggestionFeatureConfigOperationMetadata.Builder

This builder for chaining.

clearCreateTime()

public ClearSuggestionFeatureConfigOperationMetadata.Builder clearCreateTime()

Timestamp whe the request was created. The time is measured on server side.

.google.protobuf.Timestamp create_time = 4;

Returns
Type Description
ClearSuggestionFeatureConfigOperationMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParticipantRole()

public ClearSuggestionFeatureConfigOperationMetadata.Builder clearParticipantRole()

Required. The participant role to remove the suggestion feature config. Only HUMAN_AGENT or END_USER can be used.

.google.cloud.dialogflow.v2beta1.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ClearSuggestionFeatureConfigOperationMetadata.Builder

This builder for chaining.

clearSuggestionFeatureType()

public ClearSuggestionFeatureConfigOperationMetadata.Builder clearSuggestionFeatureType()

Required. The type of the suggestion feature to remove.

.google.cloud.dialogflow.v2beta1.SuggestionFeature.Type suggestion_feature_type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ClearSuggestionFeatureConfigOperationMetadata.Builder

This builder for chaining.

clone()

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

getConversationProfile()

public String getConversationProfile()

The resource name of the conversation profile. Format: projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>

string conversation_profile = 1;

Returns
Type Description
String

The conversationProfile.

getConversationProfileBytes()

public ByteString getConversationProfileBytes()

The resource name of the conversation profile. Format: projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>

string conversation_profile = 1;

Returns
Type Description
ByteString

The bytes for conversationProfile.

getCreateTime()

public Timestamp getCreateTime()

Timestamp whe the request was created. The time is measured on server side.

.google.protobuf.Timestamp create_time = 4;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Timestamp whe the request was created. The time is measured on server side.

.google.protobuf.Timestamp create_time = 4;

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Timestamp whe the request was created. The time is measured on server side.

.google.protobuf.Timestamp create_time = 4;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public ClearSuggestionFeatureConfigOperationMetadata getDefaultInstanceForType()
Returns
Type Description
ClearSuggestionFeatureConfigOperationMetadata

getDescriptorForType()

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

getParticipantRole()

public Participant.Role getParticipantRole()

Required. The participant role to remove the suggestion feature config. Only HUMAN_AGENT or END_USER can be used.

.google.cloud.dialogflow.v2beta1.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Participant.Role

The participantRole.

getParticipantRoleValue()

public int getParticipantRoleValue()

Required. The participant role to remove the suggestion feature config. Only HUMAN_AGENT or END_USER can be used.

.google.cloud.dialogflow.v2beta1.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for participantRole.

getSuggestionFeatureType()

public SuggestionFeature.Type getSuggestionFeatureType()

Required. The type of the suggestion feature to remove.

.google.cloud.dialogflow.v2beta1.SuggestionFeature.Type suggestion_feature_type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SuggestionFeature.Type

The suggestionFeatureType.

getSuggestionFeatureTypeValue()

public int getSuggestionFeatureTypeValue()

Required. The type of the suggestion feature to remove.

.google.cloud.dialogflow.v2beta1.SuggestionFeature.Type suggestion_feature_type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for suggestionFeatureType.

hasCreateTime()

public boolean hasCreateTime()

Timestamp whe the request was created. The time is measured on server side.

.google.protobuf.Timestamp create_time = 4;

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 ClearSuggestionFeatureConfigOperationMetadata.Builder mergeCreateTime(Timestamp value)

Timestamp whe the request was created. The time is measured on server side.

.google.protobuf.Timestamp create_time = 4;

Parameter
Name Description
value Timestamp
Returns
Type Description
ClearSuggestionFeatureConfigOperationMetadata.Builder

mergeFrom(ClearSuggestionFeatureConfigOperationMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConversationProfile(String value)

public ClearSuggestionFeatureConfigOperationMetadata.Builder setConversationProfile(String value)

The resource name of the conversation profile. Format: projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>

string conversation_profile = 1;

Parameter
Name Description
value String

The conversationProfile to set.

Returns
Type Description
ClearSuggestionFeatureConfigOperationMetadata.Builder

This builder for chaining.

setConversationProfileBytes(ByteString value)

public ClearSuggestionFeatureConfigOperationMetadata.Builder setConversationProfileBytes(ByteString value)

The resource name of the conversation profile. Format: projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>

string conversation_profile = 1;

Parameter
Name Description
value ByteString

The bytes for conversationProfile to set.

Returns
Type Description
ClearSuggestionFeatureConfigOperationMetadata.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public ClearSuggestionFeatureConfigOperationMetadata.Builder setCreateTime(Timestamp value)

Timestamp whe the request was created. The time is measured on server side.

.google.protobuf.Timestamp create_time = 4;

Parameter
Name Description
value Timestamp
Returns
Type Description
ClearSuggestionFeatureConfigOperationMetadata.Builder

setCreateTime(Timestamp.Builder builderForValue)

public ClearSuggestionFeatureConfigOperationMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)

Timestamp whe the request was created. The time is measured on server side.

.google.protobuf.Timestamp create_time = 4;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ClearSuggestionFeatureConfigOperationMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setParticipantRole(Participant.Role value)

public ClearSuggestionFeatureConfigOperationMetadata.Builder setParticipantRole(Participant.Role value)

Required. The participant role to remove the suggestion feature config. Only HUMAN_AGENT or END_USER can be used.

.google.cloud.dialogflow.v2beta1.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Participant.Role

The participantRole to set.

Returns
Type Description
ClearSuggestionFeatureConfigOperationMetadata.Builder

This builder for chaining.

setParticipantRoleValue(int value)

public ClearSuggestionFeatureConfigOperationMetadata.Builder setParticipantRoleValue(int value)

Required. The participant role to remove the suggestion feature config. Only HUMAN_AGENT or END_USER can be used.

.google.cloud.dialogflow.v2beta1.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

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

Returns
Type Description
ClearSuggestionFeatureConfigOperationMetadata.Builder

This builder for chaining.

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

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

setSuggestionFeatureType(SuggestionFeature.Type value)

public ClearSuggestionFeatureConfigOperationMetadata.Builder setSuggestionFeatureType(SuggestionFeature.Type value)

Required. The type of the suggestion feature to remove.

.google.cloud.dialogflow.v2beta1.SuggestionFeature.Type suggestion_feature_type = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SuggestionFeature.Type

The suggestionFeatureType to set.

Returns
Type Description
ClearSuggestionFeatureConfigOperationMetadata.Builder

This builder for chaining.

setSuggestionFeatureTypeValue(int value)

public ClearSuggestionFeatureConfigOperationMetadata.Builder setSuggestionFeatureTypeValue(int value)

Required. The type of the suggestion feature to remove.

.google.cloud.dialogflow.v2beta1.SuggestionFeature.Type suggestion_feature_type = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

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

Returns
Type Description
ClearSuggestionFeatureConfigOperationMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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