Interface AssetOrBuilder (0.2.0)

public interface AssetOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAssetGcsSource()

public abstract 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
Type Description
AssetSource.AssetGcsSource

The assetGcsSource.

getAssetGcsSourceOrBuilder()

public abstract 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];

Returns
Type Description
AssetSource.AssetGcsSourceOrBuilder

getName()

public abstract String getName()

Resource name of the asset. Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Resource name of the asset. Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getTtl()

public abstract 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
Type Description
Duration

The ttl.

getTtlOrBuilder()

public abstract 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;

Returns
Type Description
DurationOrBuilder

hasAssetGcsSource()

public abstract 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
Type Description
boolean

Whether the assetGcsSource field is set.

hasTtl()

public abstract 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
Type Description
boolean

Whether the ttl field is set.