Class ConfigVariable (0.28.0)

public final class ConfigVariable extends GeneratedMessageV3 implements ConfigVariableOrBuilder

ConfigVariable represents a additional configuration variable present in a PluginInstance Config or AuthConfig, based on a ConfigVariableTemplate.

Protobuf type google.cloud.apihub.v1.ConfigVariable

Static Fields

BOOL_VALUE_FIELD_NUMBER

public static final int BOOL_VALUE_FIELD_NUMBER
Field Value
Type Description
int

ENUM_VALUE_FIELD_NUMBER

public static final int ENUM_VALUE_FIELD_NUMBER
Field Value
Type Description
int

INT_VALUE_FIELD_NUMBER

public static final int INT_VALUE_FIELD_NUMBER
Field Value
Type Description
int

KEY_FIELD_NUMBER

public static final int KEY_FIELD_NUMBER
Field Value
Type Description
int

MULTI_INT_VALUES_FIELD_NUMBER

public static final int MULTI_INT_VALUES_FIELD_NUMBER
Field Value
Type Description
int

MULTI_SELECT_VALUES_FIELD_NUMBER

public static final int MULTI_SELECT_VALUES_FIELD_NUMBER
Field Value
Type Description
int

MULTI_STRING_VALUES_FIELD_NUMBER

public static final int MULTI_STRING_VALUES_FIELD_NUMBER
Field Value
Type Description
int

SECRET_VALUE_FIELD_NUMBER

public static final int SECRET_VALUE_FIELD_NUMBER
Field Value
Type Description
int

STRING_VALUE_FIELD_NUMBER

public static final int STRING_VALUE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ConfigVariable getDefaultInstance()
Returns
Type Description
ConfigVariable

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ConfigVariable.Builder newBuilder()
Returns
Type Description
ConfigVariable.Builder

newBuilder(ConfigVariable prototype)

public static ConfigVariable.Builder newBuilder(ConfigVariable prototype)
Parameter
Name Description
prototype ConfigVariable
Returns
Type Description
ConfigVariable.Builder

parseDelimitedFrom(InputStream input)

public static ConfigVariable parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ConfigVariable
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConfigVariable parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConfigVariable
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ConfigVariable parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ConfigVariable
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ConfigVariable parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConfigVariable
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ConfigVariable parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ConfigVariable
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ConfigVariable parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConfigVariable
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ConfigVariable parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ConfigVariable
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ConfigVariable parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConfigVariable
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ConfigVariable parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ConfigVariable
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConfigVariable parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConfigVariable
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ConfigVariable parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ConfigVariable
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ConfigVariable parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConfigVariable
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ConfigVariable> parser()
Returns
Type Description
Parser<ConfigVariable>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBoolValue()

public boolean getBoolValue()

Optional. The config variable value in case of config variable of type boolean.

bool bool_value = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The boolValue.

getDefaultInstanceForType()

public ConfigVariable getDefaultInstanceForType()
Returns
Type Description
ConfigVariable

getEnumValue()

public ConfigValueOption getEnumValue()

Optional. The config variable value in case of config variable of type enum.

.google.cloud.apihub.v1.ConfigValueOption enum_value = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ConfigValueOption

The enumValue.

getEnumValueOrBuilder()

public ConfigValueOptionOrBuilder getEnumValueOrBuilder()

Optional. The config variable value in case of config variable of type enum.

.google.cloud.apihub.v1.ConfigValueOption enum_value = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ConfigValueOptionOrBuilder

getIntValue()

public long getIntValue()

Optional. The config variable value in case of config variable of type integer.

int64 int_value = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The intValue.

getKey()

public String getKey()

Output only. Key will be the id to uniquely identify the config variable.

string key = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The key.

getKeyBytes()

public ByteString getKeyBytes()

Output only. Key will be the id to uniquely identify the config variable.

string key = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for key.

getMultiIntValues()

public ConfigVariable.MultiIntValues getMultiIntValues()

Optional. The config variable value in case of config variable of type multi integer.

.google.cloud.apihub.v1.ConfigVariable.MultiIntValues multi_int_values = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ConfigVariable.MultiIntValues

The multiIntValues.

getMultiIntValuesOrBuilder()

public ConfigVariable.MultiIntValuesOrBuilder getMultiIntValuesOrBuilder()

