public final class OAuthSettings extends GeneratedMessage implements OAuthSettingsOrBuilder
Configuration for OAuth login&consent flow behavior as well as for OAuth
Credentials.
Protobuf type google.cloud.iap.v1.OAuthSettings
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
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 |
|
CLIENT_SECRET_SHA256_FIELD_NUMBER
public static final int CLIENT_SECRET_SHA256_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
LOGIN_HINT_FIELD_NUMBER
public static final int LOGIN_HINT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PROGRAMMATIC_CLIENTS_FIELD_NUMBER
public static final int PROGRAMMATIC_CLIENTS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static OAuthSettings getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static OAuthSettings.Builder newBuilder()
newBuilder(OAuthSettings prototype)
public static OAuthSettings.Builder newBuilder(OAuthSettings prototype)
public static OAuthSettings parseDelimitedFrom(InputStream input)
public static OAuthSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static OAuthSettings parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static OAuthSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static OAuthSettings parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static OAuthSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static OAuthSettings parseFrom(CodedInputStream input)
public static OAuthSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static OAuthSettings parseFrom(InputStream input)
public static OAuthSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static OAuthSettings parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static OAuthSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<OAuthSettings> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getClientId()
public StringValue getClientId()
getClientIdOrBuilder()
public StringValueOrBuilder getClientIdOrBuilder()
getClientSecret()
public StringValue getClientSecret()
Optional. Input only. OAuth secret paired with client ID.
.google.protobuf.StringValue client_secret = 4 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
getClientSecretOrBuilder()
public StringValueOrBuilder getClientSecretOrBuilder()
Optional. Input only. OAuth secret paired with client ID.
.google.protobuf.StringValue client_secret = 4 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
getClientSecretSha256()
public StringValue getClientSecretSha256()
Output only. OAuth secret SHA256 paired with client ID.
.google.protobuf.StringValue client_secret_sha256 = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
StringValue |
The clientSecretSha256.
|
getClientSecretSha256OrBuilder()
public StringValueOrBuilder getClientSecretSha256OrBuilder()
Output only. OAuth secret SHA256 paired with client ID.
.google.protobuf.StringValue client_secret_sha256 = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public OAuthSettings getDefaultInstanceForType()
getLoginHint()
public StringValue getLoginHint()
Domain hint to send as hd=? parameter in OAuth request flow. Enables
redirect to primary IDP by skipping Google's login screen.
https://developers.google.com/identity/protocols/OpenIDConnect#hd-param
Note: IAP does not verify that the id token's hd claim matches this value
since access behavior is managed by IAM policies.
.google.protobuf.StringValue login_hint = 2;
getLoginHintOrBuilder()
public StringValueOrBuilder getLoginHintOrBuilder()
Domain hint to send as hd=? parameter in OAuth request flow. Enables
redirect to primary IDP by skipping Google's login screen.
https://developers.google.com/identity/protocols/OpenIDConnect#hd-param
Note: IAP does not verify that the id token's hd claim matches this value
since access behavior is managed by IAM policies.
.google.protobuf.StringValue login_hint = 2;
getParserForType()
public Parser<OAuthSettings> getParserForType()
Overrides
getProgrammaticClients(int index)
public String getProgrammaticClients(int index)
Optional. List of client ids allowed to use IAP programmatically.
repeated string programmatic_clients = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The programmaticClients at the given index.
|
getProgrammaticClientsBytes(int index)
public ByteString getProgrammaticClientsBytes(int index)
Optional. List of client ids allowed to use IAP programmatically.
repeated string programmatic_clients = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the programmaticClients at the given index.
|
getProgrammaticClientsCount()
public int getProgrammaticClientsCount()
Optional. List of client ids allowed to use IAP programmatically.
repeated string programmatic_clients = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
The count of programmaticClients.
|
getProgrammaticClientsList()
public ProtocolStringList getProgrammaticClientsList()
Optional. List of client ids allowed to use IAP programmatically.
repeated string programmatic_clients = 5 [(.google.api.field_behavior) = OPTIONAL];
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hasClientId()
public boolean hasClientId()
| Returns |
| Type |
Description |
boolean |
Whether the clientId field is set.
|
hasClientSecret()
public boolean hasClientSecret()
Optional. Input only. OAuth secret paired with client ID.
.google.protobuf.StringValue client_secret = 4 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the clientSecret field is set.
|
hasClientSecretSha256()
public boolean hasClientSecretSha256()
Output only. OAuth secret SHA256 paired with client ID.
.google.protobuf.StringValue client_secret_sha256 = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the clientSecretSha256 field is set.
|
hasLoginHint()
public boolean hasLoginHint()
Domain hint to send as hd=? parameter in OAuth request flow. Enables
redirect to primary IDP by skipping Google's login screen.
https://developers.google.com/identity/protocols/OpenIDConnect#hd-param
Note: IAP does not verify that the id token's hd claim matches this value
since access behavior is managed by IAM policies.
.google.protobuf.StringValue login_hint = 2;
| Returns |
| Type |
Description |
boolean |
Whether the loginHint field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public OAuthSettings.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected OAuthSettings.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public OAuthSettings.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides