public enum BranchView extends Enum<BranchView> implements com.google.protobuf.ProtocolMessageEnum
A view that specifies different level of fields of a [Branch][google.cloud.retail.v2alpha.Branch] to show in responses.Protobuf enum
google.cloud.retail.v2alpha.BranchView| Enum Constant and Description |
|---|
BRANCH_VIEW_BASIC
Includes basic metadata about the branch, but not statistical fields.
|
BRANCH_VIEW_FULL
Includes all fields of a [Branch][google.cloud.retail.v2alpha.Branch].
|
BRANCH_VIEW_UNSPECIFIED
The value when it's unspecified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BRANCH_VIEW_BASIC_VALUE
Includes basic metadata about the branch, but not statistical fields.
|
static int |
BRANCH_VIEW_FULL_VALUE
Includes all fields of a [Branch][google.cloud.retail.v2alpha.Branch].
|
static int |
BRANCH_VIEW_UNSPECIFIED_VALUE
The value when it's unspecified.
|
| Modifier and Type | Method and Description |
|---|---|
static BranchView |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<BranchView> |
internalGetValueMap() |
static BranchView |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static BranchView |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static BranchView |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BranchView[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BranchView BRANCH_VIEW_UNSPECIFIED
The value when it's unspecified. This defaults to the BASIC view.
BRANCH_VIEW_UNSPECIFIED = 0;public static final BranchView BRANCH_VIEW_BASIC
Includes basic metadata about the branch, but not statistical fields. See documentation of fields of [Branch][google.cloud.retail.v2alpha.Branch] to find what fields are excluded from BASIC view.
BRANCH_VIEW_BASIC = 1;public static final BranchView BRANCH_VIEW_FULL
Includes all fields of a [Branch][google.cloud.retail.v2alpha.Branch].
BRANCH_VIEW_FULL = 2;public static final BranchView UNRECOGNIZED
public static final int BRANCH_VIEW_UNSPECIFIED_VALUE
The value when it's unspecified. This defaults to the BASIC view.
BRANCH_VIEW_UNSPECIFIED = 0;public static final int BRANCH_VIEW_BASIC_VALUE
Includes basic metadata about the branch, but not statistical fields. See documentation of fields of [Branch][google.cloud.retail.v2alpha.Branch] to find what fields are excluded from BASIC view.
BRANCH_VIEW_BASIC = 1;public static final int BRANCH_VIEW_FULL_VALUE
Includes all fields of a [Branch][google.cloud.retail.v2alpha.Branch].
BRANCH_VIEW_FULL = 2;public static BranchView[] values()
for (BranchView c : BranchView.values()) System.out.println(c);
public static BranchView valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static BranchView valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static BranchView forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<BranchView> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static BranchView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.