Class ClipAssetResponse.TimeIndexedUri.Builder (0.40.0)

public static final class ClipAssetResponse.TimeIndexedUri.Builder extends GeneratedMessage.Builder<ClipAssetResponse.TimeIndexedUri.Builder> implements ClipAssetResponse.TimeIndexedUriOrBuilder

Signed uri with corresponding time range.

Protobuf type google.cloud.visionai.v1.ClipAssetResponse.TimeIndexedUri

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ClipAssetResponse.TimeIndexedUri build()
Returns
Type Description
ClipAssetResponse.TimeIndexedUri

buildPartial()

public ClipAssetResponse.TimeIndexedUri buildPartial()
Returns
Type Description
ClipAssetResponse.TimeIndexedUri

clear()

public ClipAssetResponse.TimeIndexedUri.Builder clear()
Returns
Type Description
ClipAssetResponse.TimeIndexedUri.Builder
Overrides

clearTemporalPartition()

public ClipAssetResponse.TimeIndexedUri.Builder clearTemporalPartition()

Time range of the video that the uri is for.

.google.cloud.visionai.v1.Partition.TemporalPartition temporal_partition = 1;

Returns
Type Description
ClipAssetResponse.TimeIndexedUri.Builder

clearUri()

public ClipAssetResponse.TimeIndexedUri.Builder clearUri()

Signed uri to download the video clip.

string uri = 2;

Returns
Type Description
ClipAssetResponse.TimeIndexedUri.Builder

This builder for chaining.

getDefaultInstanceForType()

public ClipAssetResponse.TimeIndexedUri getDefaultInstanceForType()
Returns
Type Description
ClipAssetResponse.TimeIndexedUri

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getTemporalPartition()

public Partition.TemporalPartition getTemporalPartition()

Time range of the video that the uri is for.

.google.cloud.visionai.v1.Partition.TemporalPartition temporal_partition = 1;

Returns
Type Description
Partition.TemporalPartition

The temporalPartition.

getTemporalPartitionBuilder()

public Partition.TemporalPartition.Builder getTemporalPartitionBuilder()

Time range of the video that the uri is for.

.google.cloud.visionai.v1.Partition.TemporalPartition temporal_partition = 1;

Returns
Type Description
Partition.TemporalPartition.Builder

getTemporalPartitionOrBuilder()

public Partition.TemporalPartitionOrBuilder getTemporalPartitionOrBuilder()

Time range of the video that the uri is for.

.google.cloud.visionai.v1.Partition.TemporalPartition temporal_partition = 1;

Returns
Type Description
Partition.TemporalPartitionOrBuilder

getUri()

public String getUri()

Signed uri to download the video clip.

string uri = 2;

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

Signed uri to download the video clip.

string uri = 2;

Returns
Type Description
ByteString

The bytes for uri.

hasTemporalPartition()

public boolean hasTemporalPartition()

Time range of the video that the uri is for.

.google.cloud.visionai.v1.Partition.TemporalPartition temporal_partition = 1;

Returns
Type Description
boolean

Whether the temporalPartition field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ClipAssetResponse.TimeIndexedUri other)

public ClipAssetResponse.TimeIndexedUri.Builder mergeFrom(ClipAssetResponse.TimeIndexedUri other)
Parameter
Name Description
other ClipAssetResponse.TimeIndexedUri
Returns
Type Description
ClipAssetResponse.TimeIndexedUri.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ClipAssetResponse.TimeIndexedUri.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClipAssetResponse.TimeIndexedUri.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ClipAssetResponse.TimeIndexedUri.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ClipAssetResponse.TimeIndexedUri.Builder
Overrides

mergeTemporalPartition(Partition.TemporalPartition value)

public ClipAssetResponse.TimeIndexedUri.Builder mergeTemporalPartition(Partition.TemporalPartition value)

Time range of the video that the uri is for.

.google.cloud.visionai.v1.Partition.TemporalPartition temporal_partition = 1;

Parameter
Name Description
value Partition.TemporalPartition
Returns
Type Description
ClipAssetResponse.TimeIndexedUri.Builder

setTemporalPartition(Partition.TemporalPartition value)

public ClipAssetResponse.TimeIndexedUri.Builder setTemporalPartition(Partition.TemporalPartition value)

Time range of the video that the uri is for.

.google.cloud.visionai.v1.Partition.TemporalPartition temporal_partition = 1;

Parameter
Name Description
value Partition.TemporalPartition
Returns
Type Description
ClipAssetResponse.TimeIndexedUri.Builder

setTemporalPartition(Partition.TemporalPartition.Builder builderForValue)

public ClipAssetResponse.TimeIndexedUri.Builder setTemporalPartition(Partition.TemporalPartition.Builder builderForValue)

Time range of the video that the uri is for.

.google.cloud.visionai.v1.Partition.TemporalPartition temporal_partition = 1;

Parameter
Name Description
builderForValue Partition.TemporalPartition.Builder
Returns
Type Description
ClipAssetResponse.TimeIndexedUri.Builder

setUri(String value)

public ClipAssetResponse.TimeIndexedUri.Builder setUri(String value)

Signed uri to download the video clip.

string uri = 2;

Parameter
Name Description
value String

The uri to set.

Returns
Type Description
ClipAssetResponse.TimeIndexedUri.Builder

This builder for chaining.

setUriBytes(ByteString value)

public ClipAssetResponse.TimeIndexedUri.Builder setUriBytes(ByteString value)

Signed uri to download the video clip.

string uri = 2;

Parameter
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
ClipAssetResponse.TimeIndexedUri.Builder

This builder for chaining.