Class ClipAssetResponse.Builder (0.6.0)

public static final class ClipAssetResponse.Builder extends GeneratedMessageV3.Builder<ClipAssetResponse.Builder> implements ClipAssetResponseOrBuilder

Response message for ClipAsset API.

Protobuf type google.cloud.visionai.v1.ClipAssetResponse

Static Methods

getDescriptor()

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

Methods

addAllTimeIndexedUris(Iterable<? extends ClipAssetResponse.TimeIndexedUri> values)

public ClipAssetResponse.Builder addAllTimeIndexedUris(Iterable<? extends ClipAssetResponse.TimeIndexedUri> values)

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
values Iterable<? extends com.google.cloud.visionai.v1.ClipAssetResponse.TimeIndexedUri>
Returns
Type Description
ClipAssetResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTimeIndexedUris(ClipAssetResponse.TimeIndexedUri value)

public ClipAssetResponse.Builder addTimeIndexedUris(ClipAssetResponse.TimeIndexedUri value)

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
value ClipAssetResponse.TimeIndexedUri
Returns
Type Description
ClipAssetResponse.Builder

addTimeIndexedUris(ClipAssetResponse.TimeIndexedUri.Builder builderForValue)

public ClipAssetResponse.Builder addTimeIndexedUris(ClipAssetResponse.TimeIndexedUri.Builder builderForValue)

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
builderForValue ClipAssetResponse.TimeIndexedUri.Builder
Returns
Type Description
ClipAssetResponse.Builder

addTimeIndexedUris(int index, ClipAssetResponse.TimeIndexedUri value)

public ClipAssetResponse.Builder addTimeIndexedUris(int index, ClipAssetResponse.TimeIndexedUri value)

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;

Parameters
Name Description
index int
value ClipAssetResponse.TimeIndexedUri
Returns
Type Description
ClipAssetResponse.Builder

addTimeIndexedUris(int index, ClipAssetResponse.TimeIndexedUri.Builder builderForValue)

public ClipAssetResponse.Builder addTimeIndexedUris(int index, ClipAssetResponse.TimeIndexedUri.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue ClipAssetResponse.TimeIndexedUri.Builder
Returns
Type Description
ClipAssetResponse.Builder

addTimeIndexedUrisBuilder()

public ClipAssetResponse.TimeIndexedUri.Builder addTimeIndexedUrisBuilder()

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
ClipAssetResponse.TimeIndexedUri.Builder

addTimeIndexedUrisBuilder(int index)

public ClipAssetResponse.TimeIndexedUri.Builder addTimeIndexedUrisBuilder(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.Builder

build()

public ClipAssetResponse build()
Returns
Type Description
ClipAssetResponse

buildPartial()

public ClipAssetResponse buildPartial()
Returns
Type Description
ClipAssetResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ClipAssetResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ClipAssetResponse.Builder
Overrides

clearTimeIndexedUris()

public ClipAssetResponse.Builder clearTimeIndexedUris()

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
ClipAssetResponse.Builder

clone()

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

getDefaultInstanceForType()

public ClipAssetResponse getDefaultInstanceForType()
Returns
Type Description
ClipAssetResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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

getTimeIndexedUrisBuilder(int index)

public ClipAssetResponse.TimeIndexedUri.Builder getTimeIndexedUrisBuilder(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.Builder

getTimeIndexedUrisBuilderList()

public List<ClipAssetResponse.TimeIndexedUri.Builder> getTimeIndexedUrisBuilderList()

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<Builder>

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>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ClipAssetResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeTimeIndexedUris(int index)

public ClipAssetResponse.Builder removeTimeIndexedUris(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.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTimeIndexedUris(int index, ClipAssetResponse.TimeIndexedUri value)

public ClipAssetResponse.Builder setTimeIndexedUris(int index, ClipAssetResponse.TimeIndexedUri value)

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;

Parameters
Name Description
index int
value ClipAssetResponse.TimeIndexedUri
Returns
Type Description
ClipAssetResponse.Builder

setTimeIndexedUris(int index, ClipAssetResponse.TimeIndexedUri.Builder builderForValue)

public ClipAssetResponse.Builder setTimeIndexedUris(int index, ClipAssetResponse.TimeIndexedUri.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue ClipAssetResponse.TimeIndexedUri.Builder
Returns
Type Description
ClipAssetResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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