Class GenerateHlsUriRequest.Builder (0.8.0)

public static final class GenerateHlsUriRequest.Builder extends GeneratedMessageV3.Builder<GenerateHlsUriRequest.Builder> implements GenerateHlsUriRequestOrBuilder

Request message for GenerateHlsUri API.

Protobuf type google.cloud.visionai.v1.GenerateHlsUriRequest

Static Methods

getDescriptor()

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

Methods

addAllTemporalPartitions(Iterable<? extends Partition.TemporalPartition> values)

public GenerateHlsUriRequest.Builder addAllTemporalPartitions(Iterable<? extends Partition.TemporalPartition> values)

The time range to request clips for. Will be ignored if get_live_view is set to True. The total time range requested should be smaller than 24h.

repeated .google.cloud.visionai.v1.Partition.TemporalPartition temporal_partitions = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.visionai.v1.Partition.TemporalPartition>
Returns
Type Description
GenerateHlsUriRequest.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTemporalPartitions(Partition.TemporalPartition value)

public GenerateHlsUriRequest.Builder addTemporalPartitions(Partition.TemporalPartition value)

The time range to request clips for. Will be ignored if get_live_view is set to True. The total time range requested should be smaller than 24h.

repeated .google.cloud.visionai.v1.Partition.TemporalPartition temporal_partitions = 2;

Parameter
Name Description
value Partition.TemporalPartition
Returns
Type Description
GenerateHlsUriRequest.Builder

addTemporalPartitions(Partition.TemporalPartition.Builder builderForValue)

public GenerateHlsUriRequest.Builder addTemporalPartitions(Partition.TemporalPartition.Builder builderForValue)

The time range to request clips for. Will be ignored if get_live_view is set to True. The total time range requested should be smaller than 24h.

repeated .google.cloud.visionai.v1.Partition.TemporalPartition temporal_partitions = 2;

Parameter
Name Description
builderForValue Partition.TemporalPartition.Builder
Returns
Type Description
GenerateHlsUriRequest.Builder

addTemporalPartitions(int index, Partition.TemporalPartition value)

public GenerateHlsUriRequest.Builder addTemporalPartitions(int index, Partition.TemporalPartition value)

The time range to request clips for. Will be ignored if get_live_view is set to True. The total time range requested should be smaller than 24h.

repeated .google.cloud.visionai.v1.Partition.TemporalPartition temporal_partitions = 2;

Parameters
Name Description
index int
value Partition.TemporalPartition
Returns
Type Description
GenerateHlsUriRequest.Builder

addTemporalPartitions(int index, Partition.TemporalPartition.Builder builderForValue)

public GenerateHlsUriRequest.Builder addTemporalPartitions(int index, Partition.TemporalPartition.Builder builderForValue)

The time range to request clips for. Will be ignored if get_live_view is set to True. The total time range requested should be smaller than 24h.

repeated .google.cloud.visionai.v1.Partition.TemporalPartition temporal_partitions = 2;

Parameters
Name Description
index int
builderForValue Partition.TemporalPartition.Builder
Returns
Type Description
GenerateHlsUriRequest.Builder

addTemporalPartitionsBuilder()

public Partition.TemporalPartition.Builder addTemporalPartitionsBuilder()

The time range to request clips for. Will be ignored if get_live_view is set to True. The total time range requested should be smaller than 24h.

repeated .google.cloud.visionai.v1.Partition.TemporalPartition temporal_partitions = 2;

Returns
Type Description
Partition.TemporalPartition.Builder

addTemporalPartitionsBuilder(int index)

public Partition.TemporalPartition.Builder addTemporalPartitionsBuilder(int index)

The time range to request clips for. Will be ignored if get_live_view is set to True. The total time range requested should be smaller than 24h.

repeated .google.cloud.visionai.v1.Partition.TemporalPartition temporal_partitions = 2;

Parameter
Name Description
index int
Returns
Type Description
Partition.TemporalPartition.Builder

build()

public GenerateHlsUriRequest build()
Returns
Type Description
GenerateHlsUriRequest

buildPartial()

public GenerateHlsUriRequest buildPartial()
Returns
Type Description
GenerateHlsUriRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearLiveViewEnabled()

public GenerateHlsUriRequest.Builder clearLiveViewEnabled()

Option to exclusively show a livestream of the asset with up to 3 minutes of backlog data.

bool live_view_enabled = 3;

Returns
Type Description
GenerateHlsUriRequest.Builder

This builder for chaining.

clearName()

public GenerateHlsUriRequest.Builder clearName()

Required. The resource name of the asset to request clips for. Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
GenerateHlsUriRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTemporalPartitions()

public GenerateHlsUriRequest.Builder clearTemporalPartitions()

The time range to request clips for. Will be ignored if get_live_view is set to True. The total time range requested should be smaller than 24h.

repeated .google.cloud.visionai.v1.Partition.TemporalPartition temporal_partitions = 2;

Returns
Type Description
GenerateHlsUriRequest.Builder

clone()

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

getDefaultInstanceForType()

public GenerateHlsUriRequest getDefaultInstanceForType()
Returns
Type Description
GenerateHlsUriRequest

getDescriptorForType()

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

getLiveViewEnabled()

public boolean getLiveViewEnabled()

