Interface GenerateVideoResponseOrBuilder (3.53.0)

public interface GenerateVideoResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGeneratedSamples(int index)

public abstract 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.

getGeneratedSamplesBytes(int index)

public abstract 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.

getGeneratedSamplesCount()

public abstract int getGeneratedSamplesCount()

The cloud storage uris of the generated videos.

repeated string generated_samples = 1;

Returns
Type Description
int

The count of generatedSamples.

getGeneratedSamplesList()

public abstract List<String> getGeneratedSamplesList()

The cloud storage uris of the generated videos.

repeated string generated_samples = 1;

Returns
Type Description
List<String>

A list containing the generatedSamples.

getRaiMediaFilteredCount()

public abstract 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.

getRaiMediaFilteredReasons(int index)

public abstract 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.

getRaiMediaFilteredReasonsBytes(int index)

public abstract 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.

getRaiMediaFilteredReasonsCount()

public abstract int getRaiMediaFilteredReasonsCount()

Returns rai failure reasons if any.

repeated string rai_media_filtered_reasons = 3;

Returns
Type Description
int

The count of raiMediaFilteredReasons.

getRaiMediaFilteredReasonsList()

public abstract List<String> getRaiMediaFilteredReasonsList()

Returns rai failure reasons if any.

repeated string rai_media_filtered_reasons = 3;

Returns
Type Description
List<String>

A list containing the raiMediaFilteredReasons.

hasRaiMediaFilteredCount()

public abstract 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.