public final class GenerateVideoResponse extends GeneratedMessage implements GenerateVideoResponseOrBuilder
Generate video response.
Protobuf type google.cloud.aiplatform.v1beta1.GenerateVideoResponse
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
public static final int GENERATED_SAMPLES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int RAI_MEDIA_FILTERED_COUNT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int RAI_MEDIA_FILTERED_REASONS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
public static GenerateVideoResponse getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static GenerateVideoResponse.Builder newBuilder()
public static GenerateVideoResponse.Builder newBuilder(GenerateVideoResponse prototype)
public static GenerateVideoResponse parseDelimitedFrom(InputStream input)
public static GenerateVideoResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GenerateVideoResponse parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
public static GenerateVideoResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GenerateVideoResponse parseFrom(ByteString data)
public static GenerateVideoResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GenerateVideoResponse parseFrom(CodedInputStream input)
public static GenerateVideoResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GenerateVideoResponse parseFrom(InputStream input)
public static GenerateVideoResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GenerateVideoResponse parseFrom(ByteBuffer data)
public static GenerateVideoResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<GenerateVideoResponse> parser()
Methods
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
public GenerateVideoResponse getDefaultInstanceForType()
public String getGeneratedSamples(int index)
The cloud storage uris of the generated videos.
repeated string generated_samples = 1;
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The generatedSamples at the given index.
|
public ByteString getGeneratedSamplesBytes(int index)
The cloud storage uris of the generated videos.
repeated string generated_samples = 1;
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the generatedSamples at the given index.
|
public int getGeneratedSamplesCount()
The cloud storage uris of the generated videos.
repeated string generated_samples = 1;
| Returns |
| Type |
Description |
int |
The count of generatedSamples.
|
public ProtocolStringList getGeneratedSamplesList()
The cloud storage uris of the generated videos.
repeated string generated_samples = 1;
public Parser<GenerateVideoResponse> getParserForType()
Overrides
public int getRaiMediaFilteredCount()
Returns if any videos were filtered due to RAI policies.
optional int32 rai_media_filtered_count = 2;
| Returns |
| Type |
Description |
int |
The raiMediaFilteredCount.
|
public String getRaiMediaFilteredReasons(int index)
Returns rai failure reasons if any.
repeated string rai_media_filtered_reasons = 3;
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The raiMediaFilteredReasons at the given index.
|
public ByteString getRaiMediaFilteredReasonsBytes(int index)
Returns rai failure reasons if any.
repeated string rai_media_filtered_reasons = 3;
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the raiMediaFilteredReasons at the given index.
|
public int getRaiMediaFilteredReasonsCount()
Returns rai failure reasons if any.
repeated string rai_media_filtered_reasons = 3;
| Returns |
| Type |
Description |
int |
The count of raiMediaFilteredReasons.
|
public ProtocolStringList getRaiMediaFilteredReasonsList()
Returns rai failure reasons if any.
repeated string rai_media_filtered_reasons = 3;
| Returns |
| Type |
Description |
ProtocolStringList |
A list containing the raiMediaFilteredReasons.
|
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
public boolean hasRaiMediaFilteredCount()
Returns if any videos were filtered due to RAI policies.
optional int32 rai_media_filtered_count = 2;
| Returns |
| Type |
Description |
boolean |
Whether the raiMediaFilteredCount field is set.
|
| Returns |
| Type |
Description |
int |
|
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public GenerateVideoResponse.Builder newBuilderForType()
protected GenerateVideoResponse.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public GenerateVideoResponse.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides