Interface UpdateCustomClassRequestOrBuilder (4.47.0)

public interface UpdateCustomClassRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCustomClass()

public abstract CustomClass getCustomClass()

Required. The CustomClass to update.

The CustomClass's name field is used to identify the CustomClass to update. Format: projects/{project}/locations/{location}/customClasses/{custom_class}.

.google.cloud.speech.v2.CustomClass custom_class = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CustomClass

The customClass.

getCustomClassOrBuilder()

public abstract CustomClassOrBuilder getCustomClassOrBuilder()

Required. The CustomClass to update.

The CustomClass's name field is used to identify the CustomClass to update. Format: projects/{project}/locations/{location}/customClasses/{custom_class}.

.google.cloud.speech.v2.CustomClass custom_class = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CustomClassOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

The list of fields to be updated. If empty, all fields are considered for update.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

The list of fields to be updated. If empty, all fields are considered for update.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

getValidateOnly()

public abstract boolean getValidateOnly()

If set, validate the request and preview the updated CustomClass, but do not actually update it.

bool validate_only = 4;

Returns
Type Description
boolean

The validateOnly.

hasCustomClass()

public abstract boolean hasCustomClass()

Required. The CustomClass to update.

The CustomClass's name field is used to identify the CustomClass to update. Format: projects/{project}/locations/{location}/customClasses/{custom_class}.

.google.cloud.speech.v2.CustomClass custom_class = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the customClass field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

The list of fields to be updated. If empty, all fields are considered for update.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.