All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.video.livestream.v1.AssetOrBuilder Maven / Gradle / Ivy

/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/video/livestream/v1/resources.proto

// Protobuf Java Version: 3.25.5
package com.google.cloud.video.livestream.v1;

public interface AssetOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.Asset)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * The resource name of the asset, in the form of:
   * `projects/{project}/locations/{location}/assets/{assetId}`.
   * 
* * string name = 1; * * @return The name. */ java.lang.String getName(); /** * * *
   * The resource name of the asset, in the form of:
   * `projects/{project}/locations/{location}/assets/{assetId}`.
   * 
* * string name = 1; * * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * * *
   * Output only. The creation time.
   * 
* * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** * * *
   * Output only. The creation time.
   * 
* * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** * * *
   * Output only. The creation time.
   * 
* * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** * * *
   * Output only. The update time.
   * 
* * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** * * *
   * Output only. The update time.
   * 
* * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** * * *
   * Output only. The update time.
   * 
* * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** * * *
   * User-defined key/value metadata.
   * 
* * map<string, string> labels = 4; */ int getLabelsCount(); /** * * *
   * User-defined key/value metadata.
   * 
* * map<string, string> labels = 4; */ boolean containsLabels(java.lang.String key); /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated java.util.Map getLabels(); /** * * *
   * User-defined key/value metadata.
   * 
* * map<string, string> labels = 4; */ java.util.Map getLabelsMap(); /** * * *
   * User-defined key/value metadata.
   * 
* * map<string, string> labels = 4; */ /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** * * *
   * User-defined key/value metadata.
   * 
* * map<string, string> labels = 4; */ java.lang.String getLabelsOrThrow(java.lang.String key); /** * * *
   * VideoAsset represents a video.
   * 
* * .google.cloud.video.livestream.v1.Asset.VideoAsset video = 5; * * @return Whether the video field is set. */ boolean hasVideo(); /** * * *
   * VideoAsset represents a video.
   * 
* * .google.cloud.video.livestream.v1.Asset.VideoAsset video = 5; * * @return The video. */ com.google.cloud.video.livestream.v1.Asset.VideoAsset getVideo(); /** * * *
   * VideoAsset represents a video.
   * 
* * .google.cloud.video.livestream.v1.Asset.VideoAsset video = 5; */ com.google.cloud.video.livestream.v1.Asset.VideoAssetOrBuilder getVideoOrBuilder(); /** * * *
   * ImageAsset represents an image.
   * 
* * .google.cloud.video.livestream.v1.Asset.ImageAsset image = 6; * * @return Whether the image field is set. */ boolean hasImage(); /** * * *
   * ImageAsset represents an image.
   * 
* * .google.cloud.video.livestream.v1.Asset.ImageAsset image = 6; * * @return The image. */ com.google.cloud.video.livestream.v1.Asset.ImageAsset getImage(); /** * * *
   * ImageAsset represents an image.
   * 
* * .google.cloud.video.livestream.v1.Asset.ImageAsset image = 6; */ com.google.cloud.video.livestream.v1.Asset.ImageAssetOrBuilder getImageOrBuilder(); /** * * *
   * Based64-encoded CRC32c checksum of the asset file. For more information,
   * see the crc32c checksum of the [Cloud Storage Objects
   * resource](https://cloud.google.com/storage/docs/json_api/v1/objects).
   * 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][google.cloud.video.livestream.v1.Asset.VideoAsset.uri] or
   * [ImageAsset.uri][google.cloud.video.livestream.v1.Asset.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][google.cloud.video.livestream.v1.Asset.VideoAsset.uri] or
   * [ImageAsset.uri][google.cloud.video.livestream.v1.Asset.ImageAsset.uri].
   * 
* * string crc32c = 7; * * @return The crc32c. */ java.lang.String getCrc32C(); /** * * *
   * Based64-encoded CRC32c checksum of the asset file. For more information,
   * see the crc32c checksum of the [Cloud Storage Objects
   * resource](https://cloud.google.com/storage/docs/json_api/v1/objects).
   * 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][google.cloud.video.livestream.v1.Asset.VideoAsset.uri] or
   * [ImageAsset.uri][google.cloud.video.livestream.v1.Asset.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][google.cloud.video.livestream.v1.Asset.VideoAsset.uri] or
   * [ImageAsset.uri][google.cloud.video.livestream.v1.Asset.ImageAsset.uri].
   * 
* * string crc32c = 7; * * @return The bytes for crc32c. */ com.google.protobuf.ByteString getCrc32CBytes(); /** * * *
   * Output only. The state of the asset resource.
   * 
* * * .google.cloud.video.livestream.v1.Asset.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The enum numeric value on the wire for state. */ 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]; * * * @return The state. */ com.google.cloud.video.livestream.v1.Asset.State getState(); /** * * *
   * 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]; * * @return Whether the error field is set. */ 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]; * * @return The error. */ com.google.rpc.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]; */ com.google.rpc.StatusOrBuilder getErrorOrBuilder(); com.google.cloud.video.livestream.v1.Asset.ResourceCase getResourceCase(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy