Interface AddControlRequestOrBuilder (2.56.0)

public interface AddControlRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getControlId()

public abstract String getControlId()

Required. The id of the control to apply. Assumed to be in the same catalog as the serving config - if id is not found a NOT_FOUND error is returned.

string control_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The controlId.

getControlIdBytes()

public abstract ByteString getControlIdBytes()

Required. The id of the control to apply. Assumed to be in the same catalog as the serving config - if id is not found a NOT_FOUND error is returned.

string control_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for controlId.

getServingConfig()

public abstract String getServingConfig()

Required. The source ServingConfig resource name . Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}

string serving_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The servingConfig.

getServingConfigBytes()

public abstract ByteString getServingConfigBytes()

Required. The source ServingConfig resource name . Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}

string serving_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for servingConfig.