- 0.55.0 (latest)
- 0.54.0
- 0.53.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.8
- 0.3.0
public static final class Clip.Builder extends GeneratedMessageV3.Builder<Clip.Builder> implements ClipOrBuilder
Clip is a sub-resource under channel. Each clip represents a clipping operation that generates a VOD playlist from its channel given a set of timestamp ranges.
Protobuf type google.cloud.video.livestream.v1.Clip
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Clip.BuilderImplements
ClipOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllClipManifests(Iterable<? extends Clip.ClipManifest> values)
public Clip.Builder addAllClipManifests(Iterable<? extends Clip.ClipManifest> values)
Required. A list of clip manifests. Currently only one clip manifest is allowed.
repeated .google.cloud.video.livestream.v1.Clip.ClipManifest clip_manifests = 12 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.video.livestream.v1.Clip.ClipManifest> |
Returns | |
---|---|
Type | Description |
Clip.Builder |
addAllSlices(Iterable<? extends Clip.Slice> values)
public Clip.Builder addAllSlices(Iterable<? extends Clip.Slice> values)
The specified ranges of segments to generate a clip.
repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.video.livestream.v1.Clip.Slice> |
Returns | |
---|---|
Type | Description |
Clip.Builder |
addClipManifests(Clip.ClipManifest value)
public Clip.Builder addClipManifests(Clip.ClipManifest value)
Required. A list of clip manifests. Currently only one clip manifest is allowed.
repeated .google.cloud.video.livestream.v1.Clip.ClipManifest clip_manifests = 12 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
Clip.ClipManifest |
Returns | |
---|---|
Type | Description |
Clip.Builder |
addClipManifests(Clip.ClipManifest.Builder builderForValue)
public Clip.Builder addClipManifests(Clip.ClipManifest.Builder builderForValue)
Required. A list of clip manifests. Currently only one clip manifest is allowed.
repeated .google.cloud.video.livestream.v1.Clip.ClipManifest clip_manifests = 12 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
Clip.ClipManifest.Builder |
Returns | |
---|---|
Type | Description |
Clip.Builder |
addClipManifests(int index, Clip.ClipManifest value)
public Clip.Builder addClipManifests(int index, Clip.ClipManifest value)
Required. A list of clip manifests. Currently only one clip manifest is allowed.
repeated .google.cloud.video.livestream.v1.Clip.ClipManifest clip_manifests = 12 [(.google.api.field_behavior) = REQUIRED];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Clip.ClipManifest |
Returns | |
---|---|
Type | Description |
Clip.Builder |
addClipManifests(int index, Clip.ClipManifest.Builder builderForValue)
public Clip.Builder addClipManifests(int index, Clip.ClipManifest.Builder builderForValue)
Required. A list of clip manifests. Currently only one clip manifest is allowed.
repeated .google.cloud.video.livestream.v1.Clip.ClipManifest clip_manifests = 12 [(.google.api.field_behavior) = REQUIRED];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Clip.ClipManifest.Builder |
Returns | |
---|---|
Type | Description |
Clip.Builder |
addClipManifestsBuilder()
public Clip.ClipManifest.Builder addClipManifestsBuilder()
Required. A list of clip manifests. Currently only one clip manifest is allowed.
repeated .google.cloud.video.livestream.v1.Clip.ClipManifest clip_manifests = 12 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Clip.ClipManifest.Builder |
addClipManifestsBuilder(int index)
public Clip.ClipManifest.Builder addClipManifestsBuilder(int index)
Required. A list of clip manifests. Currently only one clip manifest is allowed.
repeated .google.cloud.video.livestream.v1.Clip.ClipManifest clip_manifests = 12 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Clip.ClipManifest.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Clip.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Clip.Builder |
addSlices(Clip.Slice value)
public Clip.Builder addSlices(Clip.Slice value)
The specified ranges of segments to generate a clip.
repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;
Parameter | |
---|---|
Name | Description |
value |
Clip.Slice |
Returns | |
---|---|
Type | Description |
Clip.Builder |
addSlices(Clip.Slice.Builder builderForValue)
public Clip.Builder addSlices(Clip.Slice.Builder builderForValue)
The specified ranges of segments to generate a clip.
repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;
Parameter | |
---|---|
Name | Description |
builderForValue |
Clip.Slice.Builder |
Returns | |
---|---|
Type | Description |
Clip.Builder |
addSlices(int index, Clip.Slice value)
public Clip.Builder addSlices(int index, Clip.Slice value)
The specified ranges of segments to generate a clip.
repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Clip.Slice |
Returns | |
---|---|
Type | Description |
Clip.Builder |
addSlices(int index, Clip.Slice.Builder builderForValue)
public Clip.Builder addSlices(int index, Clip.Slice.Builder builderForValue)
The specified ranges of segments to generate a clip.
repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Clip.Slice.Builder |
Returns | |
---|---|
Type | Description |
Clip.Builder |
addSlicesBuilder()
public Clip.Slice.Builder addSlicesBuilder()
The specified ranges of segments to generate a clip.
repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;
Returns | |
---|---|
Type | Description |
Clip.Slice.Builder |
addSlicesBuilder(int index)
public Clip.Slice.Builder addSlicesBuilder(int index)
The specified ranges of segments to generate a clip.
repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Clip.Slice.Builder |
build()
public Clip build()
Returns | |
---|---|
Type | Description |
Clip |
buildPartial()
public Clip buildPartial()
Returns | |
---|---|
Type | Description |
Clip |
clear()
public Clip.Builder clear()
Returns | |
---|---|
Type | Description |
Clip.Builder |
clearClipManifests()
public Clip.Builder clearClipManifests()
Required. A list of clip manifests. Currently only one clip manifest is allowed.
repeated .google.cloud.video.livestream.v1.Clip.ClipManifest clip_manifests = 12 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Clip.Builder |
clearCreateTime()
public Clip.Builder clearCreateTime()
Output only. The creation timestamp of the clip resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Clip.Builder |
clearError()
public Clip.Builder clearError()
Output only. An error object that describes the reason for the failure.
This property only presents when state
is FAILED
.
.google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Clip.Builder |
clearField(Descriptors.FieldDescriptor field)
public Clip.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Clip.Builder |
clearLabels()
public Clip.Builder clearLabels()
Returns | |
---|---|
Type | Description |
Clip.Builder |
clearName()
public Clip.Builder clearName()
The resource name of the clip, in the following format:
projects/{project}/locations/{location}/channels/{c}/clips/{clipId}
.
{clipId}
is a user-specified resource id that conforms to the following
criteria:
- 1 character minimum, 63 characters maximum
- Only contains letters, digits, underscores, and hyphens
string name = 1;
Returns | |
---|---|
Type | Description |
Clip.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Clip.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Clip.Builder |
clearOutputUri()
public Clip.Builder clearOutputUri()
Specify the output_uri
to determine where to place the clip segments and
clip manifest files in Cloud Storage. The manifests specified in
clip_manifests
fields will be placed under this URI. The exact URI of the
generated manifests will be provided in clip_manifests.output_uri
for
each manifest.
Example:
"output_uri": "gs://my-bucket/clip-outputs"
"clip_manifests.output_uri": "gs://my-bucket/clip-outputs/main.m3u8"
string output_uri = 7;
Returns | |
---|---|
Type | Description |
Clip.Builder |
This builder for chaining. |
clearSlices()
public Clip.Builder clearSlices()
The specified ranges of segments to generate a clip.
repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;
Returns | |
---|---|
Type | Description |
Clip.Builder |
clearStartTime()
public Clip.Builder clearStartTime()
Output only. The timestamp when the clip request starts to be processed.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Clip.Builder |
clearState()
public Clip.Builder clearState()
Output only. The state of the clip.
.google.cloud.video.livestream.v1.Clip.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Clip.Builder |
This builder for chaining. |
clearUpdateTime()
public Clip.Builder clearUpdateTime()
Output only. The update timestamp of the clip resource.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Clip.Builder |
clone()
public Clip.Builder clone()
Returns | |
---|---|
Type | Description |
Clip.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
The labels associated with this resource. Each label is a key-value pair.
map<string, string> labels = 5;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getClipManifests(int index)
public Clip.ClipManifest getClipManifests(int index)
Required. A list of clip manifests. Currently only one clip manifest is allowed.
repeated .google.cloud.video.livestream.v1.Clip.ClipManifest clip_manifests = 12 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Clip.ClipManifest |
getClipManifestsBuilder(int index)
public Clip.ClipManifest.Builder getClipManifestsBuilder(int index)
Required. A list of clip manifests. Currently only one clip manifest is allowed.
repeated .google.cloud.video.livestream.v1.Clip.ClipManifest clip_manifests = 12 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Clip.ClipManifest.Builder |
getClipManifestsBuilderList()
public List<Clip.ClipManifest.Builder> getClipManifestsBuilderList()
Required. A list of clip manifests. Currently only one clip manifest is allowed.
repeated .google.cloud.video.livestream.v1.Clip.ClipManifest clip_manifests = 12 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
List<Builder> |
getClipManifestsCount()
public int getClipManifestsCount()
Required. A list of clip manifests. Currently only one clip manifest is allowed.
repeated .google.cloud.video.livestream.v1.Clip.ClipManifest clip_manifests = 12 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
getClipManifestsList()
public List<Clip.ClipManifest> getClipManifestsList()
Required. A list of clip manifests. Currently only one clip manifest is allowed.
repeated .google.cloud.video.livestream.v1.Clip.ClipManifest clip_manifests = 12 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
List<ClipManifest> |
getClipManifestsOrBuilder(int index)
public Clip.ClipManifestOrBuilder getClipManifestsOrBuilder(int index)
Required. A list of clip manifests. Currently only one clip manifest is allowed.
repeated .google.cloud.video.livestream.v1.Clip.ClipManifest clip_manifests = 12 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Clip.ClipManifestOrBuilder |
getClipManifestsOrBuilderList()
public List<? extends Clip.ClipManifestOrBuilder> getClipManifestsOrBuilderList()
Required. A list of clip manifests. Currently only one clip manifest is allowed.
repeated .google.cloud.video.livestream.v1.Clip.ClipManifest clip_manifests = 12 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.video.livestream.v1.Clip.ClipManifestOrBuilder> |
getCreateTime()
public Timestamp getCreateTime()
Output only. The creation timestamp of the clip resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. The creation timestamp of the clip resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation timestamp of the clip resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Clip getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Clip |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getError()
public Status getError()
Output only. An error object that describes the reason for the failure.
This property only presents when state
is FAILED
.
.google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
com.google.rpc.Status |
The error. |
getErrorBuilder()
public Status.Builder getErrorBuilder()
Output only. An error object that describes the reason for the failure.
This property only presents when state
is FAILED
.
.google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
com.google.rpc.Status.Builder |
getErrorOrBuilder()
public StatusOrBuilder getErrorOrBuilder()
Output only. An error object that describes the reason for the failure.
This property only presents when state
is FAILED
.
.google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
com.google.rpc.StatusOrBuilder |
getLabels() (deprecated)
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
The labels associated with this resource. Each label is a key-value pair.
map<string, string> labels = 5;
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
The labels associated with this resource. Each label is a key-value pair.
map<string, string> labels = 5;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
The labels associated with this resource. Each label is a key-value pair.
map<string, string> labels = 5;
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
The labels associated with this resource. Each label is a key-value pair.
map<string, string> labels = 5;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
String |
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getName()
public String getName()
The resource name of the clip, in the following format:
projects/{project}/locations/{location}/channels/{c}/clips/{clipId}
.
{clipId}
is a user-specified resource id that conforms to the following
criteria:
- 1 character minimum, 63 characters maximum
- Only contains letters, digits, underscores, and hyphens
string name = 1;
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
The resource name of the clip, in the following format:
projects/{project}/locations/{location}/channels/{c}/clips/{clipId}
.
{clipId}
is a user-specified resource id that conforms to the following
criteria:
- 1 character minimum, 63 characters maximum
- Only contains letters, digits, underscores, and hyphens
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getOutputUri()
public String getOutputUri()
Specify the output_uri
to determine where to place the clip segments and
clip manifest files in Cloud Storage. The manifests specified in
clip_manifests
fields will be placed under this URI. The exact URI of the
generated manifests will be provided in clip_manifests.output_uri
for
each manifest.
Example:
"output_uri": "gs://my-bucket/clip-outputs"
"clip_manifests.output_uri": "gs://my-bucket/clip-outputs/main.m3u8"
string output_uri = 7;
Returns | |
---|---|
Type | Description |
String |
The outputUri. |
getOutputUriBytes()
public ByteString getOutputUriBytes()
Specify the output_uri
to determine where to place the clip segments and
clip manifest files in Cloud Storage. The manifests specified in
clip_manifests
fields will be placed under this URI. The exact URI of the
generated manifests will be provided in clip_manifests.output_uri
for
each manifest.
Example:
"output_uri": "gs://my-bucket/clip-outputs"
"clip_manifests.output_uri": "gs://my-bucket/clip-outputs/main.m3u8"
string output_uri = 7;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for outputUri. |
getSlices(int index)
public Clip.Slice getSlices(int index)
The specified ranges of segments to generate a clip.
repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Clip.Slice |
getSlicesBuilder(int index)
public Clip.Slice.Builder getSlicesBuilder(int index)
The specified ranges of segments to generate a clip.
repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Clip.Slice.Builder |
getSlicesBuilderList()
public List<Clip.Slice.Builder> getSlicesBuilderList()
The specified ranges of segments to generate a clip.
repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;
Returns | |
---|---|
Type | Description |
List<Builder> |
getSlicesCount()
public int getSlicesCount()
The specified ranges of segments to generate a clip.
repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;
Returns | |
---|---|
Type | Description |
int |
getSlicesList()
public List<Clip.Slice> getSlicesList()
The specified ranges of segments to generate a clip.
repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;
Returns | |
---|---|
Type | Description |
List<Slice> |
getSlicesOrBuilder(int index)
public Clip.SliceOrBuilder getSlicesOrBuilder(int index)
The specified ranges of segments to generate a clip.
repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Clip.SliceOrBuilder |
getSlicesOrBuilderList()
public List<? extends Clip.SliceOrBuilder> getSlicesOrBuilderList()
The specified ranges of segments to generate a clip.
repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.video.livestream.v1.Clip.SliceOrBuilder> |
getStartTime()
public Timestamp getStartTime()
Output only. The timestamp when the clip request starts to be processed.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The startTime. |
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()
Output only. The timestamp when the clip request starts to be processed.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Output only. The timestamp when the clip request starts to be processed.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getState()
public Clip.State getState()
Output only. The state of the clip.
.google.cloud.video.livestream.v1.Clip.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Clip.State |
The state. |
getStateValue()
public int getStateValue()
Output only. The state of the clip.
.google.cloud.video.livestream.v1.Clip.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for state. |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The update timestamp of the clip resource.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. The update timestamp of the clip resource.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The update timestamp of the clip resource.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
Output only. The creation timestamp of the clip resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
hasError()
public boolean hasError()
Output only. An error object that describes the reason for the failure.
This property only presents when state
is FAILED
.
.google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the error field is set. |
hasStartTime()
public boolean hasStartTime()
Output only. The timestamp when the clip request starts to be processed.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the startTime field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The update timestamp of the clip resource.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public Clip.Builder mergeCreateTime(Timestamp value)
Output only. The creation timestamp of the clip resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Clip.Builder |
mergeError(Status value)
public Clip.Builder mergeError(Status value)
Output only. An error object that describes the reason for the failure.
This property only presents when state
is FAILED
.
.google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
com.google.rpc.Status |
Returns | |
---|---|
Type | Description |
Clip.Builder |
mergeFrom(Clip other)
public Clip.Builder mergeFrom(Clip other)
Parameter | |
---|---|
Name | Description |
other |
Clip |
Returns | |
---|---|
Type | Description |
Clip.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Clip.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Clip.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Clip.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Clip.Builder |
mergeStartTime(Timestamp value)
public Clip.Builder mergeStartTime(Timestamp value)
Output only. The timestamp when the clip request starts to be processed.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Clip.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Clip.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Clip.Builder |
mergeUpdateTime(Timestamp value)
public Clip.Builder mergeUpdateTime(Timestamp value)
Output only. The update timestamp of the clip resource.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Clip.Builder |
putAllLabels(Map<String,String> values)
public Clip.Builder putAllLabels(Map<String,String> values)
The labels associated with this resource. Each label is a key-value pair.
map<string, string> labels = 5;
Parameter | |
---|---|
Name | Description |
values |
Map<String,String> |
Returns | |
---|---|
Type | Description |
Clip.Builder |
putLabels(String key, String value)
public Clip.Builder putLabels(String key, String value)
The labels associated with this resource. Each label is a key-value pair.
map<string, string> labels = 5;
Parameters | |
---|---|
Name | Description |
key |
String |
value |
String |
Returns | |
---|---|
Type | Description |
Clip.Builder |
removeClipManifests(int index)
public Clip.Builder removeClipManifests(int index)
Required. A list of clip manifests. Currently only one clip manifest is allowed.
repeated .google.cloud.video.livestream.v1.Clip.ClipManifest clip_manifests = 12 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Clip.Builder |
removeLabels(String key)
public Clip.Builder removeLabels(String key)
The labels associated with this resource. Each label is a key-value pair.
map<string, string> labels = 5;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
Clip.Builder |
removeSlices(int index)
public Clip.Builder removeSlices(int index)
The specified ranges of segments to generate a clip.
repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Clip.Builder |
setClipManifests(int index, Clip.ClipManifest value)
public Clip.Builder setClipManifests(int index, Clip.ClipManifest value)
Required. A list of clip manifests. Currently only one clip manifest is allowed.
repeated .google.cloud.video.livestream.v1.Clip.ClipManifest clip_manifests = 12 [(.google.api.field_behavior) = REQUIRED];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Clip.ClipManifest |
Returns | |
---|---|
Type | Description |
Clip.Builder |
setClipManifests(int index, Clip.ClipManifest.Builder builderForValue)
public Clip.Builder setClipManifests(int index, Clip.ClipManifest.Builder builderForValue)
Required. A list of clip manifests. Currently only one clip manifest is allowed.
repeated .google.cloud.video.livestream.v1.Clip.ClipManifest clip_manifests = 12 [(.google.api.field_behavior) = REQUIRED];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Clip.ClipManifest.Builder |
Returns | |
---|---|
Type | Description |
Clip.Builder |
setCreateTime(Timestamp value)
public Clip.Builder setCreateTime(Timestamp value)
Output only. The creation timestamp of the clip resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Clip.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Clip.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The creation timestamp of the clip resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Clip.Builder |
setError(Status value)
public Clip.Builder setError(Status value)
Output only. An error object that describes the reason for the failure.
This property only presents when state
is FAILED
.
.google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
com.google.rpc.Status |
Returns | |
---|---|
Type | Description |
Clip.Builder |
setError(Status.Builder builderForValue)
public Clip.Builder setError(Status.Builder builderForValue)
Output only. An error object that describes the reason for the failure.
This property only presents when state
is FAILED
.
.google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
com.google.rpc.Status.Builder |
Returns | |
---|---|
Type | Description |
Clip.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Clip.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Clip.Builder |
setName(String value)
public Clip.Builder setName(String value)
The resource name of the clip, in the following format:
projects/{project}/locations/{location}/channels/{c}/clips/{clipId}
.
{clipId}
is a user-specified resource id that conforms to the following
criteria:
- 1 character minimum, 63 characters maximum
- Only contains letters, digits, underscores, and hyphens
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
Clip.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Clip.Builder setNameBytes(ByteString value)
The resource name of the clip, in the following format:
projects/{project}/locations/{location}/channels/{c}/clips/{clipId}
.
{clipId}
is a user-specified resource id that conforms to the following
criteria:
- 1 character minimum, 63 characters maximum
- Only contains letters, digits, underscores, and hyphens
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Clip.Builder |
This builder for chaining. |
setOutputUri(String value)
public Clip.Builder setOutputUri(String value)
Specify the output_uri
to determine where to place the clip segments and
clip manifest files in Cloud Storage. The manifests specified in
clip_manifests
fields will be placed under this URI. The exact URI of the
generated manifests will be provided in clip_manifests.output_uri
for
each manifest.
Example:
"output_uri": "gs://my-bucket/clip-outputs"
"clip_manifests.output_uri": "gs://my-bucket/clip-outputs/main.m3u8"
string output_uri = 7;
Parameter | |
---|---|
Name | Description |
value |
String The outputUri to set. |
Returns | |
---|---|
Type | Description |
Clip.Builder |
This builder for chaining. |
setOutputUriBytes(ByteString value)
public Clip.Builder setOutputUriBytes(ByteString value)
Specify the output_uri
to determine where to place the clip segments and
clip manifest files in Cloud Storage. The manifests specified in
clip_manifests
fields will be placed under this URI. The exact URI of the
generated manifests will be provided in clip_manifests.output_uri
for
each manifest.
Example:
"output_uri": "gs://my-bucket/clip-outputs"
"clip_manifests.output_uri": "gs://my-bucket/clip-outputs/main.m3u8"
string output_uri = 7;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for outputUri to set. |
Returns | |
---|---|
Type | Description |
Clip.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Clip.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Clip.Builder |
setSlices(int index, Clip.Slice value)
public Clip.Builder setSlices(int index, Clip.Slice value)
The specified ranges of segments to generate a clip.
repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Clip.Slice |
Returns | |
---|---|
Type | Description |
Clip.Builder |
setSlices(int index, Clip.Slice.Builder builderForValue)
public Clip.Builder setSlices(int index, Clip.Slice.Builder builderForValue)
The specified ranges of segments to generate a clip.
repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Clip.Slice.Builder |
Returns | |
---|---|
Type | Description |
Clip.Builder |
setStartTime(Timestamp value)
public Clip.Builder setStartTime(Timestamp value)
Output only. The timestamp when the clip request starts to be processed.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Clip.Builder |
setStartTime(Timestamp.Builder builderForValue)
public Clip.Builder setStartTime(Timestamp.Builder builderForValue)
Output only. The timestamp when the clip request starts to be processed.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Clip.Builder |
setState(Clip.State value)
public Clip.Builder setState(Clip.State value)
Output only. The state of the clip.
.google.cloud.video.livestream.v1.Clip.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Clip.State The state to set. |
Returns | |
---|---|
Type | Description |
Clip.Builder |
This builder for chaining. |
setStateValue(int value)
public Clip.Builder setStateValue(int value)
Output only. The state of the clip.
.google.cloud.video.livestream.v1.Clip.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
Clip.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Clip.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Clip.Builder |
setUpdateTime(Timestamp value)
public Clip.Builder setUpdateTime(Timestamp value)
Output only. The update timestamp of the clip resource.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Clip.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Clip.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. The update timestamp of the clip resource.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Clip.Builder |