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)
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)
Overrides
public SettingMetadata.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides