Send feedback
Class SettingMetadata (1.53.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.53.0 keyboard_arrow_down
public final class SettingMetadata extends GeneratedMessageV3 implements SettingMetadataOrBuilder
Metadata about a setting which is not editable by the end user.
Protobuf type google.cloud.resourcesettings.v1.SettingMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int DATA_TYPE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int DEFAULT_VALUE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type
Description
int
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int READ_ONLY_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static SettingMetadata getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static SettingMetadata . Builder newBuilder ()
public static SettingMetadata . Builder newBuilder ( SettingMetadata prototype )
public static SettingMetadata parseDelimitedFrom ( InputStream input )
public static SettingMetadata parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static SettingMetadata parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static SettingMetadata parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static SettingMetadata parseFrom ( ByteString data )
public static SettingMetadata parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static SettingMetadata parseFrom ( CodedInputStream input )
public static SettingMetadata parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static SettingMetadata parseFrom ( InputStream input )
public static SettingMetadata parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static SettingMetadata parseFrom ( ByteBuffer data )
public static SettingMetadata parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<SettingMetadata> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public SettingMetadata . DataType getDataType ()
The data type for this setting.
.google.cloud.resourcesettings.v1.SettingMetadata.DataType data_type = 4;
public int getDataTypeValue ()
The data type for this setting.
.google.cloud.resourcesettings.v1.SettingMetadata.DataType data_type = 4;
Returns
Type
Description
int
The enum numeric value on the wire for dataType.
public SettingMetadata getDefaultInstanceForType ()
public Value getDefaultValue ()
The value provided by
Setting.effective_value
if no setting value is explicitly set.
Note: not all settings have a default value.
.google.cloud.resourcesettings.v1.Value default_value = 5;
Returns
Type
Description
Value
The defaultValue.
public ValueOrBuilder getDefaultValueOrBuilder ()
The value provided by
Setting.effective_value
if no setting value is explicitly set.
Note: not all settings have a default value.
.google.cloud.resourcesettings.v1.Value default_value = 5;
public String getDescription ()
A detailed description of what this setting does.
string description = 2;
Returns
Type
Description
String
The description.
public ByteString getDescriptionBytes ()
A detailed description of what this setting does.
string description = 2;
Returns
Type
Description
ByteString
The bytes for description.
public String getDisplayName ()
The human readable name for this setting.
string display_name = 1;
Returns
Type
Description
String
The displayName.
public ByteString getDisplayNameBytes ()
The human readable name for this setting.
string display_name = 1;
Returns
Type
Description
ByteString
The bytes for displayName.
public Parser<SettingMetadata> getParserForType ()
Overrides
public boolean getReadOnly ()
A flag indicating that values of this setting cannot be modified (see
documentation of the specific setting for updates and reasons).
bool read_only = 3;
Returns
Type
Description
boolean
The readOnly.
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public boolean hasDefaultValue ()
The value provided by
Setting.effective_value
if no setting value is explicitly set.
Note: not all settings have a default value.
.google.cloud.resourcesettings.v1.Value default_value = 5;
Returns
Type
Description
boolean
Whether the defaultValue field is set.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public SettingMetadata . Builder newBuilderForType ()
protected SettingMetadata . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public SettingMetadata . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]