public static final class SetSuggestionFeatureConfigOperationMetadata.Builder extends GeneratedMessageV3.Builder<SetSuggestionFeatureConfigOperationMetadata.Builder> implements SetSuggestionFeatureConfigOperationMetadataOrBuilderMetadata for a [ConversationProfile.SetSuggestionFeatureConfig][] operation.
Protobuf type google.cloud.dialogflow.v2.SetSuggestionFeatureConfigOperationMetadata
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SetSuggestionFeatureConfigOperationMetadata.BuilderStatic 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 |
| Returns | |
|---|---|
| Type | Description |
SetSuggestionFeatureConfigOperationMetadata.Builder |
|
build()
public SetSuggestionFeatureConfigOperationMetadata build()| Returns | |
|---|---|
| Type | Description |
SetSuggestionFeatureConfigOperationMetadata |
|
buildPartial()
public SetSuggestionFeatureConfigOperationMetadata buildPartial()| Returns | |
|---|---|
| Type | Description |
SetSuggestionFeatureConfigOperationMetadata |
|
clear()
public SetSuggestionFeatureConfigOperationMetadata.Builder clear()| Returns | |
|---|---|
| Type | Description |
SetSuggestionFeatureConfigOperationMetadata.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
SetSuggestionFeatureConfigOperationMetadata.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public SetSuggestionFeatureConfigOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
SetSuggestionFeatureConfigOperationMetadata.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public SetSuggestionFeatureConfigOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
SetSuggestionFeatureConfigOperationMetadata.Builder |
|
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()| Returns | |
|---|---|
| Type | Description |
SetSuggestionFeatureConfigOperationMetadata.Builder |
|
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()| Returns | |
|---|---|
| Type | Description |
SetSuggestionFeatureConfigOperationMetadata |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
| Returns | |
|---|---|
| Type | Description |
SetSuggestionFeatureConfigOperationMetadata.Builder |
|
mergeFrom(SetSuggestionFeatureConfigOperationMetadata other)
public SetSuggestionFeatureConfigOperationMetadata.Builder mergeFrom(SetSuggestionFeatureConfigOperationMetadata other)| Parameter | |
|---|---|
| Name | Description |
other |
SetSuggestionFeatureConfigOperationMetadata |
| Returns | |
|---|---|
| Type | Description |
SetSuggestionFeatureConfigOperationMetadata.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SetSuggestionFeatureConfigOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SetSuggestionFeatureConfigOperationMetadata.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SetSuggestionFeatureConfigOperationMetadata.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SetSuggestionFeatureConfigOperationMetadata.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SetSuggestionFeatureConfigOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
SetSuggestionFeatureConfigOperationMetadata.Builder |
|
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 |
StringThe 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 |
ByteStringThe 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 |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
SetSuggestionFeatureConfigOperationMetadata.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public SetSuggestionFeatureConfigOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
SetSuggestionFeatureConfigOperationMetadata.Builder |
|
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.RoleThe 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 |
intThe 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 |
| Returns | |
|---|---|
| Type | Description |
SetSuggestionFeatureConfigOperationMetadata.Builder |
|
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.TypeThe 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 |
intThe 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 |
| Returns | |
|---|---|
| Type | Description |
SetSuggestionFeatureConfigOperationMetadata.Builder |
|