Interface CreateServingConfigRequestOrBuilder (2.24.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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

getServingConfig()

public abstract ServingConfig getServingConfig()

Required. The ServingConfig to create.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for servingConfigId.

getServingConfigOrBuilder()

public abstract ServingConfigOrBuilder getServingConfigOrBuilder()

Required. The ServingConfig to create.

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

Returns
TypeDescription
ServingConfigOrBuilder

hasServingConfig()

public abstract boolean hasServingConfig()

Required. The ServingConfig to create.

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

Returns
TypeDescription
boolean

Whether the servingConfig field is set.