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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GenerateHlsUriRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
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;
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;
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;
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;
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;
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
|
build()
public GenerateHlsUriRequest build()
buildPartial()
public GenerateHlsUriRequest buildPartial()
clear()
public GenerateHlsUriRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public GenerateHlsUriRequest.Builder clearField(Descriptors.FieldDescriptor field)
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;
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) = { ... }
clearOneof(Descriptors.OneofDescriptor oneof)
public GenerateHlsUriRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public GenerateHlsUriRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public GenerateHlsUriRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
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
|
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
|
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;
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;
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
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(GenerateHlsUriRequest other)
public GenerateHlsUriRequest.Builder mergeFrom(GenerateHlsUriRequest other)
public GenerateHlsUriRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GenerateHlsUriRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GenerateHlsUriRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public GenerateHlsUriRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GenerateHlsUriRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final GenerateHlsUriRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides