public interface GetBranchRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
BranchView |
getView()
The view to apply to the returned
[Branch][google.cloud.retail.v2alpha.Branch].
|
int |
getViewValue()
The view to apply to the returned
[Branch][google.cloud.retail.v2alpha.Branch].
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
Required. The name of the branch to retrieve. Format: `projects/*/locations/global/catalogs/default_catalog/branches/some_branch_id`. "default_branch" can be used as a special branch_id, it returns the default branch that has been set for the catalog.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
com.google.protobuf.ByteString getNameBytes()
Required. The name of the branch to retrieve. Format: `projects/*/locations/global/catalogs/default_catalog/branches/some_branch_id`. "default_branch" can be used as a special branch_id, it returns the default branch that has been set for the catalog.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
int getViewValue()
The view to apply to the returned [Branch][google.cloud.retail.v2alpha.Branch]. Defaults to [Branch.BranchView.BASIC] if unspecified. See documentation of fields of [Branch][google.cloud.retail.v2alpha.Branch] to find what fields are excluded from BASIC view.
.google.cloud.retail.v2alpha.BranchView view = 2;BranchView getView()
The view to apply to the returned [Branch][google.cloud.retail.v2alpha.Branch]. Defaults to [Branch.BranchView.BASIC] if unspecified. See documentation of fields of [Branch][google.cloud.retail.v2alpha.Branch] to find what fields are excluded from BASIC view.
.google.cloud.retail.v2alpha.BranchView view = 2;Copyright © 2025 Google LLC. All rights reserved.