Class SetSuggestionFeatureConfigOperationMetadata.Builder (4.38.0)

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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SetSuggestionFeatureConfigOperationMetadata build()

buildPartial()

public SetSuggestionFeatureConfigOperationMetadata buildPartial()

clear()

public SetSuggestionFeatureConfigOperationMetadata.Builder clear()
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
Type Description
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;

clearField(Descriptors.FieldDescriptor field)

public SetSuggestionFeatureConfigOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SetSuggestionFeatureConfigOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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
Type Description
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
Type Description
SetSuggestionFeatureConfigOperationMetadata.Builder

This builder for chaining.

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
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 add or update.

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

.google.cloud.dialogflow.v2.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 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
Name Description
value Timestamp

mergeFrom(SetSuggestionFeatureConfigOperationMetadata other)

public SetSuggestionFeatureConfigOperationMetadata.Builder mergeFrom(SetSuggestionFeatureConfigOperationMetadata other)
Parameter
Name Description
other SetSuggestionFeatureConfigOperationMetadata

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public SetSuggestionFeatureConfigOperationMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SetSuggestionFeatureConfigOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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
Name Description
value String

The conversationProfile to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for conversationProfile to set.

Returns
Type Description
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
Name Description
value Timestamp

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
Name Description
builderForValue Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SetSuggestionFeatureConfigOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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
Name Description
value Participant.Role

The participantRole to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
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
Name Description
value SuggestionFeature.Type

The suggestionFeatureType to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
SetSuggestionFeatureConfigOperationMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SetSuggestionFeatureConfigOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Overrides