Class ClipAssetResponse.TimeIndexedUri.Builder (0.4.0)

public static final class ClipAssetResponse.TimeIndexedUri.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ClipAssetResponse.TimeIndexedUri.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ClipAssetResponse.TimeIndexedUri.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public ClipAssetResponse.TimeIndexedUri.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ClipAssetResponse.TimeIndexedUri.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ClipAssetResponse.TimeIndexedUri.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ClipAssetResponse.TimeIndexedUri.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ClipAssetResponse.TimeIndexedUri.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ClipAssetResponse.TimeIndexedUri.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ClipAssetResponse.TimeIndexedUri.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ClipAssetResponse.TimeIndexedUri.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ClipAssetResponse.TimeIndexedUri.Builder
Overrides

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ClipAssetResponse.TimeIndexedUri.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ClipAssetResponse.TimeIndexedUri.Builder
Overrides

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.