Class WorkdayAuth (0.37.0)

public final class WorkdayAuth extends GeneratedMessage implements WorkdayAuthOrBuilder

Authentication for Workday.

Protobuf type google.cloud.chronicle.v1.WorkdayAuth

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

REFRESH_TOKEN_FIELD_NUMBER

public static final int REFRESH_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

SECRET_FIELD_NUMBER

public static final int SECRET_FIELD_NUMBER
Field Value
Type Description
int

TOKEN_ENDPOINT_FIELD_NUMBER

public static final int TOKEN_ENDPOINT_FIELD_NUMBER
Field Value
Type Description
int

USER_FIELD_NUMBER

public static final int USER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static WorkdayAuth getDefaultInstance()
Returns
Type Description
WorkdayAuth

getDescriptor()

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

newBuilder()

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

newBuilder(WorkdayAuth prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getClientId()

public String getClientId()

Client ID.

string client_id = 4;

Returns
Type Description
String

The clientId.

getClientIdBytes()

public ByteString getClientIdBytes()

Client ID.

string client_id = 4;

Returns
Type Description
ByteString

The bytes for clientId.

getClientSecret()

public String getClientSecret()

Client Secret.

string client_secret = 5;

Returns
Type Description
String

The clientSecret.

getClientSecretBytes()

public ByteString getClientSecretBytes()

Client Secret.

string client_secret = 5;

Returns
Type Description
ByteString

The bytes for clientSecret.

getDefaultInstanceForType()

public WorkdayAuth getDefaultInstanceForType()
Returns
Type Description
WorkdayAuth

getParserForType()

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

getRefreshToken()

public String getRefreshToken()

Refresh Token.

string refresh_token = 6;

Returns
Type Description
String

The refreshToken.

getRefreshTokenBytes()

public ByteString getRefreshTokenBytes()

Refresh Token.

string refresh_token = 6;

Returns
Type Description
ByteString

The bytes for refreshToken.

getSecret()

public String getSecret()

The access token used to authenticate against Workday. This field is called "secret" to maintain backwards compatibility. Workday was (only) configured using username (which was unused) and secret (which is used as the access token). Either this field or all of the other OAuth fields below must be specified.

string secret = 2;

Returns
Type Description
String

The secret.

getSecretBytes()

public ByteString getSecretBytes()

The access token used to authenticate against Workday. This field is called "secret" to maintain backwards compatibility. Workday was (only) configured using username (which was unused) and secret (which is used as the access token). Either this field or all of the other OAuth fields below must be specified.

string secret = 2;

Returns
Type Description
ByteString

The bytes for secret.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTokenEndpoint()

public String getTokenEndpoint()

Token endpoint to get the OAuth token from.

string token_endpoint = 3;

Returns
Type Description
String

The tokenEndpoint.

getTokenEndpointBytes()

public ByteString getTokenEndpointBytes()

Token endpoint to get the OAuth token from.

string token_endpoint = 3;

Returns
Type Description
ByteString

The bytes for tokenEndpoint.

getUser()

public String getUser()

Username. This is unused: Workday feeds were originally configured using a username and secret authentication method, but only the secret field was used, and it was used to supply the OAuth access token.

string user = 1;

Returns
Type Description
String

The user.

getUserBytes()

public ByteString getUserBytes()

Username. This is unused: Workday feeds were originally configured using a username and secret authentication method, but only the secret field was used, and it was used to supply the OAuth access token.

string user = 1;

Returns
Type Description
ByteString

The bytes for user.

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 WorkdayAuth.Builder newBuilderForType()
Returns
Type Description
WorkdayAuth.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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