Package com.google.cloud.retail.v2
Interface CreateServingConfigRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateServingConfigRequest,CreateServingConfigRequest.Builder
public interface CreateServingConfigRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetParent()Required.com.google.protobuf.ByteStringgetParentBytes()Required.ServingConfiggetServingConfig()Required.StringgetServingConfigId()Required.com.google.protobuf.ByteStringgetServingConfigIdBytes()Required.ServingConfigOrBuildergetServingConfigOrBuilder()Required.booleanhasServingConfig()Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.v2.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.v2.ServingConfig serving_config = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The servingConfig.
-
getServingConfigOrBuilder
ServingConfigOrBuilder getServingConfigOrBuilder()
Required. The ServingConfig to create.
.google.cloud.retail.v2.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.
-
-