Package com.google.cloud.retail.v2alpha
Interface CreateServingConfigRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateServingConfigRequest,CreateServingConfigRequest.Builder
@Generated
public interface CreateServingConfigRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.Required.Required.com.google.protobuf.ByteStringRequired.Required.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getParent
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:
- The parent.
-
getParentBytes
com.google.protobuf.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:
- The bytes for parent.
-
hasServingConfig
boolean hasServingConfig()Required. The ServingConfig to create.
.google.cloud.retail.v2alpha.ServingConfig serving_config = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the servingConfig field is set.
-
getServingConfig
ServingConfig getServingConfig()Required. The ServingConfig to create.
.google.cloud.retail.v2alpha.ServingConfig serving_config = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The servingConfig.
-
getServingConfigOrBuilder
ServingConfigOrBuilder getServingConfigOrBuilder()Required. The ServingConfig to create.
.google.cloud.retail.v2alpha.ServingConfig serving_config = 2 [(.google.api.field_behavior) = REQUIRED]; -
getServingConfigId
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][0-9]-_/.
string serving_config_id = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The servingConfigId.
-
getServingConfigIdBytes
com.google.protobuf.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][0-9]-_/.
string serving_config_id = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for servingConfigId.
-