Class ClearSuggestionFeatureConfigOperationMetadata.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ClearSuggestionFeatureConfigOperationMetadata.Builder>
-
- com.google.cloud.dialogflow.v2beta1.ClearSuggestionFeatureConfigOperationMetadata.Builder
-
- All Implemented Interfaces:
ClearSuggestionFeatureConfigOperationMetadataOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ClearSuggestionFeatureConfigOperationMetadata
public static final class ClearSuggestionFeatureConfigOperationMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ClearSuggestionFeatureConfigOperationMetadata.Builder> implements ClearSuggestionFeatureConfigOperationMetadataOrBuilder
Metadata for a [ConversationProfile.ClearSuggestionFeatureConfig][] operation.
Protobuf typegoogle.cloud.dialogflow.v2beta1.ClearSuggestionFeatureConfigOperationMetadata
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClearSuggestionFeatureConfigOperationMetadata.Builder>
-
clear
public ClearSuggestionFeatureConfigOperationMetadata.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClearSuggestionFeatureConfigOperationMetadata.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClearSuggestionFeatureConfigOperationMetadata.Builder>
-
getDefaultInstanceForType
public ClearSuggestionFeatureConfigOperationMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ClearSuggestionFeatureConfigOperationMetadata build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ClearSuggestionFeatureConfigOperationMetadata buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ClearSuggestionFeatureConfigOperationMetadata.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClearSuggestionFeatureConfigOperationMetadata.Builder>
-
setField
public ClearSuggestionFeatureConfigOperationMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClearSuggestionFeatureConfigOperationMetadata.Builder>
-
clearField
public ClearSuggestionFeatureConfigOperationMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClearSuggestionFeatureConfigOperationMetadata.Builder>
-
clearOneof
public ClearSuggestionFeatureConfigOperationMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClearSuggestionFeatureConfigOperationMetadata.Builder>
-
setRepeatedField
public ClearSuggestionFeatureConfigOperationMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClearSuggestionFeatureConfigOperationMetadata.Builder>
-
addRepeatedField
public ClearSuggestionFeatureConfigOperationMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClearSuggestionFeatureConfigOperationMetadata.Builder>
-
mergeFrom
public ClearSuggestionFeatureConfigOperationMetadata.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ClearSuggestionFeatureConfigOperationMetadata.Builder>
-
mergeFrom
public ClearSuggestionFeatureConfigOperationMetadata.Builder mergeFrom(ClearSuggestionFeatureConfigOperationMetadata other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClearSuggestionFeatureConfigOperationMetadata.Builder>
-
mergeFrom
public ClearSuggestionFeatureConfigOperationMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ClearSuggestionFeatureConfigOperationMetadata.Builder>
- Throws:
IOException
-
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;
- Specified by:
getConversationProfile
in interfaceClearSuggestionFeatureConfigOperationMetadataOrBuilder
- 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:
getConversationProfileBytes
in interfaceClearSuggestionFeatureConfigOperationMetadataOrBuilder
- Returns:
- The bytes for conversationProfile.
-
setConversationProfile
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;
- Parameters:
value
- The conversationProfile to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setConversationProfileBytes
public ClearSuggestionFeatureConfigOperationMetadata.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 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];
- Specified by:
getParticipantRoleValue
in interfaceClearSuggestionFeatureConfigOperationMetadataOrBuilder
- Returns:
- The enum numeric value on the wire for participantRole.
-
setParticipantRoleValue
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];
- Parameters:
value
- The enum numeric value on the wire for participantRole to set.- Returns:
- This builder for chaining.
-
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];
- Specified by:
getParticipantRole
in interfaceClearSuggestionFeatureConfigOperationMetadataOrBuilder
- Returns:
- The participantRole.
-
setParticipantRole
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];
- Parameters:
value
- The participantRole to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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];
- Specified by:
getSuggestionFeatureTypeValue
in interfaceClearSuggestionFeatureConfigOperationMetadataOrBuilder
- Returns:
- The enum numeric value on the wire for suggestionFeatureType.
-
setSuggestionFeatureTypeValue
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];
- Parameters:
value
- The enum numeric value on the wire for suggestionFeatureType to set.- Returns:
- This builder for chaining.
-
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];
- Specified by:
getSuggestionFeatureType
in interfaceClearSuggestionFeatureConfigOperationMetadataOrBuilder
- Returns:
- The suggestionFeatureType.
-
setSuggestionFeatureType
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];
- Parameters:
value
- The suggestionFeatureType to set.- Returns:
- 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:
- 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:
hasCreateTime
in interfaceClearSuggestionFeatureConfigOperationMetadataOrBuilder
- 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:
getCreateTime
in interfaceClearSuggestionFeatureConfigOperationMetadataOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public ClearSuggestionFeatureConfigOperationMetadata.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 ClearSuggestionFeatureConfigOperationMetadata.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 ClearSuggestionFeatureConfigOperationMetadata.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
public ClearSuggestionFeatureConfigOperationMetadata.Builder 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:
getCreateTimeOrBuilder
in interfaceClearSuggestionFeatureConfigOperationMetadataOrBuilder
-
setUnknownFields
public final ClearSuggestionFeatureConfigOperationMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClearSuggestionFeatureConfigOperationMetadata.Builder>
-
mergeUnknownFields
public final ClearSuggestionFeatureConfigOperationMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClearSuggestionFeatureConfigOperationMetadata.Builder>
-
-