public static final class Intent.Message.MediaContent extends com.google.protobuf.GeneratedMessageV3 implements Intent.Message.MediaContentOrBuilder
The media content card for Actions on Google.Protobuf type
google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent| Modifier and Type | Class and Description |
|---|---|
static class |
Intent.Message.MediaContent.Builder
The media content card for Actions on Google.
|
static class |
Intent.Message.MediaContent.ResponseMediaObject
Response media object for media content card.
|
static interface |
Intent.Message.MediaContent.ResponseMediaObjectOrBuilder |
static class |
Intent.Message.MediaContent.ResponseMediaType
Format of response media type.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
MEDIA_OBJECTS_FIELD_NUMBER |
static int |
MEDIA_TYPE_FIELD_NUMBER |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int MEDIA_TYPE_FIELD_NUMBER
public static final int MEDIA_OBJECTS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getMediaTypeValue()
Optional. What type of media is the content (ie "audio").
.google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaType media_type = 1;
getMediaTypeValue in interface Intent.Message.MediaContentOrBuilderpublic 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;
getMediaType in interface Intent.Message.MediaContentOrBuilderpublic List<Intent.Message.MediaContent.ResponseMediaObject> getMediaObjectsList()
Required. List of media objects.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
getMediaObjectsList in interface Intent.Message.MediaContentOrBuilderpublic List<? extends Intent.Message.MediaContent.ResponseMediaObjectOrBuilder> getMediaObjectsOrBuilderList()
Required. List of media objects.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
getMediaObjectsOrBuilderList in interface Intent.Message.MediaContentOrBuilderpublic int getMediaObjectsCount()
Required. List of media objects.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
getMediaObjectsCount in interface Intent.Message.MediaContentOrBuilderpublic Intent.Message.MediaContent.ResponseMediaObject getMediaObjects(int index)
Required. List of media objects.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
getMediaObjects in interface Intent.Message.MediaContentOrBuilderpublic Intent.Message.MediaContent.ResponseMediaObjectOrBuilder getMediaObjectsOrBuilder(int index)
Required. List of media objects.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaObject media_objects = 2;
getMediaObjectsOrBuilder in interface Intent.Message.MediaContentOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Intent.Message.MediaContent parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Intent.Message.MediaContent parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Intent.Message.MediaContent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Intent.Message.MediaContent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Intent.Message.MediaContent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Intent.Message.MediaContent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Intent.Message.MediaContent parseFrom(InputStream input) throws IOException
IOExceptionpublic static Intent.Message.MediaContent parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Intent.Message.MediaContent parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Intent.Message.MediaContent parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Intent.Message.MediaContent parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Intent.Message.MediaContent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Intent.Message.MediaContent.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Intent.Message.MediaContent.Builder newBuilder()
public static Intent.Message.MediaContent.Builder newBuilder(Intent.Message.MediaContent prototype)
public Intent.Message.MediaContent.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Intent.Message.MediaContent.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Intent.Message.MediaContent getDefaultInstance()
public static com.google.protobuf.Parser<Intent.Message.MediaContent> parser()
public com.google.protobuf.Parser<Intent.Message.MediaContent> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Intent.Message.MediaContent getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.