Enum SettingView
- java.lang.Object
-
- java.lang.Enum<SettingView>
-
- com.google.cloud.resourcesettings.v1.SettingView
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<SettingView>
public enum SettingView extends Enum<SettingView> implements com.google.protobuf.ProtocolMessageEnum
View options for Settings.
Protobuf enumgoogle.cloud.resourcesettings.v1.SettingView
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SETTING_VIEW_BASICInclude [Setting.metadata][google.cloud.resourcesettings.v1.Setting.metadata], but nothing else.SETTING_VIEW_EFFECTIVE_VALUEInclude [Setting.effective_value][google.cloud.resourcesettings.v1.Setting.effective_value], but nothing else.SETTING_VIEW_LOCAL_VALUEInclude [Setting.local_value][google.cloud.resourcesettings.v1.Setting.local_value], but nothing else.SETTING_VIEW_UNSPECIFIEDThe default / unset value.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intSETTING_VIEW_BASIC_VALUEInclude [Setting.metadata][google.cloud.resourcesettings.v1.Setting.metadata], but nothing else.static intSETTING_VIEW_EFFECTIVE_VALUE_VALUEInclude [Setting.effective_value][google.cloud.resourcesettings.v1.Setting.effective_value], but nothing else.static intSETTING_VIEW_LOCAL_VALUE_VALUEInclude [Setting.local_value][google.cloud.resourcesettings.v1.Setting.local_value], but nothing else.static intSETTING_VIEW_UNSPECIFIED_VALUEThe default / unset value.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SettingViewforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<SettingView>internalGetValueMap()static SettingViewvalueOf(int value)Deprecated.static SettingViewvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static SettingViewvalueOf(String name)Returns the enum constant of this type with the specified name.static SettingView[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SETTING_VIEW_UNSPECIFIED
public static final SettingView SETTING_VIEW_UNSPECIFIED
The default / unset value. The API will default to the SETTING_VIEW_BASIC view.
SETTING_VIEW_UNSPECIFIED = 0;
-
SETTING_VIEW_BASIC
public static final SettingView SETTING_VIEW_BASIC
Include [Setting.metadata][google.cloud.resourcesettings.v1.Setting.metadata], but nothing else. This is the default value (for both ListSettings and GetSetting).
SETTING_VIEW_BASIC = 1;
-
SETTING_VIEW_EFFECTIVE_VALUE
public static final SettingView SETTING_VIEW_EFFECTIVE_VALUE
Include [Setting.effective_value][google.cloud.resourcesettings.v1.Setting.effective_value], but nothing else.
SETTING_VIEW_EFFECTIVE_VALUE = 2;
-
SETTING_VIEW_LOCAL_VALUE
public static final SettingView SETTING_VIEW_LOCAL_VALUE
Include [Setting.local_value][google.cloud.resourcesettings.v1.Setting.local_value], but nothing else.
SETTING_VIEW_LOCAL_VALUE = 3;
-
UNRECOGNIZED
public static final SettingView UNRECOGNIZED
-
-
Field Detail
-
SETTING_VIEW_UNSPECIFIED_VALUE
public static final int SETTING_VIEW_UNSPECIFIED_VALUE
The default / unset value. The API will default to the SETTING_VIEW_BASIC view.
SETTING_VIEW_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
SETTING_VIEW_BASIC_VALUE
public static final int SETTING_VIEW_BASIC_VALUE
Include [Setting.metadata][google.cloud.resourcesettings.v1.Setting.metadata], but nothing else. This is the default value (for both ListSettings and GetSetting).
SETTING_VIEW_BASIC = 1;- See Also:
- Constant Field Values
-
SETTING_VIEW_EFFECTIVE_VALUE_VALUE
public static final int SETTING_VIEW_EFFECTIVE_VALUE_VALUE
Include [Setting.effective_value][google.cloud.resourcesettings.v1.Setting.effective_value], but nothing else.
SETTING_VIEW_EFFECTIVE_VALUE = 2;- See Also:
- Constant Field Values
-
SETTING_VIEW_LOCAL_VALUE_VALUE
public static final int SETTING_VIEW_LOCAL_VALUE_VALUE
Include [Setting.local_value][google.cloud.resourcesettings.v1.Setting.local_value], but nothing else.
SETTING_VIEW_LOCAL_VALUE = 3;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static SettingView[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SettingView c : SettingView.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SettingView valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static SettingView valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static SettingView forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<SettingView> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static SettingView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-