Package com.google.cloud.apihub.v1
Interface ConfigVariableTemplateOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ConfigVariableTemplate,ConfigVariableTemplate.Builder
@Generated
public interface ConfigVariableTemplateOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.com.google.protobuf.ByteStringOptional.getEnumOptions(int index) Optional.intOptional.Optional.getEnumOptionsOrBuilder(int index) Optional.List<? extends ConfigValueOptionOrBuilder>Optional.getId()Required.com.google.protobuf.ByteStringRequired.getMultiSelectOptions(int index) Optional.intOptional.Optional.getMultiSelectOptionsOrBuilder(int index) Optional.List<? extends ConfigValueOptionOrBuilder>Optional.booleanOptional.Optional.com.google.protobuf.ByteStringOptional.Required.intRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getId
String getId()Required. ID of the config variable. Must be unique within the configuration.
string id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()Required. ID of the config variable. Must be unique within the configuration.
string id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for id.
-
getValueTypeValue
int getValueTypeValue()Required. Type of the parameter: string, int, bool etc.
.google.cloud.apihub.v1.ConfigVariableTemplate.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The enum numeric value on the wire for valueType.
-
getValueType
ConfigVariableTemplate.ValueType getValueType()Required. Type of the parameter: string, int, bool etc.
.google.cloud.apihub.v1.ConfigVariableTemplate.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The valueType.
-
getDescription
String getDescription()Optional. Description.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()Optional. Description.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for description.
-
getValidationRegex
String getValidationRegex()Optional. Regular expression in RE2 syntax used for validating the `value` of a `ConfigVariable`.
string validation_regex = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The validationRegex.
-
getValidationRegexBytes
com.google.protobuf.ByteString getValidationRegexBytes()Optional. Regular expression in RE2 syntax used for validating the `value` of a `ConfigVariable`.
string validation_regex = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for validationRegex.
-
getRequired
boolean getRequired()Optional. Flag represents that this `ConfigVariable` must be provided for a PluginInstance.
bool required = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The required.
-
getEnumOptionsList
List<ConfigValueOption> getEnumOptionsList()Optional. Enum options. To be populated if `ValueType` is `ENUM`.
repeated .google.cloud.apihub.v1.ConfigValueOption enum_options = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getEnumOptions
Optional. Enum options. To be populated if `ValueType` is `ENUM`.
repeated .google.cloud.apihub.v1.ConfigValueOption enum_options = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getEnumOptionsCount
int getEnumOptionsCount()Optional. Enum options. To be populated if `ValueType` is `ENUM`.
repeated .google.cloud.apihub.v1.ConfigValueOption enum_options = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getEnumOptionsOrBuilderList
List<? extends ConfigValueOptionOrBuilder> getEnumOptionsOrBuilderList()Optional. Enum options. To be populated if `ValueType` is `ENUM`.
repeated .google.cloud.apihub.v1.ConfigValueOption enum_options = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getEnumOptionsOrBuilder
Optional. Enum options. To be populated if `ValueType` is `ENUM`.
repeated .google.cloud.apihub.v1.ConfigValueOption enum_options = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getMultiSelectOptionsList
List<ConfigValueOption> getMultiSelectOptionsList()Optional. Multi select options. To be populated if `ValueType` is `MULTI_SELECT`.
repeated .google.cloud.apihub.v1.ConfigValueOption multi_select_options = 7 [(.google.api.field_behavior) = OPTIONAL]; -
getMultiSelectOptions
Optional. Multi select options. To be populated if `ValueType` is `MULTI_SELECT`.
repeated .google.cloud.apihub.v1.ConfigValueOption multi_select_options = 7 [(.google.api.field_behavior) = OPTIONAL]; -
getMultiSelectOptionsCount
int getMultiSelectOptionsCount()Optional. Multi select options. To be populated if `ValueType` is `MULTI_SELECT`.
repeated .google.cloud.apihub.v1.ConfigValueOption multi_select_options = 7 [(.google.api.field_behavior) = OPTIONAL]; -
getMultiSelectOptionsOrBuilderList
List<? extends ConfigValueOptionOrBuilder> getMultiSelectOptionsOrBuilderList()Optional. Multi select options. To be populated if `ValueType` is `MULTI_SELECT`.
repeated .google.cloud.apihub.v1.ConfigValueOption multi_select_options = 7 [(.google.api.field_behavior) = OPTIONAL]; -
getMultiSelectOptionsOrBuilder
Optional. Multi select options. To be populated if `ValueType` is `MULTI_SELECT`.
repeated .google.cloud.apihub.v1.ConfigValueOption multi_select_options = 7 [(.google.api.field_behavior) = OPTIONAL];
-