- 4.61.0 (latest)
- 4.60.0
- 4.59.0
- 4.58.0
- 4.57.0
- 4.55.0
- 4.54.0
- 4.53.0
- 4.52.0
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.47.0
- 4.46.0
- 4.45.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.33.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.1
- 4.8.6
- 4.7.5
- 4.6.0
- 4.5.11
- 4.4.0
- 4.3.1
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Intent.Message.MediaContent.ResponseMediaObject.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.MediaContent.ResponseMediaObject.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.Builder |
build()
public Intent.Message.MediaContent.ResponseMediaObject build()
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject |
buildPartial()
public Intent.Message.MediaContent.ResponseMediaObject buildPartial()
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject |
clear()
public Intent.Message.MediaContent.ResponseMediaObject.Builder clear()
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.Builder |
clearContentUrl()
public Intent.Message.MediaContent.ResponseMediaObject.Builder clearContentUrl()
Required. Url where the media is stored.
string content_url = 5;
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.Builder |
This builder for chaining. |
clearDescription()
public Intent.Message.MediaContent.ResponseMediaObject.Builder clearDescription()
Optional. Description of media card.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Intent.Message.MediaContent.ResponseMediaObject.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field |
FieldDescriptor |
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.Builder |
clearIcon()
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];
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.Builder |
clearImage()
public Intent.Message.MediaContent.ResponseMediaObject.Builder clearImage()
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.Builder |
clearLargeImage()
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];
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.Builder |
clearName()
public Intent.Message.MediaContent.ResponseMediaObject.Builder clearName()
Required. Name of media card.
string name = 1;
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Intent.Message.MediaContent.ResponseMediaObject.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof |
OneofDescriptor |
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.Builder |
clone()
public Intent.Message.MediaContent.ResponseMediaObject.Builder clone()
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.Builder |
getContentUrl()
public String getContentUrl()
Required. Url where the media is stored.
string content_url = 5;
Type | Description |
String |
The contentUrl. |
getContentUrlBytes()
public ByteString getContentUrlBytes()
Required. Url where the media is stored.
string content_url = 5;
Type | Description |
ByteString |
The bytes for contentUrl. |
getDefaultInstanceForType()
public Intent.Message.MediaContent.ResponseMediaObject getDefaultInstanceForType()
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject |
getDescription()
public String getDescription()
Optional. Description of media card.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Optional. Description of media card.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getIcon()
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];
Type | Description |
Intent.Message.Image |
The icon. |
getIconBuilder()
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];
Type | Description |
Intent.Message.Image.Builder |
getIconOrBuilder()
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];
Type | Description |
Intent.Message.ImageOrBuilder |
getImageCase()
public Intent.Message.MediaContent.ResponseMediaObject.ImageCase getImageCase()
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.ImageCase |
getLargeImage()
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];
Type | Description |
Intent.Message.Image |
The largeImage. |
getLargeImageBuilder()
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];
Type | Description |
Intent.Message.Image.Builder |
getLargeImageOrBuilder()
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];
Type | Description |
Intent.Message.ImageOrBuilder |
getName()
public String getName()
Required. Name of media card.
string name = 1;
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Required. Name of media card.
string name = 1;
Type | Description |
ByteString |
The bytes for name. |
hasIcon()
public boolean hasIcon()
Optional. Icon to display above media content.
.google.cloud.dialogflow.v2.Intent.Message.Image icon = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
boolean |
Whether the icon field is set. |
hasLargeImage()
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];
Type | Description |
boolean |
Whether the largeImage field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Intent.Message.MediaContent.ResponseMediaObject other)
public Intent.Message.MediaContent.ResponseMediaObject.Builder mergeFrom(Intent.Message.MediaContent.ResponseMediaObject other)
Name | Description |
other |
Intent.Message.MediaContent.ResponseMediaObject |
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Intent.Message.MediaContent.ResponseMediaObject.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Intent.Message.MediaContent.ResponseMediaObject.Builder mergeFrom(Message other)
Name | Description |
other |
Message |
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.Builder |
mergeIcon(Intent.Message.Image value)
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];
Name | Description |
value |
Intent.Message.Image |
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.Builder |
mergeLargeImage(Intent.Message.Image value)
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];
Name | Description |
value |
Intent.Message.Image |
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.MediaContent.ResponseMediaObject.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.Builder |
setContentUrl(String value)
public Intent.Message.MediaContent.ResponseMediaObject.Builder setContentUrl(String value)
Required. Url where the media is stored.
string content_url = 5;
Name | Description |
value |
String The contentUrl to set. |
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.Builder |
This builder for chaining. |
setContentUrlBytes(ByteString value)
public Intent.Message.MediaContent.ResponseMediaObject.Builder setContentUrlBytes(ByteString value)
Required. Url where the media is stored.
string content_url = 5;
Name | Description |
value |
ByteString The bytes for contentUrl to set. |
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.Builder |
This builder for chaining. |
setDescription(String value)
public Intent.Message.MediaContent.ResponseMediaObject.Builder setDescription(String value)
Optional. Description of media card.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value |
String The description to set. |
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public Intent.Message.MediaContent.ResponseMediaObject.Builder setDescriptionBytes(ByteString value)
Optional. Description of media card.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value |
ByteString The bytes for description to set. |
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.MediaContent.ResponseMediaObject.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.Builder |
setIcon(Intent.Message.Image value)
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];
Name | Description |
value |
Intent.Message.Image |
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.Builder |
setIcon(Intent.Message.Image.Builder builderForValue)
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];
Name | Description |
builderForValue |
Intent.Message.Image.Builder |
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.Builder |
setLargeImage(Intent.Message.Image value)
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];
Name | Description |
value |
Intent.Message.Image |
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.Builder |
setLargeImage(Intent.Message.Image.Builder builderForValue)
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];
Name | Description |
builderForValue |
Intent.Message.Image.Builder |
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.Builder |
setName(String value)
public Intent.Message.MediaContent.ResponseMediaObject.Builder setName(String value)
Required. Name of media card.
string name = 1;
Name | Description |
value |
String The name to set. |
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Intent.Message.MediaContent.ResponseMediaObject.Builder setNameBytes(ByteString value)
Required. Name of media card.
string name = 1;
Name | Description |
value |
ByteString The bytes for name to set. |
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Intent.Message.MediaContent.ResponseMediaObject.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.MediaContent.ResponseMediaObject.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.Builder |