- 0.57.0 (latest)
- 0.56.0
- 0.55.0
- 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 interface AssetOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsLabels(String key)
public abstract 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 abstract 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 abstract 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 abstract 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. |
getCreateTimeOrBuilder()
public abstract TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getError()
public abstract 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. |
getErrorOrBuilder()
public abstract 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 abstract Asset.ImageAsset getImage()
ImageAsset represents an image.
.google.cloud.video.livestream.v1.Asset.ImageAsset image = 6;
Returns | |
---|---|
Type | Description |
Asset.ImageAsset | The image. |
getImageOrBuilder()
public abstract Asset.ImageAssetOrBuilder getImageOrBuilder()
ImageAsset represents an image.
.google.cloud.video.livestream.v1.Asset.ImageAsset image = 6;
Returns | |
---|---|
Type | Description |
Asset.ImageAssetOrBuilder |
getLabels()
public abstract Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public abstract int getLabelsCount()
User-defined key/value metadata.
map<string, string> labels = 4;
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public abstract 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 abstract 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 abstract String getLabelsOrThrow(String key)
User-defined key/value metadata.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
String |
getName()
public abstract 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 abstract 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 abstract Asset.ResourceCase getResourceCase()
Returns | |
---|---|
Type | Description |
Asset.ResourceCase |
getState()
public abstract 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 abstract 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 abstract 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. |
getUpdateTimeOrBuilder()
public abstract 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 abstract Asset.VideoAsset getVideo()
VideoAsset represents a video.
.google.cloud.video.livestream.v1.Asset.VideoAsset video = 5;
Returns | |
---|---|
Type | Description |
Asset.VideoAsset | The video. |
getVideoOrBuilder()
public abstract Asset.VideoAssetOrBuilder getVideoOrBuilder()
VideoAsset represents a video.
.google.cloud.video.livestream.v1.Asset.VideoAsset video = 5;
Returns | |
---|---|
Type | Description |
Asset.VideoAssetOrBuilder |
hasCreateTime()
public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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. |