Interface UpdateWidgetConfigRequestOrBuilder (0.99.0)

public interface UpdateWidgetConfigRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getUpdateMask()

public abstract FieldMask getUpdateMask()

Indicates which fields in the provided WidgetConfig to update. The following are the only supported fields:

  • WidgetConfig.enable_autocomplete

    If not set, 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 WidgetConfig to update. The following are the only supported fields:

  • WidgetConfig.enable_autocomplete

    If not set, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

getWidgetConfig()

public abstract WidgetConfig getWidgetConfig()

Required. The WidgetConfig to update.

If the caller does not have permission to update the WidgetConfig, then a PERMISSION_DENIED error is returned.

If the WidgetConfig to update does not exist, a NOT_FOUND error is returned.

.google.cloud.discoveryengine.v1.WidgetConfig widget_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
WidgetConfig

The widgetConfig.

getWidgetConfigOrBuilder()

public abstract WidgetConfigOrBuilder getWidgetConfigOrBuilder()

Required. The WidgetConfig to update.

If the caller does not have permission to update the WidgetConfig, then a PERMISSION_DENIED error is returned.

If the WidgetConfig to update does not exist, a NOT_FOUND error is returned.

.google.cloud.discoveryengine.v1.WidgetConfig widget_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
WidgetConfigOrBuilder

hasUpdateMask()

public abstract boolean hasUpdateMask()

Indicates which fields in the provided WidgetConfig to update. The following are the only supported fields:

  • WidgetConfig.enable_autocomplete

    If not set, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.

hasWidgetConfig()

public abstract boolean hasWidgetConfig()

Required. The WidgetConfig to update.

If the caller does not have permission to update the WidgetConfig, then a PERMISSION_DENIED error is returned.

If the WidgetConfig to update does not exist, a NOT_FOUND error is returned.

.google.cloud.discoveryengine.v1.WidgetConfig widget_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the widgetConfig field is set.