Package com.google.cloud.batch.v1
Interface EnvironmentOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Environment,Environment.Builder
public interface EnvironmentOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsSecretVariables(String key)A map of environment variable names to Secret Manager secret names.booleancontainsVariables(String key)A map of environment variable names to values.Environment.KMSEnvMapgetEncryptedVariables()An encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values.Environment.KMSEnvMapOrBuildergetEncryptedVariablesOrBuilder()An encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values.Map<String,String>getSecretVariables()Deprecated.intgetSecretVariablesCount()A map of environment variable names to Secret Manager secret names.Map<String,String>getSecretVariablesMap()A map of environment variable names to Secret Manager secret names.StringgetSecretVariablesOrDefault(String key, String defaultValue)A map of environment variable names to Secret Manager secret names.StringgetSecretVariablesOrThrow(String key)A map of environment variable names to Secret Manager secret names.Map<String,String>getVariables()Deprecated.intgetVariablesCount()A map of environment variable names to values.Map<String,String>getVariablesMap()A map of environment variable names to values.StringgetVariablesOrDefault(String key, String defaultValue)A map of environment variable names to values.StringgetVariablesOrThrow(String key)A map of environment variable names to values.booleanhasEncryptedVariables()An encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getVariablesCount
int getVariablesCount()
A map of environment variable names to values.
map<string, string> variables = 1;
-
containsVariables
boolean containsVariables(String key)
A map of environment variable names to values.
map<string, string> variables = 1;
-
getVariables
@Deprecated Map<String,String> getVariables()
Deprecated.UsegetVariablesMap()instead.
-
getVariablesMap
Map<String,String> getVariablesMap()
A map of environment variable names to values.
map<string, string> variables = 1;
-
getVariablesOrDefault
String getVariablesOrDefault(String key, String defaultValue)
A map of environment variable names to values.
map<string, string> variables = 1;
-
getVariablesOrThrow
String getVariablesOrThrow(String key)
A map of environment variable names to values.
map<string, string> variables = 1;
-
getSecretVariablesCount
int getSecretVariablesCount()
A map of environment variable names to Secret Manager secret names. The VM will access the named secrets to set the value of each environment variable.
map<string, string> secret_variables = 2;
-
containsSecretVariables
boolean containsSecretVariables(String key)
A map of environment variable names to Secret Manager secret names. The VM will access the named secrets to set the value of each environment variable.
map<string, string> secret_variables = 2;
-
getSecretVariables
@Deprecated Map<String,String> getSecretVariables()
Deprecated.UsegetSecretVariablesMap()instead.
-
getSecretVariablesMap
Map<String,String> getSecretVariablesMap()
A map of environment variable names to Secret Manager secret names. The VM will access the named secrets to set the value of each environment variable.
map<string, string> secret_variables = 2;
-
getSecretVariablesOrDefault
String getSecretVariablesOrDefault(String key, String defaultValue)
A map of environment variable names to Secret Manager secret names. The VM will access the named secrets to set the value of each environment variable.
map<string, string> secret_variables = 2;
-
getSecretVariablesOrThrow
String getSecretVariablesOrThrow(String key)
A map of environment variable names to Secret Manager secret names. The VM will access the named secrets to set the value of each environment variable.
map<string, string> secret_variables = 2;
-
hasEncryptedVariables
boolean hasEncryptedVariables()
An encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values.
.google.cloud.batch.v1.Environment.KMSEnvMap encrypted_variables = 3;- Returns:
- Whether the encryptedVariables field is set.
-
getEncryptedVariables
Environment.KMSEnvMap getEncryptedVariables()
An encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values.
.google.cloud.batch.v1.Environment.KMSEnvMap encrypted_variables = 3;- Returns:
- The encryptedVariables.
-
getEncryptedVariablesOrBuilder
Environment.KMSEnvMapOrBuilder getEncryptedVariablesOrBuilder()
An encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values.
.google.cloud.batch.v1.Environment.KMSEnvMap encrypted_variables = 3;
-
-