- 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 Asset.Builder extends GeneratedMessageV3.Builder<Asset.Builder> implements AssetOrBuilder
An asset represents a video or an image.
Protobuf type google.cloud.video.livestream.v1.Asset
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Asset.BuilderImplements
AssetOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Asset.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Asset.Builder |
build()
public Asset build()
Returns | |
---|---|
Type | Description |
Asset |
buildPartial()
public Asset buildPartial()
Returns | |
---|---|
Type | Description |
Asset |
clear()
public Asset.Builder clear()
Returns | |
---|---|
Type | Description |
Asset.Builder |
clearCrc32C()
public Asset.Builder clearCrc32C()
Based64-encoded CRC32c checksum of the asset file. For more information, see the crc32c checksum of the Cloud Storage Objects resource. If crc32c is omitted or left empty when the asset is created, this field is filled by the crc32c checksum of the Cloud Storage object indicated by [VideoAsset.uri] or [ImageAsset.uri]. If crc32c is set, the asset can't be created if the crc32c value does not match with the crc32c checksum of the Cloud Storage object indicated by [VideoAsset.uri] or [ImageAsset.uri].
string crc32c = 7;
Returns | |
---|---|
Type | Description |
Asset.Builder | This builder for chaining. |
clearCreateTime()
public Asset.Builder clearCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Asset.Builder |
clearError()
public Asset.Builder clearError()
Output only. Only present when state
is ERROR
. The reason for the error
state of the asset.
.google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Asset.Builder |
clearField(Descriptors.FieldDescriptor field)
public Asset.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
Asset.Builder |
clearImage()
public Asset.Builder clearImage()
ImageAsset represents an image.
.google.cloud.video.livestream.v1.Asset.ImageAsset image = 6;
Returns | |
---|---|
Type | Description |
Asset.Builder |
clearLabels()
public Asset.Builder clearLabels()
Returns | |
---|---|
Type | Description |
Asset.Builder |
clearName()
public Asset.Builder clearName()
The resource name of the asset, in the form of:
projects/{project}/locations/{location}/assets/{assetId}
.
string name = 1;
Returns | |
---|---|
Type | Description |
Asset.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Asset.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Asset.Builder |
clearResource()
public Asset.Builder clearResource()
Returns | |
---|---|
Type | Description |
Asset.Builder |
clearState()
public Asset.Builder clearState()
Output only. The state of the asset resource.
.google.cloud.video.livestream.v1.Asset.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Asset.Builder | This builder for chaining. |
clearUpdateTime()
public Asset.Builder clearUpdateTime()
Output only. The update time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Asset.Builder |
clearVideo()
public Asset.Builder clearVideo()
VideoAsset represents a video.
.google.cloud.video.livestream.v1.Asset.VideoAsset video = 5;
Returns | |
---|---|
Type | Description |
Asset.Builder |
clone()
public Asset.Builder clone()
Returns | |
---|---|
Type | Description |
Asset.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
User-defined key/value metadata.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
getCrc32C()
public String getCrc32C()
Based64-encoded CRC32c checksum of the asset file. For more information, see the crc32c checksum of the Cloud Storage Objects resource. If crc32c is omitted or left empty when the asset is created, this field is filled by the crc32c checksum of the Cloud Storage object indicated by [VideoAsset.uri] or [ImageAsset.uri]. If crc32c is set, the asset can't be created if the crc32c value does not match with the crc32c checksum of the Cloud Storage object indicated by [VideoAsset.uri] or [ImageAsset.uri].
string crc32c = 7;
Returns | |
---|---|
Type | Description |
String | The crc32c. |
getCrc32CBytes()
public ByteString getCrc32CBytes()
Based64-encoded CRC32c checksum of the asset file. For more information, see the crc32c checksum of the Cloud Storage Objects resource. If crc32c is omitted or left empty when the asset is created, this field is filled by the crc32c checksum of the Cloud Storage object indicated by [VideoAsset.uri] or [ImageAsset.uri]. If crc32c is set, the asset can't be created if the crc32c value does not match with the crc32c checksum of the Cloud Storage object indicated by [VideoAsset.uri] or [ImageAsset.uri].
string crc32c = 7;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for crc32c. |
getCreateTime()
public Timestamp getCreateTime()
Output only. The creation time.
.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 time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Asset getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Asset |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getError()
public Status getError()
Output only. Only present when state
is ERROR
. The reason for the error
state of the asset.
.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. Only present when state
is ERROR
. The reason for the error
state of the asset.
.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. Only present when state
is ERROR
. The reason for the error
state of the asset.
.google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
com.google.rpc.StatusOrBuilder |
getImage()
public Asset.ImageAsset getImage()
ImageAsset represents an image.
.google.cloud.video.livestream.v1.Asset.ImageAsset image = 6;
Returns | |
---|---|
Type | Description |
Asset.ImageAsset | The image. |
getImageBuilder()
public Asset.ImageAsset.Builder getImageBuilder()
ImageAsset represents an image.
.google.cloud.video.livestream.v1.Asset.ImageAsset image = 6;
Returns | |
---|---|
Type | Description |
Asset.ImageAsset.Builder |
getImageOrBuilder()
public Asset.ImageAssetOrBuilder getImageOrBuilder()
ImageAsset represents an image.
.google.cloud.video.livestream.v1.Asset.ImageAsset image = 6;
Returns | |
---|---|
Type | Description |
Asset.ImageAssetOrBuilder |
getLabels() (deprecated)
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
User-defined key/value metadata.
map<string, string> labels = 4;
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
User-defined key/value metadata.
map<string, string> labels = 4;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
User-defined key/value metadata.
map<string, string> labels = 4;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
User-defined key/value metadata.
map<string, string> labels = 4;
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 asset, in the form of:
projects/{project}/locations/{location}/assets/{assetId}
.
string name = 1;
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The resource name of the asset, in the form of:
projects/{project}/locations/{location}/assets/{assetId}
.
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getResourceCase()
public Asset.ResourceCase getResourceCase()
Returns | |
---|---|
Type | Description |
Asset.ResourceCase |
getState()
public Asset.State getState()
Output only. The state of the asset resource.
.google.cloud.video.livestream.v1.Asset.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Asset.State | The state. |
getStateValue()
public int getStateValue()
Output only. The state of the asset resource.
.google.cloud.video.livestream.v1.Asset.State state = 8 [(.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 time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. The update time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The update time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getVideo()
public Asset.VideoAsset getVideo()
VideoAsset represents a video.
.google.cloud.video.livestream.v1.Asset.VideoAsset video = 5;
Returns | |
---|---|
Type | Description |
Asset.VideoAsset | The video. |
getVideoBuilder()
public Asset.VideoAsset.Builder getVideoBuilder()
VideoAsset represents a video.
.google.cloud.video.livestream.v1.Asset.VideoAsset video = 5;
Returns | |
---|---|
Type | Description |
Asset.VideoAsset.Builder |
getVideoOrBuilder()
public Asset.VideoAssetOrBuilder getVideoOrBuilder()
VideoAsset represents a video.
.google.cloud.video.livestream.v1.Asset.VideoAsset video = 5;
Returns | |
---|---|
Type | Description |
Asset.VideoAssetOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
Output only. The creation time.
.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. Only present when state
is ERROR
. The reason for the error
state of the asset.
.google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the error field is set. |
hasImage()
public boolean hasImage()
ImageAsset represents an image.
.google.cloud.video.livestream.v1.Asset.ImageAsset image = 6;
Returns | |
---|---|
Type | Description |
boolean | Whether the image field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The update time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the updateTime field is set. |
hasVideo()
public boolean hasVideo()
VideoAsset represents a video.
.google.cloud.video.livestream.v1.Asset.VideoAsset video = 5;
Returns | |
---|---|
Type | Description |
boolean | Whether the video field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public Asset.Builder mergeCreateTime(Timestamp value)
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Asset.Builder |
mergeError(Status value)
public Asset.Builder mergeError(Status value)
Output only. Only present when state
is ERROR
. The reason for the error
state of the asset.
.google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | com.google.rpc.Status |
Returns | |
---|---|
Type | Description |
Asset.Builder |
mergeFrom(Asset other)
public Asset.Builder mergeFrom(Asset other)
Parameter | |
---|---|
Name | Description |
other | Asset |
Returns | |
---|---|
Type | Description |
Asset.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Asset.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Asset.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Asset.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
Asset.Builder |
mergeImage(Asset.ImageAsset value)
public Asset.Builder mergeImage(Asset.ImageAsset value)
ImageAsset represents an image.
.google.cloud.video.livestream.v1.Asset.ImageAsset image = 6;
Parameter | |
---|---|
Name | Description |
value | Asset.ImageAsset |
Returns | |
---|---|
Type | Description |
Asset.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Asset.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Asset.Builder |
mergeUpdateTime(Timestamp value)
public Asset.Builder mergeUpdateTime(Timestamp value)
Output only. The update time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Asset.Builder |
mergeVideo(Asset.VideoAsset value)
public Asset.Builder mergeVideo(Asset.VideoAsset value)
VideoAsset represents a video.
.google.cloud.video.livestream.v1.Asset.VideoAsset video = 5;
Parameter | |
---|---|
Name | Description |
value | Asset.VideoAsset |
Returns | |
---|---|
Type | Description |
Asset.Builder |
putAllLabels(Map<String,String> values)
public Asset.Builder putAllLabels(Map<String,String> values)
User-defined key/value metadata.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
values | Map<String,String> |
Returns | |
---|---|
Type | Description |
Asset.Builder |
putLabels(String key, String value)
public Asset.Builder putLabels(String key, String value)
User-defined key/value metadata.
map<string, string> labels = 4;
Parameters | |
---|---|
Name | Description |
key | String |
value | String |
Returns | |
---|---|
Type | Description |
Asset.Builder |
removeLabels(String key)
public Asset.Builder removeLabels(String key)
User-defined key/value metadata.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setCrc32C(String value)
public Asset.Builder setCrc32C(String value)
Based64-encoded CRC32c checksum of the asset file. For more information, see the crc32c checksum of the Cloud Storage Objects resource. If crc32c is omitted or left empty when the asset is created, this field is filled by the crc32c checksum of the Cloud Storage object indicated by [VideoAsset.uri] or [ImageAsset.uri]. If crc32c is set, the asset can't be created if the crc32c value does not match with the crc32c checksum of the Cloud Storage object indicated by [VideoAsset.uri] or [ImageAsset.uri].
string crc32c = 7;
Parameter | |
---|---|
Name | Description |
value | String The crc32c to set. |
Returns | |
---|---|
Type | Description |
Asset.Builder | This builder for chaining. |
setCrc32CBytes(ByteString value)
public Asset.Builder setCrc32CBytes(ByteString value)
Based64-encoded CRC32c checksum of the asset file. For more information, see the crc32c checksum of the Cloud Storage Objects resource. If crc32c is omitted or left empty when the asset is created, this field is filled by the crc32c checksum of the Cloud Storage object indicated by [VideoAsset.uri] or [ImageAsset.uri]. If crc32c is set, the asset can't be created if the crc32c value does not match with the crc32c checksum of the Cloud Storage object indicated by [VideoAsset.uri] or [ImageAsset.uri].
string crc32c = 7;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for crc32c to set. |
Returns | |
---|---|
Type | Description |
Asset.Builder | This builder for chaining. |
setCreateTime(Timestamp value)
public Asset.Builder setCreateTime(Timestamp value)
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Asset.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setError(Status value)
public Asset.Builder setError(Status value)
Output only. Only present when state
is ERROR
. The reason for the error
state of the asset.
.google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | com.google.rpc.Status |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setError(Status.Builder builderForValue)
public Asset.Builder setError(Status.Builder builderForValue)
Output only. Only present when state
is ERROR
. The reason for the error
state of the asset.
.google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | com.google.rpc.Status.Builder |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Asset.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setImage(Asset.ImageAsset value)
public Asset.Builder setImage(Asset.ImageAsset value)
ImageAsset represents an image.
.google.cloud.video.livestream.v1.Asset.ImageAsset image = 6;
Parameter | |
---|---|
Name | Description |
value | Asset.ImageAsset |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setImage(Asset.ImageAsset.Builder builderForValue)
public Asset.Builder setImage(Asset.ImageAsset.Builder builderForValue)
ImageAsset represents an image.
.google.cloud.video.livestream.v1.Asset.ImageAsset image = 6;
Parameter | |
---|---|
Name | Description |
builderForValue | Asset.ImageAsset.Builder |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setName(String value)
public Asset.Builder setName(String value)
The resource name of the asset, in the form of:
projects/{project}/locations/{location}/assets/{assetId}
.
string name = 1;
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
Asset.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Asset.Builder setNameBytes(ByteString value)
The resource name of the asset, in the form of:
projects/{project}/locations/{location}/assets/{assetId}
.
string name = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Asset.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Asset.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setState(Asset.State value)
public Asset.Builder setState(Asset.State value)
Output only. The state of the asset resource.
.google.cloud.video.livestream.v1.Asset.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Asset.State The state to set. |
Returns | |
---|---|
Type | Description |
Asset.Builder | This builder for chaining. |
setStateValue(int value)
public Asset.Builder setStateValue(int value)
Output only. The state of the asset resource.
.google.cloud.video.livestream.v1.Asset.State state = 8 [(.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 |
Asset.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Asset.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setUpdateTime(Timestamp value)
public Asset.Builder setUpdateTime(Timestamp value)
Output only. The update time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Asset.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. The update time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setVideo(Asset.VideoAsset value)
public Asset.Builder setVideo(Asset.VideoAsset value)
VideoAsset represents a video.
.google.cloud.video.livestream.v1.Asset.VideoAsset video = 5;
Parameter | |
---|---|
Name | Description |
value | Asset.VideoAsset |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setVideo(Asset.VideoAsset.Builder builderForValue)
public Asset.Builder setVideo(Asset.VideoAsset.Builder builderForValue)
VideoAsset represents a video.
.google.cloud.video.livestream.v1.Asset.VideoAsset video = 5;
Parameter | |
---|---|
Name | Description |
builderForValue | Asset.VideoAsset.Builder |
Returns | |
---|---|
Type | Description |
Asset.Builder |