Option to exclusively show a livestream of the asset with up to 3 minutes of backlog data.

bool live_view_enabled = 3;

Returns
Type Description
boolean

The liveViewEnabled.

getName()

public String getName()

Required. The resource name of the asset to request clips for. Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the asset to request clips for. Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getTemporalPartitions(int index)

public Partition.TemporalPartition getTemporalPartitions(int index)

The time range to request clips for. Will be ignored if get_live_view is set to True. The total time range requested should be smaller than 24h.

repeated .google.cloud.visionai.v1.Partition.TemporalPartition temporal_partitions = 2;

Parameter
Name Description
index int
Returns
Type Description
Partition.TemporalPartition

getTemporalPartitionsBuilder(int index)

public Partition.TemporalPartition.Builder getTemporalPartitionsBuilder(int index)

The time range to request clips for. Will be ignored if get_live_view is set to True. The total time range requested should be smaller than 24h.

repeated .google.cloud.visionai.v1.Partition.TemporalPartition temporal_partitions = 2;

Parameter
Name Description
index int
Returns
Type Description
Partition.TemporalPartition.Builder

getTemporalPartitionsBuilderList()

public List<Partition.TemporalPartition.Builder> getTemporalPartitionsBuilderList()

The time range to request clips for. Will be ignored if get_live_view is set to True. The total time range requested should be smaller than 24h.

repeated .google.cloud.visionai.v1.Partition.TemporalPartition temporal_partitions = 2;

Returns
Type Description
List<Builder>

getTemporalPartitionsCount()

public int getTemporalPartitionsCount()

The time range to request clips for. Will be ignored if get_live_view is set to True. The total time range requested should be smaller than 24h.

repeated .google.cloud.visionai.v1.Partition.TemporalPartition temporal_partitions = 2;

Returns
Type Description
int

getTemporalPartitionsList()

public List<Partition.TemporalPartition> getTemporalPartitionsList()

The time range to request clips for. Will be ignored if get_live_view is set to True. The total time range requested should be smaller than 24h.

repeated .google.cloud.visionai.v1.Partition.TemporalPartition temporal_partitions = 2;

Returns
Type Description
List<TemporalPartition>

getTemporalPartitionsOrBuilder(int index)

public Partition.TemporalPartitionOrBuilder getTemporalPartitionsOrBuilder(int index)

The time range to request clips for. Will be ignored if get_live_view is set to True. The total time range requested should be smaller than 24h.

repeated .google.cloud.visionai.v1.Partition.TemporalPartition temporal_partitions = 2;

Parameter
Name Description
index int
Returns
Type Description
Partition.TemporalPartitionOrBuilder

getTemporalPartitionsOrBuilderList()

public List<? extends Partition.TemporalPartitionOrBuilder> getTemporalPartitionsOrBuilderList()

The time range to request clips for. Will be ignored if get_live_view is set to True. The total time range requested should be smaller than 24h.

repeated .google.cloud.visionai.v1.Partition.TemporalPartition temporal_partitions = 2;

Returns
Type Description
List<? extends com.google.cloud.visionai.v1.Partition.TemporalPartitionOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GenerateHlsUriRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeTemporalPartitions(int index)

public GenerateHlsUriRequest.Builder removeTemporalPartitions(int index)

The time range to request clips for. Will be ignored if get_live_view is set to True. The total time range requested should be smaller than 24h.

repeated .google.cloud.visionai.v1.Partition.TemporalPartition temporal_partitions = 2;

Parameter
Name Description
index int
Returns
Type Description
GenerateHlsUriRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setLiveViewEnabled(boolean value)

public GenerateHlsUriRequest.Builder setLiveViewEnabled(boolean value)

Option to exclusively show a livestream of the asset with up to 3 minutes of backlog data.

bool live_view_enabled = 3;

Parameter
Name Description
value boolean

The liveViewEnabled to set.

Returns
Type Description
GenerateHlsUriRequest.Builder

This builder for chaining.

setName(String value)

public GenerateHlsUriRequest.Builder setName(String value)

Required. The resource name of the asset to request clips for. Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GenerateHlsUriRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GenerateHlsUriRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the asset to request clips for. Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GenerateHlsUriRequest.Builder

This builder for chaining.

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

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

setTemporalPartitions(int index, Partition.TemporalPartition value)

public GenerateHlsUriRequest.Builder setTemporalPartitions(int index, Partition.TemporalPartition value)

The time range to request clips for. Will be ignored if get_live_view is set to True. The total time range requested should be smaller than 24h.

repeated .google.cloud.visionai.v1.Partition.TemporalPartition temporal_partitions = 2;

Parameters
Name Description
index int
value Partition.TemporalPartition
Returns
Type Description
GenerateHlsUriRequest.Builder

setTemporalPartitions(int index, Partition.TemporalPartition.Builder builderForValue)

public GenerateHlsUriRequest.Builder setTemporalPartitions(int index, Partition.TemporalPartition.Builder builderForValue)

The time range to request clips for. Will be ignored if get_live_view is set to True. The total time range requested should be smaller than 24h.

repeated .google.cloud.visionai.v1.Partition.TemporalPartition temporal_partitions = 2;

Parameters
Name Description
index int
builderForValue Partition.TemporalPartition.Builder
Returns
Type Description
GenerateHlsUriRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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