Interface ProductCategoryConstantOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ProductCategoryConstant,ProductCategoryConstant.Builder
public interface ProductCategoryConstantOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getResourceName
java.lang.String getResourceName()
Output only. The resource name of the product category. Product category resource names have the form: `productCategoryConstants/{level}~{category_id}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- The resourceName.
-
getResourceNameBytes
com.google.protobuf.ByteString getResourceNameBytes()
Output only. The resource name of the product category. Product category resource names have the form: `productCategoryConstants/{level}~{category_id}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for resourceName.
-
getCategoryId
long getCategoryId()
Output only. The ID of the product category. This ID is equivalent to the google_product_category ID as described in this article: https://support.google.com/merchants/answer/6324436.
int64 category_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The categoryId.
-
hasProductCategoryConstantParent
boolean hasProductCategoryConstantParent()
Output only. Resource name of the parent product category.
optional string product_category_constant_parent = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- Whether the productCategoryConstantParent field is set.
-
getProductCategoryConstantParent
java.lang.String getProductCategoryConstantParent()
Output only. Resource name of the parent product category.
optional string product_category_constant_parent = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- The productCategoryConstantParent.
-
getProductCategoryConstantParentBytes
com.google.protobuf.ByteString getProductCategoryConstantParentBytes()
Output only. Resource name of the parent product category.
optional string product_category_constant_parent = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for productCategoryConstantParent.
-
getLevelValue
int getLevelValue()
Output only. Level of the product category.
.google.ads.googleads.v15.enums.ProductCategoryLevelEnum.ProductCategoryLevel level = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for level.
-
getLevel
ProductCategoryLevelEnum.ProductCategoryLevel getLevel()
Output only. Level of the product category.
.google.ads.googleads.v15.enums.ProductCategoryLevelEnum.ProductCategoryLevel level = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The level.
-
getStateValue
int getStateValue()
Output only. State of the product category.
.google.ads.googleads.v15.enums.ProductCategoryStateEnum.ProductCategoryState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for state.
-
getState
ProductCategoryStateEnum.ProductCategoryState getState()
Output only. State of the product category.
.google.ads.googleads.v15.enums.ProductCategoryStateEnum.ProductCategoryState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The state.
-
getLocalizationsList
java.util.List<ProductCategoryConstant.ProductCategoryLocalization> getLocalizationsList()
Output only. List of all available localizations of the product category.
repeated .google.ads.googleads.v15.resources.ProductCategoryConstant.ProductCategoryLocalization localizations = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getLocalizations
ProductCategoryConstant.ProductCategoryLocalization getLocalizations(int index)
Output only. List of all available localizations of the product category.
repeated .google.ads.googleads.v15.resources.ProductCategoryConstant.ProductCategoryLocalization localizations = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getLocalizationsCount
int getLocalizationsCount()
Output only. List of all available localizations of the product category.
repeated .google.ads.googleads.v15.resources.ProductCategoryConstant.ProductCategoryLocalization localizations = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getLocalizationsOrBuilderList
java.util.List<? extends ProductCategoryConstant.ProductCategoryLocalizationOrBuilder> getLocalizationsOrBuilderList()
Output only. List of all available localizations of the product category.
repeated .google.ads.googleads.v15.resources.ProductCategoryConstant.ProductCategoryLocalization localizations = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getLocalizationsOrBuilder
ProductCategoryConstant.ProductCategoryLocalizationOrBuilder getLocalizationsOrBuilder(int index)
Output only. List of all available localizations of the product category.
repeated .google.ads.googleads.v15.resources.ProductCategoryConstant.ProductCategoryLocalization localizations = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
-