Package com.google.cloud.visionai.v1
Interface AssetOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Asset,Asset.Builder
@Generated
public interface AssetOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOutput only.Output only.getName()Resource name of the asset.com.google.protobuf.ByteStringResource name of the asset.com.google.protobuf.DurationgetTtl()The duration for which all media assets, associated metadata, and search documents can exist.com.google.protobuf.DurationOrBuilderThe duration for which all media assets, associated metadata, and search documents can exist.booleanOutput only.booleanhasTtl()The duration for which all media assets, associated metadata, and search documents can exist.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Resource name of the asset. Format: `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}`string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Resource name of the asset. Format: `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}`string name = 1;- Returns:
- The bytes for name.
-
hasTtl
boolean hasTtl()The duration for which all media assets, associated metadata, and search documents can exist. If not set, then it will using the default ttl in the parent corpus resource.
.google.protobuf.Duration ttl = 2;- Returns:
- Whether the ttl field is set.
-
getTtl
com.google.protobuf.Duration getTtl()The duration for which all media assets, associated metadata, and search documents can exist. If not set, then it will using the default ttl in the parent corpus resource.
.google.protobuf.Duration ttl = 2;- Returns:
- The ttl.
-
getTtlOrBuilder
com.google.protobuf.DurationOrBuilder getTtlOrBuilder()The duration for which all media assets, associated metadata, and search documents can exist. If not set, then it will using the default ttl in the parent corpus resource.
.google.protobuf.Duration ttl = 2; -
hasAssetGcsSource
boolean hasAssetGcsSource()Output only. The original cloud storage source uri that is associated with this asset.
.google.cloud.visionai.v1.AssetSource.AssetGcsSource asset_gcs_source = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the assetGcsSource field is set.
-
getAssetGcsSource
AssetSource.AssetGcsSource getAssetGcsSource()Output only. The original cloud storage source uri that is associated with this asset.
.google.cloud.visionai.v1.AssetSource.AssetGcsSource asset_gcs_source = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The assetGcsSource.
-
getAssetGcsSourceOrBuilder
AssetSource.AssetGcsSourceOrBuilder getAssetGcsSourceOrBuilder()Output only. The original cloud storage source uri that is associated with this asset.
.google.cloud.visionai.v1.AssetSource.AssetGcsSource asset_gcs_source = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-