Class EndUserAuthConfig (0.1.0)

public final class EndUserAuthConfig extends GeneratedMessage implements EndUserAuthConfigOrBuilder

End-user authentication configuration used for Connection calls. The field values must be the names of context variables in the format $context.variables.<name_of_variable>.

Protobuf type google.cloud.ces.v1.EndUserAuthConfig

Static Fields

OAUTH2_AUTH_CODE_CONFIG_FIELD_NUMBER

public static final int OAUTH2_AUTH_CODE_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

OAUTH2_JWT_BEARER_CONFIG_FIELD_NUMBER

public static final int OAUTH2_JWT_BEARER_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static EndUserAuthConfig getDefaultInstance()
Returns
Type Description
EndUserAuthConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static EndUserAuthConfig.Builder newBuilder()
Returns
Type Description
EndUserAuthConfig.Builder

newBuilder(EndUserAuthConfig prototype)

public static EndUserAuthConfig.Builder newBuilder(EndUserAuthConfig prototype)
Parameter
Name Description
prototype EndUserAuthConfig
Returns
Type Description
EndUserAuthConfig.Builder

parseDelimitedFrom(InputStream input)

public static EndUserAuthConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EndUserAuthConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EndUserAuthConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EndUserAuthConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static EndUserAuthConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
EndUserAuthConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EndUserAuthConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EndUserAuthConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EndUserAuthConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
EndUserAuthConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EndUserAuthConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EndUserAuthConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EndUserAuthConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
EndUserAuthConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EndUserAuthConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EndUserAuthConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static EndUserAuthConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EndUserAuthConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EndUserAuthConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EndUserAuthConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static EndUserAuthConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
EndUserAuthConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EndUserAuthConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EndUserAuthConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<EndUserAuthConfig> parser()
Returns
Type Description
Parser<EndUserAuthConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAuthConfigCase()

public EndUserAuthConfig.AuthConfigCase getAuthConfigCase()
Returns
Type Description
EndUserAuthConfig.AuthConfigCase

getDefaultInstanceForType()

public EndUserAuthConfig getDefaultInstanceForType()
Returns
Type Description
EndUserAuthConfig

getOauth2AuthCodeConfig()

public EndUserAuthConfig.Oauth2AuthCodeConfig getOauth2AuthCodeConfig()

Oauth 2.0 Authorization Code authentication.

.google.cloud.ces.v1.EndUserAuthConfig.Oauth2AuthCodeConfig oauth2_auth_code_config = 2;

Returns
Type Description
EndUserAuthConfig.Oauth2AuthCodeConfig

The oauth2AuthCodeConfig.

getOauth2AuthCodeConfigOrBuilder()

public EndUserAuthConfig.Oauth2AuthCodeConfigOrBuilder getOauth2AuthCodeConfigOrBuilder()

Oauth 2.0 Authorization Code authentication.

.google.cloud.ces.v1.EndUserAuthConfig.Oauth2AuthCodeConfig oauth2_auth_code_config = 2;

Returns
Type Description
EndUserAuthConfig.Oauth2AuthCodeConfigOrBuilder

getOauth2JwtBearerConfig()

public EndUserAuthConfig.Oauth2JwtBearerConfig getOauth2JwtBearerConfig()

JWT Profile Oauth 2.0 Authorization Grant authentication.

.google.cloud.ces.v1.EndUserAuthConfig.Oauth2JwtBearerConfig oauth2_jwt_bearer_config = 3;

Returns
Type Description
EndUserAuthConfig.Oauth2JwtBearerConfig

The oauth2JwtBearerConfig.

getOauth2JwtBearerConfigOrBuilder()

public EndUserAuthConfig.Oauth2JwtBearerConfigOrBuilder getOauth2JwtBearerConfigOrBuilder()

JWT Profile Oauth 2.0 Authorization Grant authentication.

.google.cloud.ces.v1.EndUserAuthConfig.Oauth2JwtBearerConfig oauth2_jwt_bearer_config = 3;

Returns
Type Description
EndUserAuthConfig.Oauth2JwtBearerConfigOrBuilder

getParserForType()

public Parser<EndUserAuthConfig> getParserForType()
Returns
Type Description
Parser<EndUserAuthConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasOauth2AuthCodeConfig()

public boolean hasOauth2AuthCodeConfig()

Oauth 2.0 Authorization Code authentication.

.google.cloud.ces.v1.EndUserAuthConfig.Oauth2AuthCodeConfig oauth2_auth_code_config = 2;

Returns
Type Description
boolean

Whether the oauth2AuthCodeConfig field is set.

hasOauth2JwtBearerConfig()

public boolean hasOauth2JwtBearerConfig()

JWT Profile Oauth 2.0 Authorization Grant authentication.

.google.cloud.ces.v1.EndUserAuthConfig.Oauth2JwtBearerConfig oauth2_jwt_bearer_config = 3;

Returns
Type Description
boolean

Whether the oauth2JwtBearerConfig field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public EndUserAuthConfig.Builder newBuilderForType()
Returns
Type Description
EndUserAuthConfig.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected EndUserAuthConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
EndUserAuthConfig.Builder
Overrides

toBuilder()

public EndUserAuthConfig.Builder toBuilder()
Returns
Type Description
EndUserAuthConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException