Class SetSuggestionFeatureConfigOperationMetadata.Builder (4.7.2)

public static final class SetSuggestionFeatureConfigOperationMetadata.Builder extends GeneratedMessageV3.Builder<SetSuggestionFeatureConfigOperationMetadata.Builder> implements SetSuggestionFeatureConfigOperationMetadataOrBuilder

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

Protobuf type google.cloud.dialogflow.v2.SetSuggestionFeatureConfigOperationMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SetSuggestionFeatureConfigOperationMetadata build()
Returns
TypeDescription
SetSuggestionFeatureConfigOperationMetadata

buildPartial()

public SetSuggestionFeatureConfigOperationMetadata buildPartial()
Returns
TypeDescription
SetSuggestionFeatureConfigOperationMetadata

clear()

public SetSuggestionFeatureConfigOperationMetadata.Builder clear()
Returns
TypeDescription
SetSuggestionFeatureConfigOperationMetadata.Builder
Overrides

clearConversationProfile()

public SetSuggestionFeatureConfigOperationMetadata.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
SetSuggestionFeatureConfigOperationMetadata.Builder

This builder for chaining.

clearCreateTime()

public SetSuggestionFeatureConfigOperationMetadata.Builder clearCreateTime()

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

.google.protobuf.Timestamp create_time = 4;

Returns
TypeDescription
SetSuggestionFeatureConfigOperationMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParticipantRole()

public SetSuggestionFeatureConfigOperationMetadata.Builder clearParticipantRole()

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

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

Returns
TypeDescription
SetSuggestionFeatureConfigOperationMetadata.Builder

This builder for chaining.

clearSuggestionFeatureType()

public SetSuggestionFeatureConfigOperationMetadata.Builder clearSuggestionFeatureType()

Required. The type of the suggestion feature to add or update.

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

Returns
TypeDescription
SetSuggestionFeatureConfigOperationMetadata.Builder

This builder for chaining.

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getParticipantRole()

public Participant.Role getParticipantRole()

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

.google.cloud.dialogflow.v2.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 add or update the suggestion feature config. Only HUMAN_AGENT or END_USER can be used.

.google.cloud.dialogflow.v2.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 add or update.

.google.cloud.dialogflow.v2.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 add or update.

.google.cloud.dialogflow.v2.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 SetSuggestionFeatureConfigOperationMetadata.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
SetSuggestionFeatureConfigOperationMetadata.Builder

mergeFrom(SetSuggestionFeatureConfigOperationMetadata other)

public SetSuggestionFeatureConfigOperationMetadata.Builder mergeFrom(SetSuggestionFeatureConfigOperationMetadata other)
Parameter
NameDescription
otherSetSuggestionFeatureConfigOperationMetadata
Returns
TypeDescription
SetSuggestionFeatureConfigOperationMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SetSuggestionFeatureConfigOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SetSuggestionFeatureConfigOperationMetadata.Builder
Overrides

setConversationProfile(String value)

public SetSuggestionFeatureConfigOperationMetadata.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
SetSuggestionFeatureConfigOperationMetadata.Builder

This builder for chaining.

setConversationProfileBytes(ByteString value)

public SetSuggestionFeatureConfigOperationMetadata.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
SetSuggestionFeatureConfigOperationMetadata.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public SetSuggestionFeatureConfigOperationMetadata.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
SetSuggestionFeatureConfigOperationMetadata.Builder

setCreateTime(Timestamp.Builder builderForValue)

public SetSuggestionFeatureConfigOperationMetadata.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
SetSuggestionFeatureConfigOperationMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setParticipantRole(Participant.Role value)

public SetSuggestionFeatureConfigOperationMetadata.Builder setParticipantRole(Participant.Role value)

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

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

Parameter
NameDescription
valueParticipant.Role

The participantRole to set.

Returns
TypeDescription
SetSuggestionFeatureConfigOperationMetadata.Builder

This builder for chaining.

setParticipantRoleValue(int value)

public SetSuggestionFeatureConfigOperationMetadata.Builder setParticipantRoleValue(int value)

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

.google.cloud.dialogflow.v2.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
SetSuggestionFeatureConfigOperationMetadata.Builder

This builder for chaining.

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

public SetSuggestionFeatureConfigOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SetSuggestionFeatureConfigOperationMetadata.Builder
Overrides

setSuggestionFeatureType(SuggestionFeature.Type value)

public SetSuggestionFeatureConfigOperationMetadata.Builder setSuggestionFeatureType(SuggestionFeature.Type value)

Required. The type of the suggestion feature to add or update.

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

Parameter
NameDescription
valueSuggestionFeature.Type

The suggestionFeatureType to set.

Returns
TypeDescription
SetSuggestionFeatureConfigOperationMetadata.Builder

This builder for chaining.

setSuggestionFeatureTypeValue(int value)

public SetSuggestionFeatureConfigOperationMetadata.Builder setSuggestionFeatureTypeValue(int value)

Required. The type of the suggestion feature to add or update.

.google.cloud.dialogflow.v2.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
SetSuggestionFeatureConfigOperationMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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