public final class ThreeLeggedOAuth extends GeneratedMessage implements ThreeLeggedOAuthOrBuilder
Message describing ThreeLeggedOAuth object.
Protobuf type google.cloud.agentidentity.v1.ThreeLeggedOAuth
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
AUTHORIZATION_URL_FIELD_NUMBER
public static final int AUTHORIZATION_URL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CLIENT_ID_FIELD_NUMBER
public static final int CLIENT_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CLIENT_SECRET_FIELD_NUMBER
public static final int CLIENT_SECRET_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DEFAULT_CONTINUE_URI_FIELD_NUMBER
public static final int DEFAULT_CONTINUE_URI_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ENABLE_PKCE_FIELD_NUMBER
public static final int ENABLE_PKCE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
REDIRECT_URL_FIELD_NUMBER
public static final int REDIRECT_URL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TOKEN_URL_FIELD_NUMBER
public static final int TOKEN_URL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ThreeLeggedOAuth getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ThreeLeggedOAuth.Builder newBuilder()
newBuilder(ThreeLeggedOAuth prototype)
public static ThreeLeggedOAuth.Builder newBuilder(ThreeLeggedOAuth prototype)
public static ThreeLeggedOAuth parseDelimitedFrom(InputStream input)
public static ThreeLeggedOAuth parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ThreeLeggedOAuth parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ThreeLeggedOAuth parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ThreeLeggedOAuth parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ThreeLeggedOAuth parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ThreeLeggedOAuth parseFrom(CodedInputStream input)
public static ThreeLeggedOAuth parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ThreeLeggedOAuth parseFrom(InputStream input)
public static ThreeLeggedOAuth parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ThreeLeggedOAuth parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ThreeLeggedOAuth parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ThreeLeggedOAuth> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAuthorizationUrl()
public String getAuthorizationUrl()
Optional. The authorization endpoint to send users to for consenting to
delegate to the agent. eg. "https://auth.example.com/authorize"
string authorization_url = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The authorizationUrl.
|
getAuthorizationUrlBytes()
public ByteString getAuthorizationUrlBytes()
Optional. The authorization endpoint to send users to for consenting to
delegate to the agent. eg. "https://auth.example.com/authorize"
string authorization_url = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for authorizationUrl.
|
getClientId()
public String getClientId()
Optional. The client ID of the OAuth client.
string client_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The clientId.
|
getClientIdBytes()
public ByteString getClientIdBytes()
Optional. The client ID of the OAuth client.
string client_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for clientId.
|
getClientSecret()
public String getClientSecret()
Optional. Input only. The client secret of the OAuth client.
string client_secret = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Returns |
| Type |
Description |
String |
The clientSecret.
|
getClientSecretBytes()
public ByteString getClientSecretBytes()
Optional. Input only. The client secret of the OAuth client.
string client_secret = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for clientSecret.
|
getDefaultContinueUri()
public String getDefaultContinueUri()
Optional. The default continue URI for 3LO flow and it will be used when no
continue URI is provided in the RetrieveCredentials request.
string default_continue_uri = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The defaultContinueUri.
|
getDefaultContinueUriBytes()
public ByteString getDefaultContinueUriBytes()
Optional. The default continue URI for 3LO flow and it will be used when no
continue URI is provided in the RetrieveCredentials request.
string default_continue_uri = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for defaultContinueUri.
|
getDefaultInstanceForType()
public ThreeLeggedOAuth getDefaultInstanceForType()
getEnablePkce()
public boolean getEnablePkce()
Optional. Enables Proof Key for Code Exchange (PKCE) for the OAuth flow to
prevent authorization code interception attacks.
bool enable_pkce = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The enablePkce.
|
getParserForType()
public Parser<ThreeLeggedOAuth> getParserForType()
Overrides
getRedirectUrl()
public String getRedirectUrl()
Output only. The redirect URL this auth_provider uses for the OAuth
exchange. This is deterministic based on the name of the auth_provider.
string redirect_url = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The redirectUrl.
|
getRedirectUrlBytes()
public ByteString getRedirectUrlBytes()
Output only. The redirect URL this auth_provider uses for the OAuth
exchange. This is deterministic based on the name of the auth_provider.
string redirect_url = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for redirectUrl.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getTokenUrl()
public String getTokenUrl()
Optional. The token endpoint for requesting tokens on behalf of an end
user. eg. "https://auth.example.com/oauth/token"
string token_url = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The tokenUrl.
|
getTokenUrlBytes()
public ByteString getTokenUrlBytes()
Optional. The token endpoint for requesting tokens on behalf of an end
user. eg. "https://auth.example.com/oauth/token"
string token_url = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for tokenUrl.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ThreeLeggedOAuth.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ThreeLeggedOAuth.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public ThreeLeggedOAuth.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides