Package com.google.cloud.dialogflow.v2
Class SetSuggestionFeatureConfigOperationMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SetSuggestionFeatureConfigOperationMetadata.Builder>
com.google.cloud.dialogflow.v2.SetSuggestionFeatureConfigOperationMetadata.Builder
- All Implemented Interfaces:
SetSuggestionFeatureConfigOperationMetadataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SetSuggestionFeatureConfigOperationMetadata
public static final class SetSuggestionFeatureConfigOperationMetadata.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SetSuggestionFeatureConfigOperationMetadata.Builder>
implements SetSuggestionFeatureConfigOperationMetadataOrBuilder
Metadata for a [ConversationProfiles.SetSuggestionFeatureConfig][google.cloud.dialogflow.v2.ConversationProfiles.SetSuggestionFeatureConfig] operation.Protobuf type
google.cloud.dialogflow.v2.SetSuggestionFeatureConfigOperationMetadata-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The resource name of the conversation profile.Timestamp whe the request was created.Required.Required.The resource name of the conversation profile.com.google.protobuf.ByteStringThe resource name of the conversation profile.com.google.protobuf.TimestampTimestamp whe the request was created.com.google.protobuf.Timestamp.BuilderTimestamp whe the request was created.com.google.protobuf.TimestampOrBuilderTimestamp whe the request was created.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.intRequired.Required.intRequired.booleanTimestamp whe the request was created.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCreateTime(com.google.protobuf.Timestamp value) Timestamp whe the request was created.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setConversationProfile(String value) The resource name of the conversation profile.setConversationProfileBytes(com.google.protobuf.ByteString value) The resource name of the conversation profile.setCreateTime(com.google.protobuf.Timestamp value) Timestamp whe the request was created.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp whe the request was created.Required.setParticipantRoleValue(int value) Required.Required.setSuggestionFeatureTypeValue(int value) Required.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SetSuggestionFeatureConfigOperationMetadata.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SetSuggestionFeatureConfigOperationMetadata.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SetSuggestionFeatureConfigOperationMetadata.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public SetSuggestionFeatureConfigOperationMetadata.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SetSuggestionFeatureConfigOperationMetadata.Builder>
-
mergeFrom
public SetSuggestionFeatureConfigOperationMetadata.Builder mergeFrom(SetSuggestionFeatureConfigOperationMetadata other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SetSuggestionFeatureConfigOperationMetadata.Builder>
-
mergeFrom
public SetSuggestionFeatureConfigOperationMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SetSuggestionFeatureConfigOperationMetadata.Builder>- Throws:
IOException
-
getConversationProfile
The resource name of the conversation profile. Format: `projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>`
string conversation_profile = 1;- Specified by:
getConversationProfilein interfaceSetSuggestionFeatureConfigOperationMetadataOrBuilder- Returns:
- The conversationProfile.
-
getConversationProfileBytes
public com.google.protobuf.ByteString getConversationProfileBytes()The resource name of the conversation profile. Format: `projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>`
string conversation_profile = 1;- Specified by:
getConversationProfileBytesin interfaceSetSuggestionFeatureConfigOperationMetadataOrBuilder- Returns:
- The bytes for conversationProfile.
-
setConversationProfile
The resource name of the conversation profile. Format: `projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>`
string conversation_profile = 1;- Parameters:
value- The conversationProfile to set.- Returns:
- This builder for chaining.
-
clearConversationProfile
The resource name of the conversation profile. Format: `projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>`
string conversation_profile = 1;- Returns:
- This builder for chaining.
-
setConversationProfileBytes
public SetSuggestionFeatureConfigOperationMetadata.Builder setConversationProfileBytes(com.google.protobuf.ByteString value) The resource name of the conversation profile. Format: `projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>`
string conversation_profile = 1;- Parameters:
value- The bytes for conversationProfile to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getParticipantRoleValuein interfaceSetSuggestionFeatureConfigOperationMetadataOrBuilder- Returns:
- The enum numeric value on the wire for participantRole.
-
setParticipantRoleValue
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];- Parameters:
value- The enum numeric value on the wire for participantRole to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getParticipantRolein interfaceSetSuggestionFeatureConfigOperationMetadataOrBuilder- Returns:
- The participantRole.
-
setParticipantRole
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];- Parameters:
value- The participantRole to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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];- Specified by:
getSuggestionFeatureTypeValuein interfaceSetSuggestionFeatureConfigOperationMetadataOrBuilder- Returns:
- The enum numeric value on the wire for suggestionFeatureType.
-
setSuggestionFeatureTypeValue
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];- Parameters:
value- The enum numeric value on the wire for suggestionFeatureType to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getSuggestionFeatureTypein interfaceSetSuggestionFeatureConfigOperationMetadataOrBuilder- Returns:
- The suggestionFeatureType.
-
setSuggestionFeatureType
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];- Parameters:
value- The suggestionFeatureType to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Timestamp whe the request was created. The time is measured on server side.
.google.protobuf.Timestamp create_time = 4;- Specified by:
hasCreateTimein interfaceSetSuggestionFeatureConfigOperationMetadataOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Timestamp whe the request was created. The time is measured on server side.
.google.protobuf.Timestamp create_time = 4;- Specified by:
getCreateTimein interfaceSetSuggestionFeatureConfigOperationMetadataOrBuilder- Returns:
- The createTime.
-
setCreateTime
public SetSuggestionFeatureConfigOperationMetadata.Builder setCreateTime(com.google.protobuf.Timestamp value) Timestamp whe the request was created. The time is measured on server side.
.google.protobuf.Timestamp create_time = 4; -
setCreateTime
public SetSuggestionFeatureConfigOperationMetadata.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp whe the request was created. The time is measured on server side.
.google.protobuf.Timestamp create_time = 4; -
mergeCreateTime
public SetSuggestionFeatureConfigOperationMetadata.Builder mergeCreateTime(com.google.protobuf.Timestamp value) Timestamp whe the request was created. The time is measured on server side.
.google.protobuf.Timestamp create_time = 4; -
clearCreateTime
Timestamp whe the request was created. The time is measured on server side.
.google.protobuf.Timestamp create_time = 4; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Timestamp whe the request was created. The time is measured on server side.
.google.protobuf.Timestamp create_time = 4; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Timestamp whe the request was created. The time is measured on server side.
.google.protobuf.Timestamp create_time = 4;- Specified by:
getCreateTimeOrBuilderin interfaceSetSuggestionFeatureConfigOperationMetadataOrBuilder
-