Package flyteidl.service
Class Auth.PublicClientAuthConfigResponse
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- flyteidl.service.Auth.PublicClientAuthConfigResponse
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Auth.PublicClientAuthConfigResponseOrBuilder,Serializable
- Enclosing class:
- Auth
public static final class Auth.PublicClientAuthConfigResponse extends com.google.protobuf.GeneratedMessageV3 implements Auth.PublicClientAuthConfigResponseOrBuilder
FlyteClientResponse encapsulates public information that flyte clients (CLIs... etc.) can use to authenticate users.
Protobuf typeflyteidl.service.PublicClientAuthConfigResponse- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAuth.PublicClientAuthConfigResponse.BuilderFlyteClientResponse encapsulates public information that flyte clients (CLIs...-
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 static intAUTHORIZATION_METADATA_KEY_FIELD_NUMBERprivate ObjectauthorizationMetadataKey_static intCLIENT_ID_FIELD_NUMBERprivate ObjectclientId_private static Auth.PublicClientAuthConfigResponseDEFAULT_INSTANCEprivate bytememoizedIsInitializedprivate static com.google.protobuf.Parser<Auth.PublicClientAuthConfigResponse>PARSERstatic intREDIRECT_URI_FIELD_NUMBERprivate ObjectredirectUri_private com.google.protobuf.LazyStringListscopes_static intSCOPES_FIELD_NUMBERprivate static longserialVersionUIDstatic intSERVICE_HTTP_ENDPOINT_FIELD_NUMBERprivate ObjectserviceHttpEndpoint_
-
Constructor Summary
Constructors Modifier Constructor Description privatePublicClientAuthConfigResponse()privatePublicClientAuthConfigResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetAuthorizationMetadataKey()Authorization Header to use when passing Access Tokens to the server.com.google.protobuf.ByteStringgetAuthorizationMetadataKeyBytes()Authorization Header to use when passing Access Tokens to the server.StringgetClientId()client_id to use when initiating OAuth2 authorization requests.com.google.protobuf.ByteStringgetClientIdBytes()client_id to use when initiating OAuth2 authorization requests.static Auth.PublicClientAuthConfigResponsegetDefaultInstance()Auth.PublicClientAuthConfigResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<Auth.PublicClientAuthConfigResponse>getParserForType()StringgetRedirectUri()redirect uri to use when initiating OAuth2 authorization requests.com.google.protobuf.ByteStringgetRedirectUriBytes()redirect uri to use when initiating OAuth2 authorization requests.StringgetScopes(int index)scopes to request when initiating OAuth2 authorization requests.com.google.protobuf.ByteStringgetScopesBytes(int index)scopes to request when initiating OAuth2 authorization requests.intgetScopesCount()scopes to request when initiating OAuth2 authorization requests.com.google.protobuf.ProtocolStringListgetScopesList()scopes to request when initiating OAuth2 authorization requests.intgetSerializedSize()StringgetServiceHttpEndpoint()ServiceHttpEndpoint points to the http endpoint for the backend.com.google.protobuf.ByteStringgetServiceHttpEndpointBytes()ServiceHttpEndpoint points to the http endpoint for the backend.com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Auth.PublicClientAuthConfigResponse.BuildernewBuilder()static Auth.PublicClientAuthConfigResponse.BuildernewBuilder(Auth.PublicClientAuthConfigResponse prototype)Auth.PublicClientAuthConfigResponse.BuildernewBuilderForType()protected Auth.PublicClientAuthConfigResponse.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Auth.PublicClientAuthConfigResponseparseDelimitedFrom(InputStream input)static Auth.PublicClientAuthConfigResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Auth.PublicClientAuthConfigResponseparseFrom(byte[] data)static Auth.PublicClientAuthConfigResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Auth.PublicClientAuthConfigResponseparseFrom(com.google.protobuf.ByteString data)static Auth.PublicClientAuthConfigResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Auth.PublicClientAuthConfigResponseparseFrom(com.google.protobuf.CodedInputStream input)static Auth.PublicClientAuthConfigResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Auth.PublicClientAuthConfigResponseparseFrom(InputStream input)static Auth.PublicClientAuthConfigResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Auth.PublicClientAuthConfigResponseparseFrom(ByteBuffer data)static Auth.PublicClientAuthConfigResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Auth.PublicClientAuthConfigResponse>parser()Auth.PublicClientAuthConfigResponse.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
-
CLIENT_ID_FIELD_NUMBER
public static final int CLIENT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
clientId_
private volatile Object clientId_
-
REDIRECT_URI_FIELD_NUMBER
public static final int REDIRECT_URI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
redirectUri_
private volatile Object redirectUri_
-
SCOPES_FIELD_NUMBER
public static final int SCOPES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
scopes_
private com.google.protobuf.LazyStringList scopes_
-
AUTHORIZATION_METADATA_KEY_FIELD_NUMBER
public static final int AUTHORIZATION_METADATA_KEY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
authorizationMetadataKey_
private volatile Object authorizationMetadataKey_
-
SERVICE_HTTP_ENDPOINT_FIELD_NUMBER
public static final int SERVICE_HTTP_ENDPOINT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
serviceHttpEndpoint_
private volatile Object serviceHttpEndpoint_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final Auth.PublicClientAuthConfigResponse DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<Auth.PublicClientAuthConfigResponse> 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
-
getClientId
public String getClientId()
client_id to use when initiating OAuth2 authorization requests.
string client_id = 1;- Specified by:
getClientIdin interfaceAuth.PublicClientAuthConfigResponseOrBuilder- Returns:
- The clientId.
-
getClientIdBytes
public com.google.protobuf.ByteString getClientIdBytes()
client_id to use when initiating OAuth2 authorization requests.
string client_id = 1;- Specified by:
getClientIdBytesin interfaceAuth.PublicClientAuthConfigResponseOrBuilder- Returns:
- The bytes for clientId.
-
getRedirectUri
public String getRedirectUri()
redirect uri to use when initiating OAuth2 authorization requests.
string redirect_uri = 2;- Specified by:
getRedirectUriin interfaceAuth.PublicClientAuthConfigResponseOrBuilder- Returns:
- The redirectUri.
-
getRedirectUriBytes
public com.google.protobuf.ByteString getRedirectUriBytes()
redirect uri to use when initiating OAuth2 authorization requests.
string redirect_uri = 2;- Specified by:
getRedirectUriBytesin interfaceAuth.PublicClientAuthConfigResponseOrBuilder- Returns:
- The bytes for redirectUri.
-
getScopesList
public com.google.protobuf.ProtocolStringList getScopesList()
scopes to request when initiating OAuth2 authorization requests.
repeated string scopes = 3;- Specified by:
getScopesListin interfaceAuth.PublicClientAuthConfigResponseOrBuilder- Returns:
- A list containing the scopes.
-
getScopesCount
public int getScopesCount()
scopes to request when initiating OAuth2 authorization requests.
repeated string scopes = 3;- Specified by:
getScopesCountin interfaceAuth.PublicClientAuthConfigResponseOrBuilder- Returns:
- The count of scopes.
-
getScopes
public String getScopes(int index)
scopes to request when initiating OAuth2 authorization requests.
repeated string scopes = 3;- Specified by:
getScopesin interfaceAuth.PublicClientAuthConfigResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The scopes at the given index.
-
getScopesBytes
public com.google.protobuf.ByteString getScopesBytes(int index)
scopes to request when initiating OAuth2 authorization requests.
repeated string scopes = 3;- Specified by:
getScopesBytesin interfaceAuth.PublicClientAuthConfigResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the scopes at the given index.
-
getAuthorizationMetadataKey
public String getAuthorizationMetadataKey()
Authorization Header to use when passing Access Tokens to the server. If not provided, the client should use the default http `Authorization` header.
string authorization_metadata_key = 4;- Specified by:
getAuthorizationMetadataKeyin interfaceAuth.PublicClientAuthConfigResponseOrBuilder- Returns:
- The authorizationMetadataKey.
-
getAuthorizationMetadataKeyBytes
public com.google.protobuf.ByteString getAuthorizationMetadataKeyBytes()
Authorization Header to use when passing Access Tokens to the server. If not provided, the client should use the default http `Authorization` header.
string authorization_metadata_key = 4;- Specified by:
getAuthorizationMetadataKeyBytesin interfaceAuth.PublicClientAuthConfigResponseOrBuilder- Returns:
- The bytes for authorizationMetadataKey.
-
getServiceHttpEndpoint
public String getServiceHttpEndpoint()
ServiceHttpEndpoint points to the http endpoint for the backend. If empty, clients can assume the endpoint used to configure the gRPC connection can be used for the http one respecting the insecure flag to choose between SSL or no SSL connections.
string service_http_endpoint = 5;- Specified by:
getServiceHttpEndpointin interfaceAuth.PublicClientAuthConfigResponseOrBuilder- Returns:
- The serviceHttpEndpoint.
-
getServiceHttpEndpointBytes
public com.google.protobuf.ByteString getServiceHttpEndpointBytes()
ServiceHttpEndpoint points to the http endpoint for the backend. If empty, clients can assume the endpoint used to configure the gRPC connection can be used for the http one respecting the insecure flag to choose between SSL or no SSL connections.
string service_http_endpoint = 5;- Specified by:
getServiceHttpEndpointBytesin interfaceAuth.PublicClientAuthConfigResponseOrBuilder- Returns:
- The bytes for serviceHttpEndpoint.
-
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 Auth.PublicClientAuthConfigResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Auth.PublicClientAuthConfigResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Auth.PublicClientAuthConfigResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Auth.PublicClientAuthConfigResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Auth.PublicClientAuthConfigResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Auth.PublicClientAuthConfigResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Auth.PublicClientAuthConfigResponse parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Auth.PublicClientAuthConfigResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Auth.PublicClientAuthConfigResponse parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Auth.PublicClientAuthConfigResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Auth.PublicClientAuthConfigResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Auth.PublicClientAuthConfigResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Auth.PublicClientAuthConfigResponse.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Auth.PublicClientAuthConfigResponse.Builder newBuilder()
-
newBuilder
public static Auth.PublicClientAuthConfigResponse.Builder newBuilder(Auth.PublicClientAuthConfigResponse prototype)
-
toBuilder
public Auth.PublicClientAuthConfigResponse.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Auth.PublicClientAuthConfigResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Auth.PublicClientAuthConfigResponse getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Auth.PublicClientAuthConfigResponse> parser()
-
getParserForType
public com.google.protobuf.Parser<Auth.PublicClientAuthConfigResponse> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Auth.PublicClientAuthConfigResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-