Interface CreateServingConfigRequestOrBuilder (2.56.0)

public interface CreateServingConfigRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. Full resource name of parent. Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}

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

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. Full resource name of parent. Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}

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

Returns
Type Description
ByteString

The bytes for parent.

getServingConfig()

public abstract ServingConfig getServingConfig()

Required. The ServingConfig to create.

.google.cloud.retail.v2alpha.ServingConfig serving_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ServingConfig

The servingConfig.

getServingConfigId()

public abstract String getServingConfigId()

Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name.

This value should be 4-63 characters, and valid characters are /a-z-_/.

string serving_config_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The servingConfigId.

getServingConfigIdBytes()

public abstract ByteString getServingConfigIdBytes()

Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name.

This value should be 4-63 characters, and valid characters are /a-z-_/.

string serving_config_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for servingConfigId.

getServingConfigOrBuilder()

public abstract ServingConfigOrBuilder getServingConfigOrBuilder()

Required. The ServingConfig to create.

.google.cloud.retail.v2alpha.ServingConfig serving_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ServingConfigOrBuilder

hasServingConfig()

public abstract boolean hasServingConfig()

Required. The ServingConfig to create.

.google.cloud.retail.v2alpha.ServingConfig serving_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the servingConfig field is set.