Interface UpdateCustomClassRequestOrBuilder (4.7.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.