Class EnvironmentVariables.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<EnvironmentVariables.Builder>
-
- io.envoyproxy.envoy.extensions.wasm.v3.EnvironmentVariables.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,EnvironmentVariablesOrBuilder,Cloneable
- Enclosing class:
- EnvironmentVariables
public static final class EnvironmentVariables.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EnvironmentVariables.Builder> implements EnvironmentVariablesOrBuilder
Protobuf typeenvoy.extensions.wasm.v3.EnvironmentVariables
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description EnvironmentVariables.BuilderaddAllHostEnvKeys(Iterable<String> values)The keys of *Envoy's* environment variables exposed to this VM.EnvironmentVariables.BuilderaddHostEnvKeys(String value)The keys of *Envoy's* environment variables exposed to this VM.EnvironmentVariables.BuilderaddHostEnvKeysBytes(com.google.protobuf.ByteString value)The keys of *Envoy's* environment variables exposed to this VM.EnvironmentVariables.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)EnvironmentVariablesbuild()EnvironmentVariablesbuildPartial()EnvironmentVariables.Builderclear()EnvironmentVariables.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)EnvironmentVariables.BuilderclearHostEnvKeys()The keys of *Envoy's* environment variables exposed to this VM.EnvironmentVariables.BuilderclearKeyValues()EnvironmentVariables.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)EnvironmentVariables.Builderclone()booleancontainsKeyValues(String key)Explicitly given key-value pairs to be injected to this VM in the form of "KEY=VALUE".EnvironmentVariablesgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()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.com.google.protobuf.ProtocolStringListgetHostEnvKeysList()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".Map<String,String>getMutableKeyValues()Deprecated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()EnvironmentVariables.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)EnvironmentVariables.BuildermergeFrom(com.google.protobuf.Message other)EnvironmentVariables.BuildermergeFrom(EnvironmentVariables other)EnvironmentVariables.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)EnvironmentVariables.BuilderputAllKeyValues(Map<String,String> values)Explicitly given key-value pairs to be injected to this VM in the form of "KEY=VALUE".EnvironmentVariables.BuilderputKeyValues(String key, String value)Explicitly given key-value pairs to be injected to this VM in the form of "KEY=VALUE".EnvironmentVariables.BuilderremoveKeyValues(String key)Explicitly given key-value pairs to be injected to this VM in the form of "KEY=VALUE".EnvironmentVariables.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)EnvironmentVariables.BuildersetHostEnvKeys(int index, String value)The keys of *Envoy's* environment variables exposed to this VM.EnvironmentVariables.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)EnvironmentVariables.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EnvironmentVariables.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EnvironmentVariables.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<EnvironmentVariables.Builder>
-
clear
public EnvironmentVariables.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<EnvironmentVariables.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<EnvironmentVariables.Builder>
-
getDefaultInstanceForType
public EnvironmentVariables getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public EnvironmentVariables build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public EnvironmentVariables buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public EnvironmentVariables.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<EnvironmentVariables.Builder>
-
setField
public EnvironmentVariables.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EnvironmentVariables.Builder>
-
clearField
public EnvironmentVariables.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EnvironmentVariables.Builder>
-
clearOneof
public EnvironmentVariables.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<EnvironmentVariables.Builder>
-
setRepeatedField
public EnvironmentVariables.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EnvironmentVariables.Builder>
-
addRepeatedField
public EnvironmentVariables.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EnvironmentVariables.Builder>
-
mergeFrom
public EnvironmentVariables.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EnvironmentVariables.Builder>
-
mergeFrom
public EnvironmentVariables.Builder mergeFrom(EnvironmentVariables other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<EnvironmentVariables.Builder>
-
mergeFrom
public EnvironmentVariables.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EnvironmentVariables.Builder>- Throws:
IOException
-
getHostEnvKeysList
public com.google.protobuf.ProtocolStringList 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;- Specified by:
getHostEnvKeysListin interfaceEnvironmentVariablesOrBuilder- Returns:
- A list containing the hostEnvKeys.
-
getHostEnvKeysCount
public 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;- Specified by:
getHostEnvKeysCountin interfaceEnvironmentVariablesOrBuilder- Returns:
- The count of hostEnvKeys.
-
getHostEnvKeys
public 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;- Specified by:
getHostEnvKeysin interfaceEnvironmentVariablesOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The hostEnvKeys at the given index.
-
getHostEnvKeysBytes
public 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;- Specified by:
getHostEnvKeysBytesin interfaceEnvironmentVariablesOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the hostEnvKeys at the given index.
-
setHostEnvKeys
public EnvironmentVariables.Builder setHostEnvKeys(int index, String value)
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 to set the value at.value- The hostEnvKeys to set.- Returns:
- This builder for chaining.
-
addHostEnvKeys
public EnvironmentVariables.Builder addHostEnvKeys(String value)
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:
value- The hostEnvKeys to add.- Returns:
- This builder for chaining.
-
addAllHostEnvKeys
public EnvironmentVariables.Builder addAllHostEnvKeys(Iterable<String> values)
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:
values- The hostEnvKeys to add.- Returns:
- This builder for chaining.
-
clearHostEnvKeys
public EnvironmentVariables.Builder clearHostEnvKeys()
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:
- This builder for chaining.
-
addHostEnvKeysBytes
public EnvironmentVariables.Builder addHostEnvKeysBytes(com.google.protobuf.ByteString value)
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:
value- The bytes of the hostEnvKeys to add.- Returns:
- This builder for chaining.
-
getKeyValuesCount
public int getKeyValuesCount()
Description copied from interface:EnvironmentVariablesOrBuilderExplicitly given key-value pairs to be injected to this VM in the form of "KEY=VALUE".
map<string, string> key_values = 2;- Specified by:
getKeyValuesCountin interfaceEnvironmentVariablesOrBuilder
-
containsKeyValues
public 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;- Specified by:
containsKeyValuesin interfaceEnvironmentVariablesOrBuilder
-
getKeyValues
@Deprecated public Map<String,String> getKeyValues()
Deprecated.UsegetKeyValuesMap()instead.- Specified by:
getKeyValuesin interfaceEnvironmentVariablesOrBuilder
-
getKeyValuesMap
public 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;- Specified by:
getKeyValuesMapin interfaceEnvironmentVariablesOrBuilder
-
getKeyValuesOrDefault
public 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;- Specified by:
getKeyValuesOrDefaultin interfaceEnvironmentVariablesOrBuilder
-
getKeyValuesOrThrow
public String getKeyValuesOrThrow(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;- Specified by:
getKeyValuesOrThrowin interfaceEnvironmentVariablesOrBuilder
-
clearKeyValues
public EnvironmentVariables.Builder clearKeyValues()
-
removeKeyValues
public EnvironmentVariables.Builder removeKeyValues(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;
-
getMutableKeyValues
@Deprecated public Map<String,String> getMutableKeyValues()
Deprecated.Use alternate mutation accessors instead.
-
putKeyValues
public EnvironmentVariables.Builder putKeyValues(String key, String value)
Explicitly given key-value pairs to be injected to this VM in the form of "KEY=VALUE".
map<string, string> key_values = 2;
-
putAllKeyValues
public EnvironmentVariables.Builder putAllKeyValues(Map<String,String> values)
Explicitly given key-value pairs to be injected to this VM in the form of "KEY=VALUE".
map<string, string> key_values = 2;
-
setUnknownFields
public final EnvironmentVariables.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<EnvironmentVariables.Builder>
-
mergeUnknownFields
public final EnvironmentVariables.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<EnvironmentVariables.Builder>
-
-