Interface UpdateControlRequestOrBuilder (0.41.0)

public interface UpdateControlRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getControl()

public abstract Control getControl()

Required. The Control to update.

.google.cloud.discoveryengine.v1.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.discoveryengine.v1.Control control = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ControlOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

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

  • Control.name
  • Control.solution_type

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

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

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

  • Control.name
  • Control.solution_type

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

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMaskOrBuilder

hasControl()

public abstract boolean hasControl()

Required. The Control to update.

.google.cloud.discoveryengine.v1.Control control = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the control field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

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

  • Control.name
  • Control.solution_type

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

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the updateMask field is set.