public static final class Intent.Message.MediaContent.ResponseMediaObject.Builder extends GeneratedMessageV3.Builder<Intent.Message.MediaContent.ResponseMediaObject.Builder> implements Intent.Message.MediaContent.ResponseMediaObjectOrBuilder
Response media object for media content card.Protobuf type
google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaObject
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()
public Intent.Message.MediaContent.ResponseMediaObject.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Intent.Message.MediaContent.ResponseMediaObject.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Intent.Message.MediaContent.ResponseMediaObject.Builder>
public Intent.Message.MediaContent.ResponseMediaObject getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Intent.Message.MediaContent.ResponseMediaObject build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Intent.Message.MediaContent.ResponseMediaObject buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Intent.Message.MediaContent.ResponseMediaObject.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Intent.Message.MediaContent.ResponseMediaObject.Builder>
public Intent.Message.MediaContent.ResponseMediaObject.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Intent.Message.MediaContent.ResponseMediaObject.Builder>
public Intent.Message.MediaContent.ResponseMediaObject.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Intent.Message.MediaContent.ResponseMediaObject.Builder>
public Intent.Message.MediaContent.ResponseMediaObject.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Intent.Message.MediaContent.ResponseMediaObject.Builder>
public Intent.Message.MediaContent.ResponseMediaObject.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Intent.Message.MediaContent.ResponseMediaObject.Builder>
public Intent.Message.MediaContent.ResponseMediaObject.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Intent.Message.MediaContent.ResponseMediaObject.Builder>
public Intent.Message.MediaContent.ResponseMediaObject.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Intent.Message.MediaContent.ResponseMediaObject.Builder>
public Intent.Message.MediaContent.ResponseMediaObject.Builder mergeFrom(Intent.Message.MediaContent.ResponseMediaObject other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Intent.Message.MediaContent.ResponseMediaObject.Builder>
public Intent.Message.MediaContent.ResponseMediaObject.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.MediaContent.ResponseMediaObject.Builder>
IOException
public Intent.Message.MediaContent.ResponseMediaObject.ImageCase getImageCase()
getImageCase
in interface Intent.Message.MediaContent.ResponseMediaObjectOrBuilder
public Intent.Message.MediaContent.ResponseMediaObject.Builder clearImage()
public String getName()
Required. Name of media card.
string name = 1;
getName
in interface Intent.Message.MediaContent.ResponseMediaObjectOrBuilder
public ByteString getNameBytes()
Required. Name of media card.
string name = 1;
getNameBytes
in interface Intent.Message.MediaContent.ResponseMediaObjectOrBuilder
public Intent.Message.MediaContent.ResponseMediaObject.Builder setName(String value)
Required. Name of media card.
string name = 1;
value
- The name to set.public Intent.Message.MediaContent.ResponseMediaObject.Builder clearName()
Required. Name of media card.
string name = 1;
public Intent.Message.MediaContent.ResponseMediaObject.Builder setNameBytes(ByteString value)
Required. Name of media card.
string name = 1;
value
- The bytes for name to set.public String getDescription()
Optional. Description of media card.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
getDescription
in interface Intent.Message.MediaContent.ResponseMediaObjectOrBuilder
public ByteString getDescriptionBytes()
Optional. Description of media card.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
getDescriptionBytes
in interface Intent.Message.MediaContent.ResponseMediaObjectOrBuilder
public Intent.Message.MediaContent.ResponseMediaObject.Builder setDescription(String value)
Optional. Description of media card.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
value
- The description to set.public Intent.Message.MediaContent.ResponseMediaObject.Builder clearDescription()
Optional. Description of media card.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
public Intent.Message.MediaContent.ResponseMediaObject.Builder setDescriptionBytes(ByteString value)
Optional. Description of media card.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
value
- The bytes for description to set.public boolean hasLargeImage()
Optional. Image to display above media content.
.google.cloud.dialogflow.v2.Intent.Message.Image large_image = 3 [(.google.api.field_behavior) = OPTIONAL];
hasLargeImage
in interface Intent.Message.MediaContent.ResponseMediaObjectOrBuilder
public Intent.Message.Image getLargeImage()
Optional. Image to display above media content.
.google.cloud.dialogflow.v2.Intent.Message.Image large_image = 3 [(.google.api.field_behavior) = OPTIONAL];
getLargeImage
in interface Intent.Message.MediaContent.ResponseMediaObjectOrBuilder
public Intent.Message.MediaContent.ResponseMediaObject.Builder setLargeImage(Intent.Message.Image value)
Optional. Image to display above media content.
.google.cloud.dialogflow.v2.Intent.Message.Image large_image = 3 [(.google.api.field_behavior) = OPTIONAL];
public Intent.Message.MediaContent.ResponseMediaObject.Builder setLargeImage(Intent.Message.Image.Builder builderForValue)
Optional. Image to display above media content.
.google.cloud.dialogflow.v2.Intent.Message.Image large_image = 3 [(.google.api.field_behavior) = OPTIONAL];
public Intent.Message.MediaContent.ResponseMediaObject.Builder mergeLargeImage(Intent.Message.Image value)
Optional. Image to display above media content.
.google.cloud.dialogflow.v2.Intent.Message.Image large_image = 3 [(.google.api.field_behavior) = OPTIONAL];
public Intent.Message.MediaContent.ResponseMediaObject.Builder clearLargeImage()
Optional. Image to display above media content.
.google.cloud.dialogflow.v2.Intent.Message.Image large_image = 3 [(.google.api.field_behavior) = OPTIONAL];
public Intent.Message.Image.Builder getLargeImageBuilder()
Optional. Image to display above media content.
.google.cloud.dialogflow.v2.Intent.Message.Image large_image = 3 [(.google.api.field_behavior) = OPTIONAL];
public Intent.Message.ImageOrBuilder getLargeImageOrBuilder()
Optional. Image to display above media content.
.google.cloud.dialogflow.v2.Intent.Message.Image large_image = 3 [(.google.api.field_behavior) = OPTIONAL];
getLargeImageOrBuilder
in interface Intent.Message.MediaContent.ResponseMediaObjectOrBuilder
public boolean hasIcon()
Optional. Icon to display above media content.
.google.cloud.dialogflow.v2.Intent.Message.Image icon = 4 [(.google.api.field_behavior) = OPTIONAL];
hasIcon
in interface Intent.Message.MediaContent.ResponseMediaObjectOrBuilder
public Intent.Message.Image getIcon()
Optional. Icon to display above media content.
.google.cloud.dialogflow.v2.Intent.Message.Image icon = 4 [(.google.api.field_behavior) = OPTIONAL];
getIcon
in interface Intent.Message.MediaContent.ResponseMediaObjectOrBuilder
public Intent.Message.MediaContent.ResponseMediaObject.Builder setIcon(Intent.Message.Image value)
Optional. Icon to display above media content.
.google.cloud.dialogflow.v2.Intent.Message.Image icon = 4 [(.google.api.field_behavior) = OPTIONAL];
public Intent.Message.MediaContent.ResponseMediaObject.Builder setIcon(Intent.Message.Image.Builder builderForValue)
Optional. Icon to display above media content.
.google.cloud.dialogflow.v2.Intent.Message.Image icon = 4 [(.google.api.field_behavior) = OPTIONAL];
public Intent.Message.MediaContent.ResponseMediaObject.Builder mergeIcon(Intent.Message.Image value)
Optional. Icon to display above media content.
.google.cloud.dialogflow.v2.Intent.Message.Image icon = 4 [(.google.api.field_behavior) = OPTIONAL];
public Intent.Message.MediaContent.ResponseMediaObject.Builder clearIcon()
Optional. Icon to display above media content.
.google.cloud.dialogflow.v2.Intent.Message.Image icon = 4 [(.google.api.field_behavior) = OPTIONAL];
public Intent.Message.Image.Builder getIconBuilder()
Optional. Icon to display above media content.
.google.cloud.dialogflow.v2.Intent.Message.Image icon = 4 [(.google.api.field_behavior) = OPTIONAL];
public Intent.Message.ImageOrBuilder getIconOrBuilder()
Optional. Icon to display above media content.
.google.cloud.dialogflow.v2.Intent.Message.Image icon = 4 [(.google.api.field_behavior) = OPTIONAL];
getIconOrBuilder
in interface Intent.Message.MediaContent.ResponseMediaObjectOrBuilder
public String getContentUrl()
Required. Url where the media is stored.
string content_url = 5;
getContentUrl
in interface Intent.Message.MediaContent.ResponseMediaObjectOrBuilder
public ByteString getContentUrlBytes()
Required. Url where the media is stored.
string content_url = 5;
getContentUrlBytes
in interface Intent.Message.MediaContent.ResponseMediaObjectOrBuilder
public Intent.Message.MediaContent.ResponseMediaObject.Builder setContentUrl(String value)
Required. Url where the media is stored.
string content_url = 5;
value
- The contentUrl to set.public Intent.Message.MediaContent.ResponseMediaObject.Builder clearContentUrl()
Required. Url where the media is stored.
string content_url = 5;
public Intent.Message.MediaContent.ResponseMediaObject.Builder setContentUrlBytes(ByteString value)
Required. Url where the media is stored.
string content_url = 5;
value
- The bytes for contentUrl to set.public final Intent.Message.MediaContent.ResponseMediaObject.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Intent.Message.MediaContent.ResponseMediaObject.Builder>
public final Intent.Message.MediaContent.ResponseMediaObject.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Intent.Message.MediaContent.ResponseMediaObject.Builder>
Copyright © 2022 Google LLC. All rights reserved.