public interface BranchOrBuilder
extends com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
Immutable. Full resource name of the branch, such as `projects/*/locations/global/catalogs/default_catalog/branches/branch_id`.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];com.google.protobuf.ByteString getNameBytes()
Immutable. Full resource name of the branch, such as `projects/*/locations/global/catalogs/default_catalog/branches/branch_id`.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];String getDisplayName()
Output only. Human readable name of the branch to display in the UI.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];com.google.protobuf.ByteString getDisplayNameBytes()
Output only. Human readable name of the branch to display in the UI.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];boolean getIsDefault()
Output only. Indicates whether this branch is set as the default branch of its parent catalog.
bool is_default = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];boolean hasLastProductImportTime()
Output only. Timestamp of last import through [ProductService.ImportProducts][google.cloud.retail.v2alpha.ProductService.ImportProducts]. Empty value means no import has been made to this branch.
.google.protobuf.Timestamp last_product_import_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.Timestamp getLastProductImportTime()
Output only. Timestamp of last import through [ProductService.ImportProducts][google.cloud.retail.v2alpha.ProductService.ImportProducts]. Empty value means no import has been made to this branch.
.google.protobuf.Timestamp last_product_import_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.TimestampOrBuilder getLastProductImportTimeOrBuilder()
Output only. Timestamp of last import through [ProductService.ImportProducts][google.cloud.retail.v2alpha.ProductService.ImportProducts]. Empty value means no import has been made to this branch.
.google.protobuf.Timestamp last_product_import_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
List<Branch.ProductCountStatistic> getProductCountStatsList()
Output only. Statistics for number of products in the branch, provided for different [scopes][google.cloud.retail.v2alpha.Branch.ProductCountStatistic.ProductCountScope]. This field is not populated in [BranchView.BASIC][] view.
repeated .google.cloud.retail.v2alpha.Branch.ProductCountStatistic product_count_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Branch.ProductCountStatistic getProductCountStats(int index)
Output only. Statistics for number of products in the branch, provided for different [scopes][google.cloud.retail.v2alpha.Branch.ProductCountStatistic.ProductCountScope]. This field is not populated in [BranchView.BASIC][] view.
repeated .google.cloud.retail.v2alpha.Branch.ProductCountStatistic product_count_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
int getProductCountStatsCount()
Output only. Statistics for number of products in the branch, provided for different [scopes][google.cloud.retail.v2alpha.Branch.ProductCountStatistic.ProductCountScope]. This field is not populated in [BranchView.BASIC][] view.
repeated .google.cloud.retail.v2alpha.Branch.ProductCountStatistic product_count_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
List<? extends Branch.ProductCountStatisticOrBuilder> getProductCountStatsOrBuilderList()
Output only. Statistics for number of products in the branch, provided for different [scopes][google.cloud.retail.v2alpha.Branch.ProductCountStatistic.ProductCountScope]. This field is not populated in [BranchView.BASIC][] view.
repeated .google.cloud.retail.v2alpha.Branch.ProductCountStatistic product_count_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Branch.ProductCountStatisticOrBuilder getProductCountStatsOrBuilder(int index)
Output only. Statistics for number of products in the branch, provided for different [scopes][google.cloud.retail.v2alpha.Branch.ProductCountStatistic.ProductCountScope]. This field is not populated in [BranchView.BASIC][] view.
repeated .google.cloud.retail.v2alpha.Branch.ProductCountStatistic product_count_stats = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
List<Branch.QualityMetric> getQualityMetricsList()
Output only. The quality metrics measured among products of this branch. See [QualityMetric.requirement_key][google.cloud.retail.v2alpha.Branch.QualityMetric.requirement_key] for supported metrics. Metrics could be missing if failed to retrieve. This field is not populated in [BranchView.BASIC][] view.
repeated .google.cloud.retail.v2alpha.Branch.QualityMetric quality_metrics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Branch.QualityMetric getQualityMetrics(int index)
Output only. The quality metrics measured among products of this branch. See [QualityMetric.requirement_key][google.cloud.retail.v2alpha.Branch.QualityMetric.requirement_key] for supported metrics. Metrics could be missing if failed to retrieve. This field is not populated in [BranchView.BASIC][] view.
repeated .google.cloud.retail.v2alpha.Branch.QualityMetric quality_metrics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
int getQualityMetricsCount()
Output only. The quality metrics measured among products of this branch. See [QualityMetric.requirement_key][google.cloud.retail.v2alpha.Branch.QualityMetric.requirement_key] for supported metrics. Metrics could be missing if failed to retrieve. This field is not populated in [BranchView.BASIC][] view.
repeated .google.cloud.retail.v2alpha.Branch.QualityMetric quality_metrics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
List<? extends Branch.QualityMetricOrBuilder> getQualityMetricsOrBuilderList()
Output only. The quality metrics measured among products of this branch. See [QualityMetric.requirement_key][google.cloud.retail.v2alpha.Branch.QualityMetric.requirement_key] for supported metrics. Metrics could be missing if failed to retrieve. This field is not populated in [BranchView.BASIC][] view.
repeated .google.cloud.retail.v2alpha.Branch.QualityMetric quality_metrics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Branch.QualityMetricOrBuilder getQualityMetricsOrBuilder(int index)
Output only. The quality metrics measured among products of this branch. See [QualityMetric.requirement_key][google.cloud.retail.v2alpha.Branch.QualityMetric.requirement_key] for supported metrics. Metrics could be missing if failed to retrieve. This field is not populated in [BranchView.BASIC][] view.
repeated .google.cloud.retail.v2alpha.Branch.QualityMetric quality_metrics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Copyright © 2025 Google LLC. All rights reserved.