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.v2.Intent.Message.MediaContent
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Intent.Message.MediaContent.Builder>
public Intent.Message.MediaContent.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Intent.Message.MediaContent.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Intent.Message.MediaContent.Builder>
public Intent.Message.MediaContent getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Intent.Message.MediaContent build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Intent.Message.MediaContent buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Intent.Message.MediaContent.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Intent.Message.MediaContent.Builder>
public Intent.Message.MediaContent.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Intent.Message.MediaContent.Builder>
public Intent.Message.MediaContent.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Intent.Message.MediaContent.Builder>
public Intent.Message.MediaContent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Intent.Message.MediaContent.Builder>
public Intent.Message.MediaContent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Intent.Message.MediaContent.Builder>
public Intent.Message.MediaContent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Intent.Message.MediaContent.Builder>
public Intent.Message.MediaContent.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Intent.Message.MediaContent.Builder>
public Intent.Message.MediaContent.Builder mergeFrom(Intent.Message.MediaContent other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Intent.Message.MediaContent.Builder>
public Intent.Message.MediaContent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Intent.Message.MediaContent.Builder>
IOException
public int getMediaTypeValue()
Optional. What type of media is the content (ie "audio").
.google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaType media_type = 1 [(.google.api.field_behavior) = OPTIONAL];
getMediaTypeValue
in interface Intent.Message.MediaContentOrBuilder
public Intent.Message.MediaContent.Builder setMediaTypeValue(int value)
Optional. What type of media is the content (ie "audio").
.google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaType media_type = 1 [(.google.api.field_behavior) = OPTIONAL];
value
- The enum numeric value on the wire for mediaType to set.public Intent.Message.MediaContent.ResponseMediaType getMediaType()
Optional. What type of media is the content (ie "audio").
.google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaType media_type = 1 [(.google.api.field_behavior) = OPTIONAL];
getMediaType
in interface Intent.Message.MediaContentOrBuilder
public Intent.Message.MediaContent.Builder setMediaType(Intent.Message.MediaContent.ResponseMediaType value)
Optional. What type of media is the content (ie "audio").
.google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaType media_type = 1 [(.google.api.field_behavior) = OPTIONAL];
value
- The mediaType to set.public Intent.Message.MediaContent.Builder clearMediaType()
Optional. What type of media is the content (ie "audio").
.google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaType media_type = 1 [(.google.api.field_behavior) = OPTIONAL];
public List<Intent.Message.MediaContent.ResponseMediaObject> getMediaObjectsList()
Required. List of media objects.
repeated .google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
getMediaObjectsList
in interface Intent.Message.MediaContentOrBuilder
public int getMediaObjectsCount()
Required. List of media objects.
repeated .google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
getMediaObjectsCount
in interface Intent.Message.MediaContentOrBuilder
public Intent.Message.MediaContent.ResponseMediaObject getMediaObjects(int index)
Required. List of media objects.
repeated .google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
getMediaObjects
in interface Intent.Message.MediaContentOrBuilder
public Intent.Message.MediaContent.Builder setMediaObjects(int index, Intent.Message.MediaContent.ResponseMediaObject value)
Required. List of media objects.
repeated .google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
public Intent.Message.MediaContent.Builder setMediaObjects(int index, Intent.Message.MediaContent.ResponseMediaObject.Builder builderForValue)
Required. List of media objects.
repeated .google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
public Intent.Message.MediaContent.Builder addMediaObjects(Intent.Message.MediaContent.ResponseMediaObject value)
Required. List of media objects.
repeated .google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
public Intent.Message.MediaContent.Builder addMediaObjects(int index, Intent.Message.MediaContent.ResponseMediaObject value)
Required. List of media objects.
repeated .google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
public Intent.Message.MediaContent.Builder addMediaObjects(Intent.Message.MediaContent.ResponseMediaObject.Builder builderForValue)
Required. List of media objects.
repeated .google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
public Intent.Message.MediaContent.Builder addMediaObjects(int index, Intent.Message.MediaContent.ResponseMediaObject.Builder builderForValue)
Required. List of media objects.
repeated .google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
public Intent.Message.MediaContent.Builder addAllMediaObjects(Iterable<? extends Intent.Message.MediaContent.ResponseMediaObject> values)
Required. List of media objects.
repeated .google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
public Intent.Message.MediaContent.Builder clearMediaObjects()
Required. List of media objects.
repeated .google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
public Intent.Message.MediaContent.Builder removeMediaObjects(int index)
Required. List of media objects.
repeated .google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
public Intent.Message.MediaContent.ResponseMediaObject.Builder getMediaObjectsBuilder(int index)
Required. List of media objects.
repeated .google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
public Intent.Message.MediaContent.ResponseMediaObjectOrBuilder getMediaObjectsOrBuilder(int index)
Required. List of media objects.
repeated .google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
getMediaObjectsOrBuilder
in interface Intent.Message.MediaContentOrBuilder
public List<? extends Intent.Message.MediaContent.ResponseMediaObjectOrBuilder> getMediaObjectsOrBuilderList()
Required. List of media objects.
repeated .google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
getMediaObjectsOrBuilderList
in interface Intent.Message.MediaContentOrBuilder
public Intent.Message.MediaContent.ResponseMediaObject.Builder addMediaObjectsBuilder()
Required. List of media objects.
repeated .google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
public Intent.Message.MediaContent.ResponseMediaObject.Builder addMediaObjectsBuilder(int index)
Required. List of media objects.
repeated .google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
public List<Intent.Message.MediaContent.ResponseMediaObject.Builder> getMediaObjectsBuilderList()
Required. List of media objects.
repeated .google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
public final Intent.Message.MediaContent.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Intent.Message.MediaContent.Builder>
public final Intent.Message.MediaContent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Intent.Message.MediaContent.Builder>
Copyright © 2022 Google LLC. All rights reserved.