Optional. The config variable value in case of config variable of type multi integer.

.google.cloud.apihub.v1.ConfigVariable.MultiIntValues multi_int_values = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ConfigVariable.MultiIntValuesOrBuilder

getMultiSelectValues()

public ConfigVariable.MultiSelectValues getMultiSelectValues()

Optional. The config variable value in case of config variable of type multi select.

.google.cloud.apihub.v1.ConfigVariable.MultiSelectValues multi_select_values = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ConfigVariable.MultiSelectValues

The multiSelectValues.

getMultiSelectValuesOrBuilder()

public ConfigVariable.MultiSelectValuesOrBuilder getMultiSelectValuesOrBuilder()

Optional. The config variable value in case of config variable of type multi select.

.google.cloud.apihub.v1.ConfigVariable.MultiSelectValues multi_select_values = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ConfigVariable.MultiSelectValuesOrBuilder

getMultiStringValues()

public ConfigVariable.MultiStringValues getMultiStringValues()

Optional. The config variable value in case of config variable of type multi string.

.google.cloud.apihub.v1.ConfigVariable.MultiStringValues multi_string_values = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ConfigVariable.MultiStringValues

The multiStringValues.

getMultiStringValuesOrBuilder()

public ConfigVariable.MultiStringValuesOrBuilder getMultiStringValuesOrBuilder()

Optional. The config variable value in case of config variable of type multi string.

.google.cloud.apihub.v1.ConfigVariable.MultiStringValues multi_string_values = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ConfigVariable.MultiStringValuesOrBuilder

getParserForType()

public Parser<ConfigVariable> getParserForType()
Returns
Type Description
Parser<ConfigVariable>
Overrides

getSecretValue()

public Secret getSecretValue()

Optional. The config variable value in case of config variable of type secret.

.google.cloud.apihub.v1.Secret secret_value = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Secret

The secretValue.

getSecretValueOrBuilder()

public SecretOrBuilder getSecretValueOrBuilder()

Optional. The config variable value in case of config variable of type secret.

.google.cloud.apihub.v1.Secret secret_value = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SecretOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStringValue()

public String getStringValue()

Optional. The config variable value in case of config variable of type string.

string string_value = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The stringValue.

getStringValueBytes()

public ByteString getStringValueBytes()

Optional. The config variable value in case of config variable of type string.

string string_value = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for stringValue.

getValueCase()

public ConfigVariable.ValueCase getValueCase()
Returns
Type Description
ConfigVariable.ValueCase

hasBoolValue()

public boolean hasBoolValue()

Optional. The config variable value in case of config variable of type boolean.

bool bool_value = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the boolValue field is set.

hasEnumValue()

public boolean hasEnumValue()

Optional. The config variable value in case of config variable of type enum.

.google.cloud.apihub.v1.ConfigValueOption enum_value = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the enumValue field is set.

hasIntValue()

public boolean hasIntValue()

Optional. The config variable value in case of config variable of type integer.

int64 int_value = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the intValue field is set.

hasMultiIntValues()

public boolean hasMultiIntValues()

Optional. The config variable value in case of config variable of type multi integer.

.google.cloud.apihub.v1.ConfigVariable.MultiIntValues multi_int_values = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the multiIntValues field is set.

hasMultiSelectValues()

public boolean hasMultiSelectValues()

Optional. The config variable value in case of config variable of type multi select.

.google.cloud.apihub.v1.ConfigVariable.MultiSelectValues multi_select_values = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the multiSelectValues field is set.

hasMultiStringValues()

public boolean hasMultiStringValues()

Optional. The config variable value in case of config variable of type multi string.

.google.cloud.apihub.v1.ConfigVariable.MultiStringValues multi_string_values = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the multiStringValues field is set.

hasSecretValue()

public boolean hasSecretValue()

Optional. The config variable value in case of config variable of type secret.

.google.cloud.apihub.v1.Secret secret_value = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the secretValue field is set.

hasStringValue()

public boolean hasStringValue()

Optional. The config variable value in case of config variable of type string.

string string_value = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the stringValue field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ConfigVariable.Builder newBuilderForType()
Returns
Type Description
ConfigVariable.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ConfigVariable.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ConfigVariable.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ConfigVariable.Builder toBuilder()
Returns
Type Description
ConfigVariable.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException