Package com.google.cloud.retail.v2alpha
Interface BranchOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Branch,Branch.Builder
@Generated
public interface BranchOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOutput only.com.google.protobuf.ByteStringOutput only.booleanOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getName()Immutable.com.google.protobuf.ByteStringImmutable.getProductCountStats(int index) Output only.intOutput only.Output only.getProductCountStatsOrBuilder(int index) Output only.List<? extends Branch.ProductCountStatisticOrBuilder>Output only.getQualityMetrics(int index) Output only.intOutput only.Output only.getQualityMetricsOrBuilder(int index) Output only.List<? extends Branch.QualityMetricOrBuilder>Output only.booleanOutput only.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
-
getName
String 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];- Returns:
- The name.
-
getNameBytes
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];- Returns:
- The bytes for name.
-
getDisplayName
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];- Returns:
- The displayName.
-
getDisplayNameBytes
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];- Returns:
- The bytes for displayName.
-
getIsDefault
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];- Returns:
- The isDefault.
-
hasLastProductImportTime
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];- Returns:
- Whether the lastProductImportTime field is set.
-
getLastProductImportTime
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];- Returns:
- The lastProductImportTime.
-
getLastProductImportTimeOrBuilder
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]; -
getProductCountStatsList
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]; -
getProductCountStats
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]; -
getProductCountStatsCount
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]; -
getProductCountStatsOrBuilderList
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]; -
getProductCountStatsOrBuilder
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]; -
getQualityMetricsList
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]; -
getQualityMetrics
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]; -
getQualityMetricsCount
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]; -
getQualityMetricsOrBuilderList
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]; -
getQualityMetricsOrBuilder
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];
-