Class EnvironmentVariables.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<EnvironmentVariables.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<EnvironmentVariables.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<EnvironmentVariables.Builder>
      • clear

        public EnvironmentVariables.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<EnvironmentVariables.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<EnvironmentVariables.Builder>
      • getDefaultInstanceForType

        public EnvironmentVariables getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public EnvironmentVariables build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public EnvironmentVariables buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public EnvironmentVariables.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<EnvironmentVariables.Builder>
      • setField

        public EnvironmentVariables.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<EnvironmentVariables.Builder>
      • clearField

        public EnvironmentVariables.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<EnvironmentVariables.Builder>
      • clearOneof

        public EnvironmentVariables.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<EnvironmentVariables.Builder>
      • setRepeatedField

        public EnvironmentVariables.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                             int index,
                                                             Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<EnvironmentVariables.Builder>
      • addRepeatedField

        public EnvironmentVariables.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                             Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<EnvironmentVariables.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.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:
        getHostEnvKeysList in interface EnvironmentVariablesOrBuilder
        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:
        getHostEnvKeysCount in interface EnvironmentVariablesOrBuilder
        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:
        getHostEnvKeys in interface EnvironmentVariablesOrBuilder
        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:
        getHostEnvKeysBytes in interface EnvironmentVariablesOrBuilder
        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.
      • 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:
        containsKeyValues in interface EnvironmentVariablesOrBuilder
      • 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:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EnvironmentVariables.Builder>
      • mergeUnknownFields

        public final EnvironmentVariables.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EnvironmentVariables.Builder>