Package flyteidl.core
Class Security.Identity
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- flyteidl.core.Security.Identity
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Security.IdentityOrBuilder,Serializable
- Enclosing class:
- Security
public static final class Security.Identity extends com.google.protobuf.GeneratedMessageV3 implements Security.IdentityOrBuilder
Identity encapsulates the various security identities a task can run as. It's up to the underlying plugin to pick the right identity for the execution environment.
Protobuf typeflyteidl.core.Identity- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSecurity.Identity.BuilderIdentity encapsulates the various security identities a task can run as.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description private static Security.IdentityDEFAULT_INSTANCEstatic intIAM_ROLE_FIELD_NUMBERprivate ObjectiamRole_static intK8S_SERVICE_ACCOUNT_FIELD_NUMBERprivate Objectk8SServiceAccount_private bytememoizedIsInitializedstatic intOAUTH2_CLIENT_FIELD_NUMBERprivate Security.OAuth2Clientoauth2Client_private static com.google.protobuf.Parser<Security.Identity>PARSERprivate static longserialVersionUID
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static Security.IdentitygetDefaultInstance()Security.IdentitygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetIamRole()iam_role references the fully qualified name of Identity & Access Management role to impersonate.com.google.protobuf.ByteStringgetIamRoleBytes()iam_role references the fully qualified name of Identity & Access Management role to impersonate.StringgetK8SServiceAccount()k8s_service_account references a kubernetes service account to impersonate.com.google.protobuf.ByteStringgetK8SServiceAccountBytes()k8s_service_account references a kubernetes service account to impersonate.Security.OAuth2ClientgetOauth2Client()oauth2_client references an oauth2 client.Security.OAuth2ClientOrBuildergetOauth2ClientOrBuilder()oauth2_client references an oauth2 client.com.google.protobuf.Parser<Security.Identity>getParserForType()intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()booleanhasOauth2Client()oauth2_client references an oauth2 client.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Security.Identity.BuildernewBuilder()static Security.Identity.BuildernewBuilder(Security.Identity prototype)Security.Identity.BuildernewBuilderForType()protected Security.Identity.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Security.IdentityparseDelimitedFrom(InputStream input)static Security.IdentityparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Security.IdentityparseFrom(byte[] data)static Security.IdentityparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Security.IdentityparseFrom(com.google.protobuf.ByteString data)static Security.IdentityparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Security.IdentityparseFrom(com.google.protobuf.CodedInputStream input)static Security.IdentityparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Security.IdentityparseFrom(InputStream input)static Security.IdentityparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Security.IdentityparseFrom(ByteBuffer data)static Security.IdentityparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Security.Identity>parser()Security.Identity.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
IAM_ROLE_FIELD_NUMBER
public static final int IAM_ROLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
iamRole_
private volatile Object iamRole_
-
K8S_SERVICE_ACCOUNT_FIELD_NUMBER
public static final int K8S_SERVICE_ACCOUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
k8SServiceAccount_
private volatile Object k8SServiceAccount_
-
OAUTH2_CLIENT_FIELD_NUMBER
public static final int OAUTH2_CLIENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
oauth2Client_
private Security.OAuth2Client oauth2Client_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final Security.Identity DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<Security.Identity> PARSER
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getIamRole
public String getIamRole()
iam_role references the fully qualified name of Identity & Access Management role to impersonate.
string iam_role = 1;- Specified by:
getIamRolein interfaceSecurity.IdentityOrBuilder- Returns:
- The iamRole.
-
getIamRoleBytes
public com.google.protobuf.ByteString getIamRoleBytes()
iam_role references the fully qualified name of Identity & Access Management role to impersonate.
string iam_role = 1;- Specified by:
getIamRoleBytesin interfaceSecurity.IdentityOrBuilder- Returns:
- The bytes for iamRole.
-
getK8SServiceAccount
public String getK8SServiceAccount()
k8s_service_account references a kubernetes service account to impersonate.
string k8s_service_account = 2;- Specified by:
getK8SServiceAccountin interfaceSecurity.IdentityOrBuilder- Returns:
- The k8sServiceAccount.
-
getK8SServiceAccountBytes
public com.google.protobuf.ByteString getK8SServiceAccountBytes()
k8s_service_account references a kubernetes service account to impersonate.
string k8s_service_account = 2;- Specified by:
getK8SServiceAccountBytesin interfaceSecurity.IdentityOrBuilder- Returns:
- The bytes for k8sServiceAccount.
-
hasOauth2Client
public boolean hasOauth2Client()
oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when making external calls.
.flyteidl.core.OAuth2Client oauth2_client = 3;- Specified by:
hasOauth2Clientin interfaceSecurity.IdentityOrBuilder- Returns:
- Whether the oauth2Client field is set.
-
getOauth2Client
public Security.OAuth2Client getOauth2Client()
oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when making external calls.
.flyteidl.core.OAuth2Client oauth2_client = 3;- Specified by:
getOauth2Clientin interfaceSecurity.IdentityOrBuilder- Returns:
- The oauth2Client.
-
getOauth2ClientOrBuilder
public Security.OAuth2ClientOrBuilder getOauth2ClientOrBuilder()
oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when making external calls.
.flyteidl.core.OAuth2Client oauth2_client = 3;- Specified by:
getOauth2ClientOrBuilderin interfaceSecurity.IdentityOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Security.Identity parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Security.Identity parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Security.Identity parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Security.Identity parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Security.Identity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Security.Identity parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Security.Identity parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Security.Identity parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Security.Identity parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Security.Identity parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Security.Identity parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Security.Identity parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Security.Identity.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Security.Identity.Builder newBuilder()
-
newBuilder
public static Security.Identity.Builder newBuilder(Security.Identity prototype)
-
toBuilder
public Security.Identity.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Security.Identity.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Security.Identity getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Security.Identity> parser()
-
getParserForType
public com.google.protobuf.Parser<Security.Identity> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Security.Identity getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-