- 4.59.0 (latest)
- 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.v2beta1.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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.MediaContent.ResponseMediaObject.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.Builder |
build()
public Intent.Message.MediaContent.ResponseMediaObject build()
Returns | |
---|---|
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject |
buildPartial()
public Intent.Message.MediaContent.ResponseMediaObject buildPartial()
Returns | |
---|---|
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject |
clear()
public Intent.Message.MediaContent.ResponseMediaObject.Builder clear()
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
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.v2beta1.Intent.Message.Image icon = 4;
Returns | |
---|---|
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.Builder |
clearImage()
public Intent.Message.MediaContent.ResponseMediaObject.Builder clearImage()
Returns | |
---|---|
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.v2beta1.Intent.Message.Image large_image = 3;
Returns | |
---|---|
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.Builder |
clearName()
public Intent.Message.MediaContent.ResponseMediaObject.Builder clearName()
Required. Name of media card.
string name = 1;
Returns | |
---|---|
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)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.Builder |
clone()
public Intent.Message.MediaContent.ResponseMediaObject.Builder clone()
Returns | |
---|---|
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.Builder |
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. |
getDefaultInstanceForType()
public Intent.Message.MediaContent.ResponseMediaObject getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject |
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. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getIcon()
public Intent.Message.Image getIcon()
Optional. Icon to display above media content.
.google.cloud.dialogflow.v2beta1.Intent.Message.Image icon = 4;
Returns | |
---|---|
Type | Description |
Intent.Message.Image |
The icon. |
getIconBuilder()
public Intent.Message.Image.Builder getIconBuilder()
Optional. Icon to display above media content.
.google.cloud.dialogflow.v2beta1.Intent.Message.Image icon = 4;
Returns | |
---|---|
Type | Description |
Intent.Message.Image.Builder |
getIconOrBuilder()
public Intent.Message.ImageOrBuilder getIconOrBuilder()
Optional. Icon to display above media content.
.google.cloud.dialogflow.v2beta1.Intent.Message.Image icon = 4;
Returns | |
---|---|
Type | Description |
Intent.Message.ImageOrBuilder |
getImageCase()
public Intent.Message.MediaContent.ResponseMediaObject.ImageCase getImageCase()
Returns | |
---|---|
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.ImageCase |
getLargeImage()
public Intent.Message.Image getLargeImage()
Optional. Image to display above media content.
.google.cloud.dialogflow.v2beta1.Intent.Message.Image large_image = 3;
Returns | |
---|---|
Type | Description |
Intent.Message.Image |
The largeImage. |
getLargeImageBuilder()
public Intent.Message.Image.Builder getLargeImageBuilder()
Optional. Image to display above media content.
.google.cloud.dialogflow.v2beta1.Intent.Message.Image large_image = 3;
Returns | |
---|---|
Type | Description |
Intent.Message.Image.Builder |
getLargeImageOrBuilder()
public Intent.Message.ImageOrBuilder getLargeImageOrBuilder()
Optional. Image to display above media content.
.google.cloud.dialogflow.v2beta1.Intent.Message.Image large_image = 3;
Returns | |
---|---|
Type | Description |
Intent.Message.ImageOrBuilder |
getName()
public String 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 | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
hasIcon()
public boolean 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Intent.Message.MediaContent.ResponseMediaObject other)
public Intent.Message.MediaContent.ResponseMediaObject.Builder mergeFrom(Intent.Message.MediaContent.ResponseMediaObject other)
Parameter | |
---|---|
Name | Description |
other |
Intent.Message.MediaContent.ResponseMediaObject |
Returns | |
---|---|
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Intent.Message.MediaContent.ResponseMediaObject.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Intent.Message.MediaContent.ResponseMediaObject.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
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.v2beta1.Intent.Message.Image icon = 4;
Parameter | |
---|---|
Name | Description |
value |
Intent.Message.Image |
Returns | |
---|---|
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.v2beta1.Intent.Message.Image large_image = 3;
Parameter | |
---|---|
Name | Description |
value |
Intent.Message.Image |
Returns | |
---|---|
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.MediaContent.ResponseMediaObject.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The contentUrl to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for contentUrl to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The description to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for description to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
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.v2beta1.Intent.Message.Image icon = 4;
Parameter | |
---|---|
Name | Description |
value |
Intent.Message.Image |
Returns | |
---|---|
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.v2beta1.Intent.Message.Image icon = 4;
Parameter | |
---|---|
Name | Description |
builderForValue |
Intent.Message.Image.Builder |
Returns | |
---|---|
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.v2beta1.Intent.Message.Image large_image = 3;
Parameter | |
---|---|
Name | Description |
value |
Intent.Message.Image |
Returns | |
---|---|
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.v2beta1.Intent.Message.Image large_image = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
Intent.Message.Image.Builder |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.MediaContent.ResponseMediaObject.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Intent.Message.MediaContent.ResponseMediaObject.Builder |