Package flyteidl.core

Class Security.SecurityContext.Builder

    • Constructor Detail

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Security.SecurityContext.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<Security.SecurityContext.Builder>
      • getDefaultInstanceForType

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

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

        public Security.SecurityContext buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public Security.SecurityContext.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<Security.SecurityContext.Builder>
      • addRepeatedField

        public Security.SecurityContext.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<Security.SecurityContext.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Security.SecurityContext.Builder>
      • mergeFrom

        public Security.SecurityContext.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<Security.SecurityContext.Builder>
        Throws:
        IOException
      • hasRunAs

        public boolean hasRunAs()
         run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the
         backend plugin to choose the appropriate identity for the execution engine the task will run on.
         
        .flyteidl.core.Identity run_as = 1;
        Specified by:
        hasRunAs in interface Security.SecurityContextOrBuilder
        Returns:
        Whether the runAs field is set.
      • getRunAs

        public Security.Identity getRunAs()
         run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the
         backend plugin to choose the appropriate identity for the execution engine the task will run on.
         
        .flyteidl.core.Identity run_as = 1;
        Specified by:
        getRunAs in interface Security.SecurityContextOrBuilder
        Returns:
        The runAs.
      • setRunAs

        public Security.SecurityContext.Builder setRunAs​(Security.Identity value)
         run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the
         backend plugin to choose the appropriate identity for the execution engine the task will run on.
         
        .flyteidl.core.Identity run_as = 1;
      • setRunAs

        public Security.SecurityContext.Builder setRunAs​(Security.Identity.Builder builderForValue)
         run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the
         backend plugin to choose the appropriate identity for the execution engine the task will run on.
         
        .flyteidl.core.Identity run_as = 1;
      • mergeRunAs

        public Security.SecurityContext.Builder mergeRunAs​(Security.Identity value)
         run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the
         backend plugin to choose the appropriate identity for the execution engine the task will run on.
         
        .flyteidl.core.Identity run_as = 1;
      • clearRunAs

        public Security.SecurityContext.Builder clearRunAs()
         run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the
         backend plugin to choose the appropriate identity for the execution engine the task will run on.
         
        .flyteidl.core.Identity run_as = 1;
      • getRunAsBuilder

        public Security.Identity.Builder getRunAsBuilder()
         run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the
         backend plugin to choose the appropriate identity for the execution engine the task will run on.
         
        .flyteidl.core.Identity run_as = 1;
      • getRunAsOrBuilder

        public Security.IdentityOrBuilder getRunAsOrBuilder()
         run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the
         backend plugin to choose the appropriate identity for the execution engine the task will run on.
         
        .flyteidl.core.Identity run_as = 1;
        Specified by:
        getRunAsOrBuilder in interface Security.SecurityContextOrBuilder
      • getRunAsFieldBuilder

        private com.google.protobuf.SingleFieldBuilderV3<Security.Identity,​Security.Identity.Builder,​Security.IdentityOrBuilder> getRunAsFieldBuilder()
         run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the
         backend plugin to choose the appropriate identity for the execution engine the task will run on.
         
        .flyteidl.core.Identity run_as = 1;
      • ensureSecretsIsMutable

        private void ensureSecretsIsMutable()
      • getSecretsList

        public List<Security.Secret> getSecretsList()
         secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
         pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
         Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
         to the secret) and to pass it to the remote execution engine.
         
        repeated .flyteidl.core.Secret secrets = 2;
        Specified by:
        getSecretsList in interface Security.SecurityContextOrBuilder
      • getSecretsCount

        public int getSecretsCount()
         secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
         pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
         Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
         to the secret) and to pass it to the remote execution engine.
         
        repeated .flyteidl.core.Secret secrets = 2;
        Specified by:
        getSecretsCount in interface Security.SecurityContextOrBuilder
      • getSecrets

        public Security.Secret getSecrets​(int index)
         secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
         pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
         Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
         to the secret) and to pass it to the remote execution engine.
         
        repeated .flyteidl.core.Secret secrets = 2;
        Specified by:
        getSecrets in interface Security.SecurityContextOrBuilder
      • setSecrets

        public Security.SecurityContext.Builder setSecrets​(int index,
                                                           Security.Secret value)
         secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
         pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
         Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
         to the secret) and to pass it to the remote execution engine.
         
        repeated .flyteidl.core.Secret secrets = 2;
      • setSecrets

        public Security.SecurityContext.Builder setSecrets​(int index,
                                                           Security.Secret.Builder builderForValue)
         secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
         pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
         Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
         to the secret) and to pass it to the remote execution engine.
         
        repeated .flyteidl.core.Secret secrets = 2;
      • addSecrets

        public Security.SecurityContext.Builder addSecrets​(Security.Secret value)
         secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
         pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
         Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
         to the secret) and to pass it to the remote execution engine.
         
        repeated .flyteidl.core.Secret secrets = 2;
      • addSecrets

        public Security.SecurityContext.Builder addSecrets​(int index,
                                                           Security.Secret value)
         secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
         pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
         Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
         to the secret) and to pass it to the remote execution engine.
         
        repeated .flyteidl.core.Secret secrets = 2;
      • addSecrets

        public Security.SecurityContext.Builder addSecrets​(Security.Secret.Builder builderForValue)
         secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
         pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
         Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
         to the secret) and to pass it to the remote execution engine.
         
        repeated .flyteidl.core.Secret secrets = 2;
      • addSecrets

        public Security.SecurityContext.Builder addSecrets​(int index,
                                                           Security.Secret.Builder builderForValue)
         secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
         pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
         Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
         to the secret) and to pass it to the remote execution engine.
         
        repeated .flyteidl.core.Secret secrets = 2;
      • addAllSecrets

        public Security.SecurityContext.Builder addAllSecrets​(Iterable<? extends Security.Secret> values)
         secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
         pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
         Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
         to the secret) and to pass it to the remote execution engine.
         
        repeated .flyteidl.core.Secret secrets = 2;
      • clearSecrets

        public Security.SecurityContext.Builder clearSecrets()
         secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
         pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
         Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
         to the secret) and to pass it to the remote execution engine.
         
        repeated .flyteidl.core.Secret secrets = 2;
      • removeSecrets

        public Security.SecurityContext.Builder removeSecrets​(int index)
         secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
         pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
         Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
         to the secret) and to pass it to the remote execution engine.
         
        repeated .flyteidl.core.Secret secrets = 2;
      • getSecretsBuilder

        public Security.Secret.Builder getSecretsBuilder​(int index)
         secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
         pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
         Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
         to the secret) and to pass it to the remote execution engine.
         
        repeated .flyteidl.core.Secret secrets = 2;
      • getSecretsOrBuilder

        public Security.SecretOrBuilder getSecretsOrBuilder​(int index)
         secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
         pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
         Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
         to the secret) and to pass it to the remote execution engine.
         
        repeated .flyteidl.core.Secret secrets = 2;
        Specified by:
        getSecretsOrBuilder in interface Security.SecurityContextOrBuilder
      • getSecretsOrBuilderList

        public List<? extends Security.SecretOrBuilder> getSecretsOrBuilderList()
         secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
         pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
         Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
         to the secret) and to pass it to the remote execution engine.
         
        repeated .flyteidl.core.Secret secrets = 2;
        Specified by:
        getSecretsOrBuilderList in interface Security.SecurityContextOrBuilder
      • addSecretsBuilder

        public Security.Secret.Builder addSecretsBuilder()
         secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
         pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
         Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
         to the secret) and to pass it to the remote execution engine.
         
        repeated .flyteidl.core.Secret secrets = 2;
      • addSecretsBuilder

        public Security.Secret.Builder addSecretsBuilder​(int index)
         secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
         pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
         Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
         to the secret) and to pass it to the remote execution engine.
         
        repeated .flyteidl.core.Secret secrets = 2;
      • getSecretsBuilderList

        public List<Security.Secret.Builder> getSecretsBuilderList()
         secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
         pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
         Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
         to the secret) and to pass it to the remote execution engine.
         
        repeated .flyteidl.core.Secret secrets = 2;
      • ensureTokensIsMutable

        private void ensureTokensIsMutable()
      • getTokensList

        public List<Security.OAuth2TokenRequest> getTokensList()
         tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
         pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
         Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
         to the secret) and to pass it to the remote execution engine.
         
        repeated .flyteidl.core.OAuth2TokenRequest tokens = 3;
        Specified by:
        getTokensList in interface Security.SecurityContextOrBuilder
      • getTokensCount

        public int getTokensCount()
         tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
         pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
         Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
         to the secret) and to pass it to the remote execution engine.
         
        repeated .flyteidl.core.OAuth2TokenRequest tokens = 3;
        Specified by:
        getTokensCount in interface Security.SecurityContextOrBuilder
      • getTokens

        public Security.OAuth2TokenRequest getTokens​(int index)
         tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
         pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
         Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
         to the secret) and to pass it to the remote execution engine.
         
        repeated .flyteidl.core.OAuth2TokenRequest tokens = 3;
        Specified by:
        getTokens in interface Security.SecurityContextOrBuilder
      • setTokens

        public Security.SecurityContext.Builder setTokens​(int index,
                                                          Security.OAuth2TokenRequest value)
         tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
         pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
         Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
         to the secret) and to pass it to the remote execution engine.
         
        repeated .flyteidl.core.OAuth2TokenRequest tokens = 3;
      • setTokens

        public Security.SecurityContext.Builder setTokens​(int index,
                                                          Security.OAuth2TokenRequest.Builder builderForValue)
         tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
         pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
         Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
         to the secret) and to pass it to the remote execution engine.
         
        repeated .flyteidl.core.OAuth2TokenRequest tokens = 3;
      • addTokens

        public Security.SecurityContext.Builder addTokens​(Security.OAuth2TokenRequest value)
         tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
         pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
         Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
         to the secret) and to pass it to the remote execution engine.
         
        repeated .flyteidl.core.OAuth2TokenRequest tokens = 3;
      • addTokens

        public Security.SecurityContext.Builder addTokens​(int index,
                                                          Security.OAuth2TokenRequest value)
         tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
         pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
         Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
         to the secret) and to pass it to the remote execution engine.
         
        repeated .flyteidl.core.OAuth2TokenRequest tokens = 3;
      • addTokens

        public Security.SecurityContext.Builder addTokens​(Security.OAuth2TokenRequest.Builder builderForValue)
         tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
         pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
         Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
         to the secret) and to pass it to the remote execution engine.
         
        repeated .flyteidl.core.OAuth2TokenRequest tokens = 3;
      • addTokens

        public Security.SecurityContext.Builder addTokens​(int index,
                                                          Security.OAuth2TokenRequest.Builder builderForValue)
         tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
         pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
         Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
         to the secret) and to pass it to the remote execution engine.
         
        repeated .flyteidl.core.OAuth2TokenRequest tokens = 3;
      • addAllTokens

        public Security.SecurityContext.Builder addAllTokens​(Iterable<? extends Security.OAuth2TokenRequest> values)
         tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
         pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
         Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
         to the secret) and to pass it to the remote execution engine.
         
        repeated .flyteidl.core.OAuth2TokenRequest tokens = 3;
      • clearTokens

        public Security.SecurityContext.Builder clearTokens()
         tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
         pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
         Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
         to the secret) and to pass it to the remote execution engine.
         
        repeated .flyteidl.core.OAuth2TokenRequest tokens = 3;
      • removeTokens

        public Security.SecurityContext.Builder removeTokens​(int index)
         tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
         pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
         Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
         to the secret) and to pass it to the remote execution engine.
         
        repeated .flyteidl.core.OAuth2TokenRequest tokens = 3;
      • getTokensBuilder

        public Security.OAuth2TokenRequest.Builder getTokensBuilder​(int index)
         tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
         pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
         Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
         to the secret) and to pass it to the remote execution engine.
         
        repeated .flyteidl.core.OAuth2TokenRequest tokens = 3;
      • getTokensOrBuilder

        public Security.OAuth2TokenRequestOrBuilder getTokensOrBuilder​(int index)
         tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
         pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
         Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
         to the secret) and to pass it to the remote execution engine.
         
        repeated .flyteidl.core.OAuth2TokenRequest tokens = 3;
        Specified by:
        getTokensOrBuilder in interface Security.SecurityContextOrBuilder
      • getTokensOrBuilderList

        public List<? extends Security.OAuth2TokenRequestOrBuilder> getTokensOrBuilderList()
         tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
         pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
         Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
         to the secret) and to pass it to the remote execution engine.
         
        repeated .flyteidl.core.OAuth2TokenRequest tokens = 3;
        Specified by:
        getTokensOrBuilderList in interface Security.SecurityContextOrBuilder
      • addTokensBuilder

        public Security.OAuth2TokenRequest.Builder addTokensBuilder()
         tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
         pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
         Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
         to the secret) and to pass it to the remote execution engine.
         
        repeated .flyteidl.core.OAuth2TokenRequest tokens = 3;
      • addTokensBuilder

        public Security.OAuth2TokenRequest.Builder addTokensBuilder​(int index)
         tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
         pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
         Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
         to the secret) and to pass it to the remote execution engine.
         
        repeated .flyteidl.core.OAuth2TokenRequest tokens = 3;
      • getTokensBuilderList

        public List<Security.OAuth2TokenRequest.Builder> getTokensBuilderList()
         tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
         pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
         Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
         to the secret) and to pass it to the remote execution engine.
         
        repeated .flyteidl.core.OAuth2TokenRequest tokens = 3;
      • setUnknownFields

        public final Security.SecurityContext.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<Security.SecurityContext.Builder>
      • mergeUnknownFields

        public final Security.SecurityContext.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<Security.SecurityContext.Builder>