Class GenerateVideoResponse
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1beta1.GenerateVideoResponse
- All Implemented Interfaces:
GenerateVideoResponseOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class GenerateVideoResponse
extends com.google.protobuf.GeneratedMessage
implements GenerateVideoResponseOrBuilder
Generate video response.Protobuf type
google.cloud.aiplatform.v1beta1.GenerateVideoResponse- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classGenerate video response.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic GenerateVideoResponsestatic final com.google.protobuf.Descriptors.DescriptorgetGeneratedSamples(int index) The cloud storage uris of the generated videos.com.google.protobuf.ByteStringgetGeneratedSamplesBytes(int index) The cloud storage uris of the generated videos.intThe cloud storage uris of the generated videos.com.google.protobuf.ProtocolStringListThe cloud storage uris of the generated videos.com.google.protobuf.Parser<GenerateVideoResponse>intReturns if any videos were filtered due to RAI policies.getRaiMediaFilteredReasons(int index) Returns rai failure reasons if any.com.google.protobuf.ByteStringgetRaiMediaFilteredReasonsBytes(int index) Returns rai failure reasons if any.intReturns rai failure reasons if any.com.google.protobuf.ProtocolStringListReturns rai failure reasons if any.intinthashCode()booleanReturns if any videos were filtered due to RAI policies.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(GenerateVideoResponse prototype) protected GenerateVideoResponse.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static GenerateVideoResponseparseDelimitedFrom(InputStream input) static GenerateVideoResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GenerateVideoResponseparseFrom(byte[] data) static GenerateVideoResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GenerateVideoResponseparseFrom(com.google.protobuf.ByteString data) static GenerateVideoResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GenerateVideoResponseparseFrom(com.google.protobuf.CodedInputStream input) static GenerateVideoResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GenerateVideoResponseparseFrom(InputStream input) static GenerateVideoResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GenerateVideoResponseparseFrom(ByteBuffer data) static GenerateVideoResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<GenerateVideoResponse>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
GENERATED_SAMPLES_FIELD_NUMBER
public static final int GENERATED_SAMPLES_FIELD_NUMBER- See Also:
-
RAI_MEDIA_FILTERED_COUNT_FIELD_NUMBER
public static final int RAI_MEDIA_FILTERED_COUNT_FIELD_NUMBER- See Also:
-
RAI_MEDIA_FILTERED_REASONS_FIELD_NUMBER
public static final int RAI_MEDIA_FILTERED_REASONS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getGeneratedSamplesList
public com.google.protobuf.ProtocolStringList getGeneratedSamplesList()The cloud storage uris of the generated videos.
repeated string generated_samples = 1;- Specified by:
getGeneratedSamplesListin interfaceGenerateVideoResponseOrBuilder- Returns:
- A list containing the generatedSamples.
-
getGeneratedSamplesCount
public int getGeneratedSamplesCount()The cloud storage uris of the generated videos.
repeated string generated_samples = 1;- Specified by:
getGeneratedSamplesCountin interfaceGenerateVideoResponseOrBuilder- Returns:
- The count of generatedSamples.
-
getGeneratedSamples
The cloud storage uris of the generated videos.
repeated string generated_samples = 1;- Specified by:
getGeneratedSamplesin interfaceGenerateVideoResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The generatedSamples at the given index.
-
getGeneratedSamplesBytes
public com.google.protobuf.ByteString getGeneratedSamplesBytes(int index) The cloud storage uris of the generated videos.
repeated string generated_samples = 1;- Specified by:
getGeneratedSamplesBytesin interfaceGenerateVideoResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the generatedSamples at the given index.
-
hasRaiMediaFilteredCount
public boolean hasRaiMediaFilteredCount()Returns if any videos were filtered due to RAI policies.
optional int32 rai_media_filtered_count = 2;- Specified by:
hasRaiMediaFilteredCountin interfaceGenerateVideoResponseOrBuilder- Returns:
- Whether the raiMediaFilteredCount field is set.
-
getRaiMediaFilteredCount
public int getRaiMediaFilteredCount()Returns if any videos were filtered due to RAI policies.
optional int32 rai_media_filtered_count = 2;- Specified by:
getRaiMediaFilteredCountin interfaceGenerateVideoResponseOrBuilder- Returns:
- The raiMediaFilteredCount.
-
getRaiMediaFilteredReasonsList
public com.google.protobuf.ProtocolStringList getRaiMediaFilteredReasonsList()Returns rai failure reasons if any.
repeated string rai_media_filtered_reasons = 3;- Specified by:
getRaiMediaFilteredReasonsListin interfaceGenerateVideoResponseOrBuilder- Returns:
- A list containing the raiMediaFilteredReasons.
-
getRaiMediaFilteredReasonsCount
public int getRaiMediaFilteredReasonsCount()Returns rai failure reasons if any.
repeated string rai_media_filtered_reasons = 3;- Specified by:
getRaiMediaFilteredReasonsCountin interfaceGenerateVideoResponseOrBuilder- Returns:
- The count of raiMediaFilteredReasons.
-
getRaiMediaFilteredReasons
Returns rai failure reasons if any.
repeated string rai_media_filtered_reasons = 3;- Specified by:
getRaiMediaFilteredReasonsin interfaceGenerateVideoResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The raiMediaFilteredReasons at the given index.
-
getRaiMediaFilteredReasonsBytes
public com.google.protobuf.ByteString getRaiMediaFilteredReasonsBytes(int index) Returns rai failure reasons if any.
repeated string rai_media_filtered_reasons = 3;- Specified by:
getRaiMediaFilteredReasonsBytesin interfaceGenerateVideoResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the raiMediaFilteredReasons at the given index.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static GenerateVideoResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GenerateVideoResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GenerateVideoResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GenerateVideoResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GenerateVideoResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GenerateVideoResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static GenerateVideoResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static GenerateVideoResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static GenerateVideoResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static GenerateVideoResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GenerateVideoResponse.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-