Interface AssetSourceOrBuilder (0.8.0)

public interface AssetSourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAssetContentData()

public abstract AssetSource.AssetContentData getAssetContentData()

The source of the asset is from content bytes.

.google.cloud.visionai.v1.AssetSource.AssetContentData asset_content_data = 2;

Returns
Type Description
AssetSource.AssetContentData

The assetContentData.

getAssetContentDataOrBuilder()

public abstract AssetSource.AssetContentDataOrBuilder getAssetContentDataOrBuilder()

The source of the asset is from content bytes.

.google.cloud.visionai.v1.AssetSource.AssetContentData asset_content_data = 2;

Returns
Type Description
AssetSource.AssetContentDataOrBuilder

getAssetGcsSource()

public abstract AssetSource.AssetGcsSource getAssetGcsSource()

The source of the asset is from Cloud Storage.

.google.cloud.visionai.v1.AssetSource.AssetGcsSource asset_gcs_source = 1;

Returns
Type Description
AssetSource.AssetGcsSource

The assetGcsSource.

getAssetGcsSourceOrBuilder()

public abstract AssetSource.AssetGcsSourceOrBuilder getAssetGcsSourceOrBuilder()

The source of the asset is from Cloud Storage.

.google.cloud.visionai.v1.AssetSource.AssetGcsSource asset_gcs_source = 1;

Returns
Type Description
AssetSource.AssetGcsSourceOrBuilder

getSourceFormCase()

public abstract AssetSource.SourceFormCase getSourceFormCase()
Returns
Type Description
AssetSource.SourceFormCase

hasAssetContentData()

public abstract boolean hasAssetContentData()

The source of the asset is from content bytes.

.google.cloud.visionai.v1.AssetSource.AssetContentData asset_content_data = 2;

Returns
Type Description
boolean

Whether the assetContentData field is set.

hasAssetGcsSource()

public abstract boolean hasAssetGcsSource()

The source of the asset is from Cloud Storage.

.google.cloud.visionai.v1.AssetSource.AssetGcsSource asset_gcs_source = 1;

Returns
Type Description
boolean

Whether the assetGcsSource field is set.