Class ClipAssetResponse.TimeIndexedUri (0.2.0)

public static final class ClipAssetResponse.TimeIndexedUri extends GeneratedMessageV3 implements ClipAssetResponse.TimeIndexedUriOrBuilder

Signed uri with corresponding time range.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ClipAssetResponse.TimeIndexedUri

Static Fields

TEMPORAL_PARTITION_FIELD_NUMBER

public static final int TEMPORAL_PARTITION_FIELD_NUMBER
Field Value
Type Description
int

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ClipAssetResponse.TimeIndexedUri getDefaultInstance()
Returns
Type Description
ClipAssetResponse.TimeIndexedUri

getDescriptor()

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

newBuilder()

public static ClipAssetResponse.TimeIndexedUri.Builder newBuilder()
Returns
Type Description
ClipAssetResponse.TimeIndexedUri.Builder

newBuilder(ClipAssetResponse.TimeIndexedUri prototype)

public static ClipAssetResponse.TimeIndexedUri.Builder newBuilder(ClipAssetResponse.TimeIndexedUri prototype)
Parameter
Name Description
prototype ClipAssetResponse.TimeIndexedUri
Returns
Type Description
ClipAssetResponse.TimeIndexedUri.Builder

parseDelimitedFrom(InputStream input)

public static ClipAssetResponse.TimeIndexedUri parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ClipAssetResponse.TimeIndexedUri
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ClipAssetResponse.TimeIndexedUri parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClipAssetResponse.TimeIndexedUri
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ClipAssetResponse.TimeIndexedUri parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ClipAssetResponse.TimeIndexedUri
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ClipAssetResponse.TimeIndexedUri parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClipAssetResponse.TimeIndexedUri
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ClipAssetResponse.TimeIndexedUri parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ClipAssetResponse.TimeIndexedUri
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ClipAssetResponse.TimeIndexedUri parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClipAssetResponse.TimeIndexedUri
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ClipAssetResponse.TimeIndexedUri parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ClipAssetResponse.TimeIndexedUri
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ClipAssetResponse.TimeIndexedUri parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClipAssetResponse.TimeIndexedUri
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ClipAssetResponse.TimeIndexedUri parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ClipAssetResponse.TimeIndexedUri
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ClipAssetResponse.TimeIndexedUri parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClipAssetResponse.TimeIndexedUri
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ClipAssetResponse.TimeIndexedUri parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ClipAssetResponse.TimeIndexedUri
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ClipAssetResponse.TimeIndexedUri parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClipAssetResponse.TimeIndexedUri
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ClipAssetResponse.TimeIndexedUri> parser()
Returns
Type Description
Parser<TimeIndexedUri>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

getParserForType()

public Parser<ClipAssetResponse.TimeIndexedUri> getParserForType()
Returns
Type Description
Parser<TimeIndexedUri>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ClipAssetResponse.TimeIndexedUri.Builder newBuilderForType()
Returns
Type Description
ClipAssetResponse.TimeIndexedUri.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ClipAssetResponse.TimeIndexedUri.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ClipAssetResponse.TimeIndexedUri.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ClipAssetResponse.TimeIndexedUri.Builder toBuilder()
Returns
Type Description
ClipAssetResponse.TimeIndexedUri.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException