Interface UpdateSampleQueryRequestOrBuilder (0.44.0)

public interface UpdateSampleQueryRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSampleQuery()

public abstract SampleQuery getSampleQuery()

Required. The simple query to update.

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

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

.google.cloud.discoveryengine.v1alpha.SampleQuery sample_query = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SampleQuery

The sampleQuery.

getSampleQueryOrBuilder()

public abstract SampleQueryOrBuilder getSampleQueryOrBuilder()

Required. The simple query to update.

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

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

.google.cloud.discoveryengine.v1alpha.SampleQuery sample_query = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SampleQueryOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

Indicates which fields in the provided imported 'simple query' to update. If not set, will by default update all fields.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Indicates which fields in the provided imported 'simple query' to update. If not set, will by default update all fields.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasSampleQuery()

public abstract boolean hasSampleQuery()

Required. The simple query to update.

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

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

.google.cloud.discoveryengine.v1alpha.SampleQuery sample_query = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the sampleQuery field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

Indicates which fields in the provided imported 'simple query' to update. If not set, will by default update all fields.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.