Interface UpdateDataStoreRequestOrBuilder (0.42.0)

public interface UpdateDataStoreRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDataStore()

public abstract DataStore getDataStore()

Required. The DataStore to update.

If the caller does not have permission to update the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.

If the DataStore to update does not exist, a NOT_FOUND error is returned.

.google.cloud.discoveryengine.v1.DataStore data_store = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataStore

The dataStore.

getDataStoreOrBuilder()

public abstract DataStoreOrBuilder getDataStoreOrBuilder()

Required. The DataStore to update.

If the caller does not have permission to update the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.

If the DataStore to update does not exist, a NOT_FOUND error is returned.

.google.cloud.discoveryengine.v1.DataStore data_store = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataStoreOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

Indicates which fields in the provided DataStore to update.

If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Indicates which fields in the provided DataStore to update.

If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasDataStore()

public abstract boolean hasDataStore()

Required. The DataStore to update.

If the caller does not have permission to update the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.

If the DataStore to update does not exist, a NOT_FOUND error is returned.

.google.cloud.discoveryengine.v1.DataStore data_store = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the dataStore field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

Indicates which fields in the provided DataStore to update.

If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.