Class ClipAssetResponse (0.9.0)

public final class ClipAssetResponse extends GeneratedMessageV3 implements ClipAssetResponseOrBuilder

Response message for ClipAsset API.

Protobuf type google.cloud.visionai.v1.ClipAssetResponse

Static Fields

TIME_INDEXED_URIS_FIELD_NUMBER

public static final int TIME_INDEXED_URIS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ClipAssetResponse getDefaultInstance()
Returns
Type Description
ClipAssetResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ClipAssetResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ClipAssetResponse getDefaultInstanceForType()
Returns
Type Description
ClipAssetResponse

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTimeIndexedUris(int index)

public ClipAssetResponse.TimeIndexedUri getTimeIndexedUris(int index)

A list of signed uris to download the video clips that cover the requested time range ordered by time.

repeated .google.cloud.visionai.v1.ClipAssetResponse.TimeIndexedUri time_indexed_uris = 1;

Parameter
Name Description
index int
Returns
Type Description
ClipAssetResponse.TimeIndexedUri

getTimeIndexedUrisCount()

public int getTimeIndexedUrisCount()

A list of signed uris to download the video clips that cover the requested time range ordered by time.

repeated .google.cloud.visionai.v1.ClipAssetResponse.TimeIndexedUri time_indexed_uris = 1;

Returns
Type Description
int

getTimeIndexedUrisList()

public List<ClipAssetResponse.TimeIndexedUri> getTimeIndexedUrisList()

A list of signed uris to download the video clips that cover the requested time range ordered by time.

repeated .google.cloud.visionai.v1.ClipAssetResponse.TimeIndexedUri time_indexed_uris = 1;

Returns
Type Description
List<TimeIndexedUri>

getTimeIndexedUrisOrBuilder(int index)

public ClipAssetResponse.TimeIndexedUriOrBuilder getTimeIndexedUrisOrBuilder(int index)

A list of signed uris to download the video clips that cover the requested time range ordered by time.

repeated .google.cloud.visionai.v1.ClipAssetResponse.TimeIndexedUri time_indexed_uris = 1;

Parameter
Name Description
index int
Returns
Type Description
ClipAssetResponse.TimeIndexedUriOrBuilder

getTimeIndexedUrisOrBuilderList()

public List<? extends ClipAssetResponse.TimeIndexedUriOrBuilder> getTimeIndexedUrisOrBuilderList()

A list of signed uris to download the video clips that cover the requested time range ordered by time.

repeated .google.cloud.visionai.v1.ClipAssetResponse.TimeIndexedUri time_indexed_uris = 1;

Returns
Type Description
List<? extends com.google.cloud.visionai.v1.ClipAssetResponse.TimeIndexedUriOrBuilder>

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.Builder newBuilderForType()
Returns
Type Description
ClipAssetResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ClipAssetResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ClipAssetResponse.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.Builder toBuilder()
Returns
Type Description
ClipAssetResponse.Builder

writeTo(CodedOutputStream output)

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