Interface UpdateControlRequestOrBuilder (2.29.0)

public interface UpdateControlRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getControl()

public abstract Control getControl()

Required. The Control to update.

.google.cloud.retail.v2.Control control = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Control

The control.

getControlOrBuilder()

public abstract ControlOrBuilder getControlOrBuilder()

Required. The Control to update.

.google.cloud.retail.v2.Control control = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ControlOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

Indicates which fields in the provided Control to update. The following are NOT supported:

  • Control.name

    If not set or empty, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Indicates which fields in the provided Control to update. The following are NOT supported:

  • Control.name

    If not set or empty, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMaskOrBuilder

hasControl()

public abstract boolean hasControl()

Required. The Control to update.

.google.cloud.retail.v2.Control control = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the control field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

Indicates which fields in the provided Control to update. The following are NOT supported:

  • Control.name

    If not set or empty, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
boolean

Whether the updateMask field is set.