Package com.google.cloud.visionai.v1
Interface AssetSourceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AssetSource,AssetSource.Builder
@Generated
public interface AssetSourceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe source of the asset is from content bytes.The source of the asset is from content bytes.The source of the asset is from Cloud Storage.The source of the asset is from Cloud Storage.booleanThe source of the asset is from content bytes.booleanThe source of the asset is from Cloud Storage.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
-
hasAssetGcsSource
boolean hasAssetGcsSource()The source of the asset is from Cloud Storage.
.google.cloud.visionai.v1.AssetSource.AssetGcsSource asset_gcs_source = 1;- Returns:
- Whether the assetGcsSource field is set.
-
getAssetGcsSource
AssetSource.AssetGcsSource getAssetGcsSource()The source of the asset is from Cloud Storage.
.google.cloud.visionai.v1.AssetSource.AssetGcsSource asset_gcs_source = 1;- Returns:
- The assetGcsSource.
-
getAssetGcsSourceOrBuilder
AssetSource.AssetGcsSourceOrBuilder getAssetGcsSourceOrBuilder()The source of the asset is from Cloud Storage.
.google.cloud.visionai.v1.AssetSource.AssetGcsSource asset_gcs_source = 1; -
hasAssetContentData
boolean hasAssetContentData()The source of the asset is from content bytes.
.google.cloud.visionai.v1.AssetSource.AssetContentData asset_content_data = 2;- Returns:
- Whether the assetContentData field is set.
-
getAssetContentData
AssetSource.AssetContentData getAssetContentData()The source of the asset is from content bytes.
.google.cloud.visionai.v1.AssetSource.AssetContentData asset_content_data = 2;- Returns:
- The assetContentData.
-
getAssetContentDataOrBuilder
AssetSource.AssetContentDataOrBuilder getAssetContentDataOrBuilder()The source of the asset is from content bytes.
.google.cloud.visionai.v1.AssetSource.AssetContentData asset_content_data = 2; -
getSourceFormCase
AssetSource.SourceFormCase getSourceFormCase()
-