public interface SetDefaultBranchRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getBranchId()
The final component of the resource name of a branch.
|
com.google.protobuf.ByteString |
getBranchIdBytes()
The final component of the resource name of a branch.
|
String |
getCatalog()
Full resource name of the catalog, such as
`projects/*/locations/global/catalogs/default_catalog`.
|
com.google.protobuf.ByteString |
getCatalogBytes()
Full resource name of the catalog, such as
`projects/*/locations/global/catalogs/default_catalog`.
|
boolean |
getForce()
If set to true, it permits switching to a branch with
[branch_id][google.cloud.retail.v2alpha.SetDefaultBranchRequest.branch_id]
even if it has no sufficient active products.
|
String |
getNote()
Some note on this request, this can be retrieved by
[CatalogService.GetDefaultBranch][google.cloud.retail.v2alpha.CatalogService.GetDefaultBranch]
before next valid default branch set occurs.
|
com.google.protobuf.ByteString |
getNoteBytes()
Some note on this request, this can be retrieved by
[CatalogService.GetDefaultBranch][google.cloud.retail.v2alpha.CatalogService.GetDefaultBranch]
before next valid default branch set occurs.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getCatalog()
Full resource name of the catalog, such as `projects/*/locations/global/catalogs/default_catalog`.
string catalog = 1 [(.google.api.resource_reference) = { ... }com.google.protobuf.ByteString getCatalogBytes()
Full resource name of the catalog, such as `projects/*/locations/global/catalogs/default_catalog`.
string catalog = 1 [(.google.api.resource_reference) = { ... }String getBranchId()
The final component of the resource name of a branch. This field must be one of "0", "1" or "2". Otherwise, an INVALID_ARGUMENT error is returned. If there are no sufficient active products in the targeted branch and [force][google.cloud.retail.v2alpha.SetDefaultBranchRequest.force] is not set, a FAILED_PRECONDITION error is returned.
string branch_id = 2 [(.google.api.resource_reference) = { ... }com.google.protobuf.ByteString getBranchIdBytes()
The final component of the resource name of a branch. This field must be one of "0", "1" or "2". Otherwise, an INVALID_ARGUMENT error is returned. If there are no sufficient active products in the targeted branch and [force][google.cloud.retail.v2alpha.SetDefaultBranchRequest.force] is not set, a FAILED_PRECONDITION error is returned.
string branch_id = 2 [(.google.api.resource_reference) = { ... }String getNote()
Some note on this request, this can be retrieved by [CatalogService.GetDefaultBranch][google.cloud.retail.v2alpha.CatalogService.GetDefaultBranch] before next valid default branch set occurs. This field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned.
string note = 3;com.google.protobuf.ByteString getNoteBytes()
Some note on this request, this can be retrieved by [CatalogService.GetDefaultBranch][google.cloud.retail.v2alpha.CatalogService.GetDefaultBranch] before next valid default branch set occurs. This field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned.
string note = 3;boolean getForce()
If set to true, it permits switching to a branch with [branch_id][google.cloud.retail.v2alpha.SetDefaultBranchRequest.branch_id] even if it has no sufficient active products.
bool force = 4;Copyright © 2024 Google LLC. All rights reserved.