Interface EnvironmentVariablesOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
EnvironmentVariables,EnvironmentVariables.Builder
public interface EnvironmentVariablesOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsKeyValues(String key)Explicitly given key-value pairs to be injected to this VM in the form of "KEY=VALUE".StringgetHostEnvKeys(int index)The keys of *Envoy's* environment variables exposed to this VM.com.google.protobuf.ByteStringgetHostEnvKeysBytes(int index)The keys of *Envoy's* environment variables exposed to this VM.intgetHostEnvKeysCount()The keys of *Envoy's* environment variables exposed to this VM.List<String>getHostEnvKeysList()The keys of *Envoy's* environment variables exposed to this VM.Map<String,String>getKeyValues()Deprecated.intgetKeyValuesCount()Explicitly given key-value pairs to be injected to this VM in the form of "KEY=VALUE".Map<String,String>getKeyValuesMap()Explicitly given key-value pairs to be injected to this VM in the form of "KEY=VALUE".StringgetKeyValuesOrDefault(String key, String defaultValue)Explicitly given key-value pairs to be injected to this VM in the form of "KEY=VALUE".StringgetKeyValuesOrThrow(String key)Explicitly given key-value pairs to be injected to this VM in the form of "KEY=VALUE".-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getHostEnvKeysList
List<String> getHostEnvKeysList()
The keys of *Envoy's* environment variables exposed to this VM. In other words, if a key exists in Envoy's environment variables, then that key-value pair will be injected. Note that if a key does not exist, it will be ignored.
repeated string host_env_keys = 1;- Returns:
- A list containing the hostEnvKeys.
-
getHostEnvKeysCount
int getHostEnvKeysCount()
The keys of *Envoy's* environment variables exposed to this VM. In other words, if a key exists in Envoy's environment variables, then that key-value pair will be injected. Note that if a key does not exist, it will be ignored.
repeated string host_env_keys = 1;- Returns:
- The count of hostEnvKeys.
-
getHostEnvKeys
String getHostEnvKeys(int index)
The keys of *Envoy's* environment variables exposed to this VM. In other words, if a key exists in Envoy's environment variables, then that key-value pair will be injected. Note that if a key does not exist, it will be ignored.
repeated string host_env_keys = 1;- Parameters:
index- The index of the element to return.- Returns:
- The hostEnvKeys at the given index.
-
getHostEnvKeysBytes
com.google.protobuf.ByteString getHostEnvKeysBytes(int index)
The keys of *Envoy's* environment variables exposed to this VM. In other words, if a key exists in Envoy's environment variables, then that key-value pair will be injected. Note that if a key does not exist, it will be ignored.
repeated string host_env_keys = 1;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the hostEnvKeys at the given index.
-
getKeyValuesCount
int getKeyValuesCount()
Explicitly given key-value pairs to be injected to this VM in the form of "KEY=VALUE".
map<string, string> key_values = 2;
-
containsKeyValues
boolean containsKeyValues(String key)
Explicitly given key-value pairs to be injected to this VM in the form of "KEY=VALUE".
map<string, string> key_values = 2;
-
getKeyValues
@Deprecated Map<String,String> getKeyValues()
Deprecated.UsegetKeyValuesMap()instead.
-
getKeyValuesMap
Map<String,String> getKeyValuesMap()
Explicitly given key-value pairs to be injected to this VM in the form of "KEY=VALUE".
map<string, string> key_values = 2;
-
getKeyValuesOrDefault
String getKeyValuesOrDefault(String key, String defaultValue)
Explicitly given key-value pairs to be injected to this VM in the form of "KEY=VALUE".
map<string, string> key_values = 2;
-
-