Send feedback
Class SettingMetadata (1.3.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.3.1 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
Static Fields
public static final int DATA_TYPE_FIELD_NUMBER
Field Value
public static final int DEFAULT_VALUE_FIELD_NUMBER
Field Value
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
public static final int READ_ONLY_FIELD_NUMBER
Field Value
Static Methods
public static SettingMetadata getDefaultInstance ()
Returns
public static final Descriptors . Descriptor getDescriptor ()
Returns
public static SettingMetadata . Builder newBuilder ()
Returns
public static SettingMetadata . Builder newBuilder ( SettingMetadata prototype )
Parameter
Returns
public static SettingMetadata parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static SettingMetadata parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static SettingMetadata parseFrom ( byte [] data )
Parameter
Name Description data byte []
Returns
Exceptions
public static SettingMetadata parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static SettingMetadata parseFrom ( ByteString data )
Parameter
Returns
Exceptions
public static SettingMetadata parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static SettingMetadata parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static SettingMetadata parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static SettingMetadata parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static SettingMetadata parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static SettingMetadata parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
public static SettingMetadata parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Parser<SettingMetadata> parser ()
Returns
Methods
public boolean equals ( Object obj )
Parameter
Returns
Overrides
public SettingMetadata . DataType getDataType ()
The data type for this setting.
.google.cloud.resourcesettings.v1.SettingMetadata.DataType data_type = 4;
Returns
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 ()
Returns
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;
Returns
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 ()
Returns
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
Overrides
public final UnknownFieldSet getUnknownFields ()
Returns
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
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
public final boolean isInitialized ()
Returns
Overrides
public SettingMetadata . Builder newBuilderForType ()
Returns
protected SettingMetadata . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
public SettingMetadata . Builder toBuilder ()
Returns
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
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-02-04 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-02-04 UTC."],[],[]]