Class ClearSuggestionFeatureConfigOperationMetadata.Builder (4.43.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ClearSuggestionFeatureConfigOperationMetadata build()
Returns
TypeDescription
ClearSuggestionFeatureConfigOperationMetadata

buildPartial()

public ClearSuggestionFeatureConfigOperationMetadata buildPartial()
Returns
TypeDescription
ClearSuggestionFeatureConfigOperationMetadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ClearSuggestionFeatureConfigOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ClearSuggestionFeatureConfigOperationMetadata.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ClearSuggestionFeatureConfigOperationMetadata getDefaultInstanceForType()
Returns
TypeDescription
ClearSuggestionFeatureConfigOperationMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
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 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
NameDescription
valueTimestamp
Returns
TypeDescription
ClearSuggestionFeatureConfigOperationMetadata.Builder

mergeFrom(ClearSuggestionFeatureConfigOperationMetadata other)

public ClearSuggestionFeatureConfigOperationMetadata.Builder mergeFrom(ClearSuggestionFeatureConfigOperationMetadata other)
Parameter
NameDescription
otherClearSuggestionFeatureConfigOperationMetadata
Returns
TypeDescription
ClearSuggestionFeatureConfigOperationMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The conversationProfile to set.

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

The bytes for conversationProfile to set.

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

setField(Descriptors.FieldDescriptor field, Object value)

public ClearSuggestionFeatureConfigOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueParticipant.Role

The participantRole to set.

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

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueSuggestionFeature.Type

The suggestionFeatureType to set.

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

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

Returns
TypeDescription
ClearSuggestionFeatureConfigOperationMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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