public static final class Intent.Message.MediaContent.Builder extends GeneratedMessageV3.Builder<Intent.Message.MediaContent.Builder> implements Intent.Message.MediaContentOrBuilder
The media content card for Actions on Google.
Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllMediaObjects(Iterable<? extends Intent.Message.MediaContent.ResponseMediaObject> values)
public Intent.Message.MediaContent.Builder addAllMediaObjects(Iterable<? extends Intent.Message.MediaContent.ResponseMediaObject> values)
Required. List of media objects.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaObject>
|
addMediaObjects(Intent.Message.MediaContent.ResponseMediaObject value)
public Intent.Message.MediaContent.Builder addMediaObjects(Intent.Message.MediaContent.ResponseMediaObject value)
Required. List of media objects.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
addMediaObjects(Intent.Message.MediaContent.ResponseMediaObject.Builder builderForValue)
public Intent.Message.MediaContent.Builder addMediaObjects(Intent.Message.MediaContent.ResponseMediaObject.Builder builderForValue)
Required. List of media objects.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
addMediaObjects(int index, Intent.Message.MediaContent.ResponseMediaObject value)
public Intent.Message.MediaContent.Builder addMediaObjects(int index, Intent.Message.MediaContent.ResponseMediaObject value)
Required. List of media objects.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
addMediaObjects(int index, Intent.Message.MediaContent.ResponseMediaObject.Builder builderForValue)
public Intent.Message.MediaContent.Builder addMediaObjects(int index, Intent.Message.MediaContent.ResponseMediaObject.Builder builderForValue)
Required. List of media objects.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
addMediaObjectsBuilder()
public Intent.Message.MediaContent.ResponseMediaObject.Builder addMediaObjectsBuilder()
Required. List of media objects.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
addMediaObjectsBuilder(int index)
public Intent.Message.MediaContent.ResponseMediaObject.Builder addMediaObjectsBuilder(int index)
Required. List of media objects.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.MediaContent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Intent.Message.MediaContent build()
buildPartial()
public Intent.Message.MediaContent buildPartial()
clear()
public Intent.Message.MediaContent.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Intent.Message.MediaContent.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMediaObjects()
public Intent.Message.MediaContent.Builder clearMediaObjects()
Required. List of media objects.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
clearMediaType()
public Intent.Message.MediaContent.Builder clearMediaType()
Optional. What type of media is the content (ie "audio").
.google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaType media_type = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public Intent.Message.MediaContent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Intent.Message.MediaContent.Builder clone()
Overrides
getDefaultInstanceForType()
public Intent.Message.MediaContent getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMediaObjects(int index)
public Intent.Message.MediaContent.ResponseMediaObject getMediaObjects(int index)
Required. List of media objects.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
Parameter |
Name |
Description |
index |
int
|
getMediaObjectsBuilder(int index)
public Intent.Message.MediaContent.ResponseMediaObject.Builder getMediaObjectsBuilder(int index)
Required. List of media objects.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
Parameter |
Name |
Description |
index |
int
|
getMediaObjectsBuilderList()
public List<Intent.Message.MediaContent.ResponseMediaObject.Builder> getMediaObjectsBuilderList()
Required. List of media objects.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
getMediaObjectsCount()
public int getMediaObjectsCount()
Required. List of media objects.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
Returns |
Type |
Description |
int |
|
getMediaObjectsList()
public List<Intent.Message.MediaContent.ResponseMediaObject> getMediaObjectsList()
Required. List of media objects.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
getMediaObjectsOrBuilder(int index)
public Intent.Message.MediaContent.ResponseMediaObjectOrBuilder getMediaObjectsOrBuilder(int index)
Required. List of media objects.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
Parameter |
Name |
Description |
index |
int
|
getMediaObjectsOrBuilderList()
public List<? extends Intent.Message.MediaContent.ResponseMediaObjectOrBuilder> getMediaObjectsOrBuilderList()
Required. List of media objects.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
Returns |
Type |
Description |
List<? extends com.google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaObjectOrBuilder> |
|
getMediaType()
public Intent.Message.MediaContent.ResponseMediaType getMediaType()
Optional. What type of media is the content (ie "audio").
.google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaType media_type = 1;
getMediaTypeValue()
public int getMediaTypeValue()
Optional. What type of media is the content (ie "audio").
.google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaType media_type = 1;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for mediaType.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Intent.Message.MediaContent other)
public Intent.Message.MediaContent.Builder mergeFrom(Intent.Message.MediaContent other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Intent.Message.MediaContent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Intent.Message.MediaContent.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.MediaContent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeMediaObjects(int index)
public Intent.Message.MediaContent.Builder removeMediaObjects(int index)
Required. List of media objects.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.MediaContent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMediaObjects(int index, Intent.Message.MediaContent.ResponseMediaObject value)
public Intent.Message.MediaContent.Builder setMediaObjects(int index, Intent.Message.MediaContent.ResponseMediaObject value)
Required. List of media objects.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
setMediaObjects(int index, Intent.Message.MediaContent.ResponseMediaObject.Builder builderForValue)
public Intent.Message.MediaContent.Builder setMediaObjects(int index, Intent.Message.MediaContent.ResponseMediaObject.Builder builderForValue)
Required. List of media objects.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
setMediaType(Intent.Message.MediaContent.ResponseMediaType value)
public Intent.Message.MediaContent.Builder setMediaType(Intent.Message.MediaContent.ResponseMediaType value)
Optional. What type of media is the content (ie "audio").
.google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaType media_type = 1;
setMediaTypeValue(int value)
public Intent.Message.MediaContent.Builder setMediaTypeValue(int value)
Optional. What type of media is the content (ie "audio").
.google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaType media_type = 1;
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for mediaType to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Intent.Message.MediaContent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.MediaContent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides