public static final class Intent.Message.ListSelect.Item.Builder extends GeneratedMessageV3.Builder<Intent.Message.ListSelect.Item.Builder> implements Intent.Message.ListSelect.ItemOrBuilder
An item in the list.Protobuf type
google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Intent.Message.ListSelect.Item.Builder>
public Intent.Message.ListSelect.Item.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Intent.Message.ListSelect.Item.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Intent.Message.ListSelect.Item.Builder>
public Intent.Message.ListSelect.Item getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Intent.Message.ListSelect.Item build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Intent.Message.ListSelect.Item buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Intent.Message.ListSelect.Item.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Intent.Message.ListSelect.Item.Builder>
public Intent.Message.ListSelect.Item.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Intent.Message.ListSelect.Item.Builder>
public Intent.Message.ListSelect.Item.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Intent.Message.ListSelect.Item.Builder>
public Intent.Message.ListSelect.Item.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Intent.Message.ListSelect.Item.Builder>
public Intent.Message.ListSelect.Item.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Intent.Message.ListSelect.Item.Builder>
public Intent.Message.ListSelect.Item.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Intent.Message.ListSelect.Item.Builder>
public Intent.Message.ListSelect.Item.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Intent.Message.ListSelect.Item.Builder>
public Intent.Message.ListSelect.Item.Builder mergeFrom(Intent.Message.ListSelect.Item other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Intent.Message.ListSelect.Item.Builder>
public Intent.Message.ListSelect.Item.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Intent.Message.ListSelect.Item.Builder>
IOException
public boolean hasInfo()
Required. Additional information about this option.
.google.cloud.dialogflow.v2.Intent.Message.SelectItemInfo info = 1 [(.google.api.field_behavior) = REQUIRED];
hasInfo
in interface Intent.Message.ListSelect.ItemOrBuilder
public Intent.Message.SelectItemInfo getInfo()
Required. Additional information about this option.
.google.cloud.dialogflow.v2.Intent.Message.SelectItemInfo info = 1 [(.google.api.field_behavior) = REQUIRED];
getInfo
in interface Intent.Message.ListSelect.ItemOrBuilder
public Intent.Message.ListSelect.Item.Builder setInfo(Intent.Message.SelectItemInfo value)
Required. Additional information about this option.
.google.cloud.dialogflow.v2.Intent.Message.SelectItemInfo info = 1 [(.google.api.field_behavior) = REQUIRED];
public Intent.Message.ListSelect.Item.Builder setInfo(Intent.Message.SelectItemInfo.Builder builderForValue)
Required. Additional information about this option.
.google.cloud.dialogflow.v2.Intent.Message.SelectItemInfo info = 1 [(.google.api.field_behavior) = REQUIRED];
public Intent.Message.ListSelect.Item.Builder mergeInfo(Intent.Message.SelectItemInfo value)
Required. Additional information about this option.
.google.cloud.dialogflow.v2.Intent.Message.SelectItemInfo info = 1 [(.google.api.field_behavior) = REQUIRED];
public Intent.Message.ListSelect.Item.Builder clearInfo()
Required. Additional information about this option.
.google.cloud.dialogflow.v2.Intent.Message.SelectItemInfo info = 1 [(.google.api.field_behavior) = REQUIRED];
public Intent.Message.SelectItemInfo.Builder getInfoBuilder()
Required. Additional information about this option.
.google.cloud.dialogflow.v2.Intent.Message.SelectItemInfo info = 1 [(.google.api.field_behavior) = REQUIRED];
public Intent.Message.SelectItemInfoOrBuilder getInfoOrBuilder()
Required. Additional information about this option.
.google.cloud.dialogflow.v2.Intent.Message.SelectItemInfo info = 1 [(.google.api.field_behavior) = REQUIRED];
getInfoOrBuilder
in interface Intent.Message.ListSelect.ItemOrBuilder
public String getTitle()
Required. The title of the list item.
string title = 2 [(.google.api.field_behavior) = REQUIRED];
getTitle
in interface Intent.Message.ListSelect.ItemOrBuilder
public ByteString getTitleBytes()
Required. The title of the list item.
string title = 2 [(.google.api.field_behavior) = REQUIRED];
getTitleBytes
in interface Intent.Message.ListSelect.ItemOrBuilder
public Intent.Message.ListSelect.Item.Builder setTitle(String value)
Required. The title of the list item.
string title = 2 [(.google.api.field_behavior) = REQUIRED];
value
- The title to set.public Intent.Message.ListSelect.Item.Builder clearTitle()
Required. The title of the list item.
string title = 2 [(.google.api.field_behavior) = REQUIRED];
public Intent.Message.ListSelect.Item.Builder setTitleBytes(ByteString value)
Required. The title of the list item.
string title = 2 [(.google.api.field_behavior) = REQUIRED];
value
- The bytes for title to set.public String getDescription()
Optional. The main text describing the item.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
getDescription
in interface Intent.Message.ListSelect.ItemOrBuilder
public ByteString getDescriptionBytes()
Optional. The main text describing the item.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
getDescriptionBytes
in interface Intent.Message.ListSelect.ItemOrBuilder
public Intent.Message.ListSelect.Item.Builder setDescription(String value)
Optional. The main text describing the item.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
value
- The description to set.public Intent.Message.ListSelect.Item.Builder clearDescription()
Optional. The main text describing the item.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
public Intent.Message.ListSelect.Item.Builder setDescriptionBytes(ByteString value)
Optional. The main text describing the item.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
value
- The bytes for description to set.public boolean hasImage()
Optional. The image to display.
.google.cloud.dialogflow.v2.Intent.Message.Image image = 4 [(.google.api.field_behavior) = OPTIONAL];
hasImage
in interface Intent.Message.ListSelect.ItemOrBuilder
public Intent.Message.Image getImage()
Optional. The image to display.
.google.cloud.dialogflow.v2.Intent.Message.Image image = 4 [(.google.api.field_behavior) = OPTIONAL];
getImage
in interface Intent.Message.ListSelect.ItemOrBuilder
public Intent.Message.ListSelect.Item.Builder setImage(Intent.Message.Image value)
Optional. The image to display.
.google.cloud.dialogflow.v2.Intent.Message.Image image = 4 [(.google.api.field_behavior) = OPTIONAL];
public Intent.Message.ListSelect.Item.Builder setImage(Intent.Message.Image.Builder builderForValue)
Optional. The image to display.
.google.cloud.dialogflow.v2.Intent.Message.Image image = 4 [(.google.api.field_behavior) = OPTIONAL];
public Intent.Message.ListSelect.Item.Builder mergeImage(Intent.Message.Image value)
Optional. The image to display.
.google.cloud.dialogflow.v2.Intent.Message.Image image = 4 [(.google.api.field_behavior) = OPTIONAL];
public Intent.Message.ListSelect.Item.Builder clearImage()
Optional. The image to display.
.google.cloud.dialogflow.v2.Intent.Message.Image image = 4 [(.google.api.field_behavior) = OPTIONAL];
public Intent.Message.Image.Builder getImageBuilder()
Optional. The image to display.
.google.cloud.dialogflow.v2.Intent.Message.Image image = 4 [(.google.api.field_behavior) = OPTIONAL];
public Intent.Message.ImageOrBuilder getImageOrBuilder()
Optional. The image to display.
.google.cloud.dialogflow.v2.Intent.Message.Image image = 4 [(.google.api.field_behavior) = OPTIONAL];
getImageOrBuilder
in interface Intent.Message.ListSelect.ItemOrBuilder
public final Intent.Message.ListSelect.Item.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Intent.Message.ListSelect.Item.Builder>
public final Intent.Message.ListSelect.Item.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Intent.Message.ListSelect.Item.Builder>
Copyright © 2022 Google LLC. All rights reserved.