public static final class GenerateHlsUriRequest.Builder extends GeneratedMessage.Builder<GenerateHlsUriRequest.Builder> implements GenerateHlsUriRequestOrBuilderRequest message for GenerateHlsUri API.
Protobuf type google.cloud.visionai.v1.GenerateHlsUriRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GenerateHlsUriRequest.BuilderImplements
GenerateHlsUriRequestOrBuilderStatic 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 |
|
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 |
|
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. |
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 |
|
getDefaultInstanceForType()
public GenerateHlsUriRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GenerateHlsUriRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GenerateHlsUriRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GenerateHlsUriRequest.Builder |
|
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 |
|
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 |
booleanThe 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 |
StringThe 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 |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateHlsUriRequest.Builder |
This builder for chaining. |
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 |
|