Package com.google.cloud.dialogflow.v2
Class IntentSuggestion.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<IntentSuggestion.Builder>
com.google.cloud.dialogflow.v2.IntentSuggestion.Builder
- All Implemented Interfaces:
IntentSuggestionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- IntentSuggestion
public static final class IntentSuggestion.Builder
extends com.google.protobuf.GeneratedMessage.Builder<IntentSuggestion.Builder>
implements IntentSuggestionOrBuilder
Represents an intent suggestion.Protobuf type
google.cloud.dialogflow.v2.IntentSuggestion-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Human readable description for better understanding an intent like its scope, content, result etc.The display name of the intent.The unique identifier of this [intent][google.cloud.dialogflow.v2.Intent].Human readable description for better understanding an intent like its scope, content, result etc.com.google.protobuf.ByteStringHuman readable description for better understanding an intent like its scope, content, result etc.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe display name of the intent.com.google.protobuf.ByteStringThe display name of the intent.The unique identifier of this [intent][google.cloud.dialogflow.v2.Intent].com.google.protobuf.ByteStringThe unique identifier of this [intent][google.cloud.dialogflow.v2.Intent].booleanThe unique identifier of this [intent][google.cloud.dialogflow.v2.Intent].protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(IntentSuggestion other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setDescription(String value) Human readable description for better understanding an intent like its scope, content, result etc.setDescriptionBytes(com.google.protobuf.ByteString value) Human readable description for better understanding an intent like its scope, content, result etc.setDisplayName(String value) The display name of the intent.setDisplayNameBytes(com.google.protobuf.ByteString value) The display name of the intent.setIntentV2(String value) The unique identifier of this [intent][google.cloud.dialogflow.v2.Intent].setIntentV2Bytes(com.google.protobuf.ByteString value) The unique identifier of this [intent][google.cloud.dialogflow.v2.Intent].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<IntentSuggestion.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<IntentSuggestion.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<IntentSuggestion.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
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IntentSuggestion.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<IntentSuggestion.Builder>
-
mergeFrom
public IntentSuggestion.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<IntentSuggestion.Builder>- Throws:
IOException
-
getIntentCase
- Specified by:
getIntentCasein interfaceIntentSuggestionOrBuilder
-
clearIntent
-
getDisplayName
The display name of the intent.
string display_name = 1;- Specified by:
getDisplayNamein interfaceIntentSuggestionOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()The display name of the intent.
string display_name = 1;- Specified by:
getDisplayNameBytesin interfaceIntentSuggestionOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
The display name of the intent.
string display_name = 1;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
The display name of the intent.
string display_name = 1;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
The display name of the intent.
string display_name = 1;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
hasIntentV2
public boolean hasIntentV2()The unique identifier of this [intent][google.cloud.dialogflow.v2.Intent]. Format: `projects/<Project ID>/locations/<Location ID>/agent/intents/<Intent ID>`.
string intent_v2 = 2;- Specified by:
hasIntentV2in interfaceIntentSuggestionOrBuilder- Returns:
- Whether the intentV2 field is set.
-
getIntentV2
The unique identifier of this [intent][google.cloud.dialogflow.v2.Intent]. Format: `projects/<Project ID>/locations/<Location ID>/agent/intents/<Intent ID>`.
string intent_v2 = 2;- Specified by:
getIntentV2in interfaceIntentSuggestionOrBuilder- Returns:
- The intentV2.
-
getIntentV2Bytes
public com.google.protobuf.ByteString getIntentV2Bytes()The unique identifier of this [intent][google.cloud.dialogflow.v2.Intent]. Format: `projects/<Project ID>/locations/<Location ID>/agent/intents/<Intent ID>`.
string intent_v2 = 2;- Specified by:
getIntentV2Bytesin interfaceIntentSuggestionOrBuilder- Returns:
- The bytes for intentV2.
-
setIntentV2
The unique identifier of this [intent][google.cloud.dialogflow.v2.Intent]. Format: `projects/<Project ID>/locations/<Location ID>/agent/intents/<Intent ID>`.
string intent_v2 = 2;- Parameters:
value- The intentV2 to set.- Returns:
- This builder for chaining.
-
clearIntentV2
The unique identifier of this [intent][google.cloud.dialogflow.v2.Intent]. Format: `projects/<Project ID>/locations/<Location ID>/agent/intents/<Intent ID>`.
string intent_v2 = 2;- Returns:
- This builder for chaining.
-
setIntentV2Bytes
The unique identifier of this [intent][google.cloud.dialogflow.v2.Intent]. Format: `projects/<Project ID>/locations/<Location ID>/agent/intents/<Intent ID>`.
string intent_v2 = 2;- Parameters:
value- The bytes for intentV2 to set.- Returns:
- This builder for chaining.
-
getDescription
Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters.
string description = 5;- Specified by:
getDescriptionin interfaceIntentSuggestionOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters.
string description = 5;- Specified by:
getDescriptionBytesin interfaceIntentSuggestionOrBuilder- Returns:
- The bytes for description.
-
setDescription
Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters.
string description = 5;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters.
string description = 5;- Returns:
- This builder for chaining.
-
setDescriptionBytes
Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters.
string description = 5;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-