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:
  • 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:
      internalGetFieldAccessorTable in class com.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:
      getGeneratedSamplesList in interface GenerateVideoResponseOrBuilder
      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:
      getGeneratedSamplesCount in interface GenerateVideoResponseOrBuilder
      Returns:
      The count of generatedSamples.
    • getGeneratedSamples

      public String getGeneratedSamples(int index)
       The cloud storage uris of the generated videos.
       
      repeated string generated_samples = 1;
      Specified by:
      getGeneratedSamples in interface GenerateVideoResponseOrBuilder
      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:
      getGeneratedSamplesBytes in interface GenerateVideoResponseOrBuilder
      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:
      hasRaiMediaFilteredCount in interface GenerateVideoResponseOrBuilder
      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:
      getRaiMediaFilteredCount in interface GenerateVideoResponseOrBuilder
      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:
      getRaiMediaFilteredReasonsList in interface GenerateVideoResponseOrBuilder
      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:
      getRaiMediaFilteredReasonsCount in interface GenerateVideoResponseOrBuilder
      Returns:
      The count of raiMediaFilteredReasons.
    • getRaiMediaFilteredReasons

      public String getRaiMediaFilteredReasons(int index)
       Returns rai failure reasons if any.
       
      repeated string rai_media_filtered_reasons = 3;
      Specified by:
      getRaiMediaFilteredReasons in interface GenerateVideoResponseOrBuilder
      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:
      getRaiMediaFilteredReasonsBytes in interface GenerateVideoResponseOrBuilder
      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:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static GenerateVideoResponse parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GenerateVideoResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static GenerateVideoResponse parseDelimitedFrom(InputStream input) throws IOException
      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

      public GenerateVideoResponse.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static GenerateVideoResponse.Builder newBuilder()
    • newBuilder

      public static GenerateVideoResponse.Builder newBuilder(GenerateVideoResponse prototype)
    • toBuilder

      public GenerateVideoResponse.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected GenerateVideoResponse.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static GenerateVideoResponse getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<GenerateVideoResponse> parser()
    • getParserForType

      public com.google.protobuf.Parser<GenerateVideoResponse> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public GenerateVideoResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder