public static final class Intent.Message.MediaContent.ResponseMediaObject extends GeneratedMessageV3 implements Intent.Message.MediaContent.ResponseMediaObjectOrBuilder
Response media object for media content card.
Protobuf type
google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaObject
Fields
CONTENT_URL_FIELD_NUMBER
public static final int CONTENT_URL_FIELD_NUMBER
Field Value
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
ICON_FIELD_NUMBER
public static final int ICON_FIELD_NUMBER
Field Value
LARGE_IMAGE_FIELD_NUMBER
public static final int LARGE_IMAGE_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getContentUrl()
public String getContentUrl()
Required. Url where the media is stored.
string content_url = 5;
Returns
Type | Description |
String | The contentUrl.
|
getContentUrlBytes()
public ByteString getContentUrlBytes()
Required. Url where the media is stored.
string content_url = 5;
Returns
Type | Description |
ByteString | The bytes for contentUrl.
|
getDefaultInstance()
public static Intent.Message.MediaContent.ResponseMediaObject getDefaultInstance()
Returns
getDefaultInstanceForType()
public Intent.Message.MediaContent.ResponseMediaObject getDefaultInstanceForType()
Returns
getDescription()
public String getDescription()
Optional. Description of media card.
string description = 2;
Returns
Type | Description |
String | The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
Optional. Description of media card.
string description = 2;
Returns
Type | Description |
ByteString | The bytes for description.
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getIcon()
public Intent.Message.Image getIcon()
Optional. Icon to display above media content.
.google.cloud.dialogflow.v2beta1.Intent.Message.Image icon = 4;
Returns
getIconOrBuilder()
public Intent.Message.ImageOrBuilder getIconOrBuilder()
Optional. Icon to display above media content.
.google.cloud.dialogflow.v2beta1.Intent.Message.Image icon = 4;
Returns
getImageCase()
public Intent.Message.MediaContent.ResponseMediaObject.ImageCase getImageCase()
Returns
getLargeImage()
public Intent.Message.Image getLargeImage()
Optional. Image to display above media content.
.google.cloud.dialogflow.v2beta1.Intent.Message.Image large_image = 3;
Returns
getLargeImageOrBuilder()
public Intent.Message.ImageOrBuilder getLargeImageOrBuilder()
Optional. Image to display above media content.
.google.cloud.dialogflow.v2beta1.Intent.Message.Image large_image = 3;
Returns
getName()
Required. Name of media card.
string name = 1;
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Required. Name of media card.
string name = 1;
Returns
getParserForType()
public Parser<Intent.Message.MediaContent.ResponseMediaObject> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasIcon()
Optional. Icon to display above media content.
.google.cloud.dialogflow.v2beta1.Intent.Message.Image icon = 4;
Returns
Type | Description |
boolean | Whether the icon field is set.
|
hasLargeImage()
public boolean hasLargeImage()
Optional. Image to display above media content.
.google.cloud.dialogflow.v2beta1.Intent.Message.Image large_image = 3;
Returns
Type | Description |
boolean | Whether the largeImage field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static Intent.Message.MediaContent.ResponseMediaObject.Builder newBuilder()
Returns
newBuilder(Intent.Message.MediaContent.ResponseMediaObject prototype)
public static Intent.Message.MediaContent.ResponseMediaObject.Builder newBuilder(Intent.Message.MediaContent.ResponseMediaObject prototype)
Parameter
Returns
newBuilderForType()
public Intent.Message.MediaContent.ResponseMediaObject.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Intent.Message.MediaContent.ResponseMediaObject.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
parseDelimitedFrom(InputStream input)
public static Intent.Message.MediaContent.ResponseMediaObject parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.MediaContent.ResponseMediaObject parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Intent.Message.MediaContent.ResponseMediaObject parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.MediaContent.ResponseMediaObject parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Intent.Message.MediaContent.ResponseMediaObject parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.MediaContent.ResponseMediaObject parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(CodedInputStream input)
public static Intent.Message.MediaContent.ResponseMediaObject parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.MediaContent.ResponseMediaObject parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(InputStream input)
public static Intent.Message.MediaContent.ResponseMediaObject parseFrom(InputStream input)
Parameter
Returns
Exceptions
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.MediaContent.ResponseMediaObject parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Intent.Message.MediaContent.ResponseMediaObject parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.MediaContent.ResponseMediaObject parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Intent.Message.MediaContent.ResponseMediaObject> parser()
Returns
toBuilder()
public Intent.Message.MediaContent.ResponseMediaObject.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions