Package com.google.cloud.retail.v2
Interface CatalogOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Catalog
,Catalog.Builder
public interface CatalogOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDisplayName()
Required.com.google.protobuf.ByteString
getDisplayNameBytes()
Required.String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.ProductLevelConfig
getProductLevelConfig()
Required.ProductLevelConfigOrBuilder
getProductLevelConfigOrBuilder()
Required.boolean
hasProductLevelConfig()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Required. Immutable. The fully qualified resource name of the catalog.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Required. Immutable. The fully qualified resource name of the catalog.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
- Returns:
- The bytes for name.
-
getDisplayName
String getDisplayName()
Required. Immutable. The catalog display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()
Required. Immutable. The catalog display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
- Returns:
- The bytes for displayName.
-
hasProductLevelConfig
boolean hasProductLevelConfig()
Required. The product level configuration.
.google.cloud.retail.v2.ProductLevelConfig product_level_config = 4 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the productLevelConfig field is set.
-
getProductLevelConfig
ProductLevelConfig getProductLevelConfig()
Required. The product level configuration.
.google.cloud.retail.v2.ProductLevelConfig product_level_config = 4 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The productLevelConfig.
-
getProductLevelConfigOrBuilder
ProductLevelConfigOrBuilder getProductLevelConfigOrBuilder()
Required. The product level configuration.
.google.cloud.retail.v2.ProductLevelConfig product_level_config = 4 [(.google.api.field_behavior) = REQUIRED];
-
-