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
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
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ConfigVariable.Builder newBuilder()
newBuilder(ConfigVariable prototype)
public static ConfigVariable.Builder newBuilder(ConfigVariable prototype)
public static ConfigVariable parseDelimitedFrom(InputStream input)
public static ConfigVariable parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ConfigVariable parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ConfigVariable parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ConfigVariable parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ConfigVariable parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ConfigVariable parseFrom(CodedInputStream input)
public static ConfigVariable parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ConfigVariable parseFrom(InputStream input)
public static ConfigVariable parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ConfigVariable parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ConfigVariable parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ConfigVariable> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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()
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];
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];
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()
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];
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];
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];
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];
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];
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];
getParserForType()
public Parser<ConfigVariable> getParserForType()
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];
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()
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ConfigVariable.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ConfigVariable.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ConfigVariable.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides