public static final class Intent.Message.Image extends GeneratedMessageV3 implements Intent.Message.ImageOrBuilder
The image response message.
Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.Image
Static Fields
ACCESSIBILITY_TEXT_FIELD_NUMBER
public static final int ACCESSIBILITY_TEXT_FIELD_NUMBER
Field Value
IMAGE_URI_FIELD_NUMBER
public static final int IMAGE_URI_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Intent.Message.Image getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Intent.Message.Image.Builder newBuilder()
Returns
newBuilder(Intent.Message.Image prototype)
public static Intent.Message.Image.Builder newBuilder(Intent.Message.Image prototype)
Parameter
Returns
public static Intent.Message.Image parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Intent.Message.Image parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Intent.Message.Image parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.Image parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Intent.Message.Image parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.Image parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Intent.Message.Image parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Intent.Message.Image parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Intent.Message.Image parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Intent.Message.Image parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Intent.Message.Image parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.Image parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Intent.Message.Image> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAccessibilityText()
public String getAccessibilityText()
A text description of the image to be used for accessibility,
e.g., screen readers. Required if image_uri is set for CarouselSelect.
string accessibility_text = 2;
Returns
Type | Description |
String | The accessibilityText.
|
getAccessibilityTextBytes()
public ByteString getAccessibilityTextBytes()
A text description of the image to be used for accessibility,
e.g., screen readers. Required if image_uri is set for CarouselSelect.
string accessibility_text = 2;
Returns
Type | Description |
ByteString | The bytes for accessibilityText.
|
getDefaultInstanceForType()
public Intent.Message.Image getDefaultInstanceForType()
Returns
getImageUri()
public String getImageUri()
Optional. The public URI to an image file.
string image_uri = 1;
Returns
Type | Description |
String | The imageUri.
|
getImageUriBytes()
public ByteString getImageUriBytes()
Optional. The public URI to an image file.
string image_uri = 1;
Returns
getParserForType()
public Parser<Intent.Message.Image> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Intent.Message.Image.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Intent.Message.Image.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Intent.Message.Image.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions