Interface UpdateControlRequestOrBuilder (2.44.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
Type Description
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
Type Description
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
Type Description
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
Type Description
FieldMaskOrBuilder

hasControl()

public abstract boolean hasControl()

Required. The Control to update.

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

Returns
Type Description
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
Type Description
boolean

Whether the updateMask field is set.