Class EnvironmentVariables.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
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 type
envoy.extensions.wasm.v3.EnvironmentVariables-
Method Summary
Modifier and TypeMethodDescriptionaddAllHostEnvKeys(Iterable<String> values) The keys of *Envoy's* environment variables exposed to this VM.addHostEnvKeys(String value) The keys of *Envoy's* environment variables exposed to this VM.addHostEnvKeysBytes(com.google.protobuf.ByteString value) The keys of *Envoy's* environment variables exposed to this VM.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The keys of *Envoy's* environment variables exposed to this VM.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()booleancontainsKeyValues(String key) Explicitly given key-value pairs to be injected to this VM in the form of "KEY=VALUE".static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetHostEnvKeys(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.intThe keys of *Envoy's* environment variables exposed to this VM.com.google.protobuf.ProtocolStringListThe keys of *Envoy's* environment variables exposed to this VM.Deprecated.intExplicitly given key-value pairs to be injected to this VM in the form of "KEY=VALUE".Explicitly given key-value pairs to be injected to this VM in the form of "KEY=VALUE".getKeyValuesOrDefault(String key, String defaultValue) Explicitly given key-value pairs to be injected to this VM in the form of "KEY=VALUE".Explicitly given key-value pairs to be injected to this VM in the form of "KEY=VALUE".Deprecated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(EnvironmentVariables other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) putAllKeyValues(Map<String, String> values) Explicitly given key-value pairs to be injected to this VM in the form of "KEY=VALUE".putKeyValues(String key, String value) Explicitly given key-value pairs to be injected to this VM in the form of "KEY=VALUE".removeKeyValues(String key) Explicitly given key-value pairs to be injected to this VM in the form of "KEY=VALUE".setHostEnvKeys(int index, String value) The keys of *Envoy's* environment variables exposed to this VM.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<EnvironmentVariables.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin 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
- 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
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EnvironmentVariables.Builder>
-
mergeFrom
-
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
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
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
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
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
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
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
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.UsegetKeyValuesMap()instead.- Specified by:
getKeyValuesin interfaceEnvironmentVariablesOrBuilder
-
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
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
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
-
removeKeyValues
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.Use alternate mutation accessors instead. -
putKeyValues
Explicitly given key-value pairs to be injected to this VM in the form of "KEY=VALUE".
map<string, string> key_values = 2; -
putAllKeyValues
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>
-