Interface UpdateAssetRequestOrBuilder (0.8.0)

public interface UpdateAssetRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAsset()

public abstract Asset getAsset()

Required. The asset to update.

The asset's name field is used to identify the asset to be updated. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}

.google.cloud.visionai.v1.Asset asset = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Asset

The asset.

getAssetOrBuilder()

public abstract AssetOrBuilder getAssetOrBuilder()

Required. The asset to update.

The asset's name field is used to identify the asset to be updated. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}

.google.cloud.visionai.v1.Asset asset = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AssetOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasAsset()

public abstract boolean hasAsset()

Required. The asset to update.

The asset's name field is used to identify the asset to be updated. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}

.google.cloud.visionai.v1.Asset asset = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the asset field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.