Class WorkforceIdentityBasedOAuth2ClientID (0.13.0)

public final class WorkforceIdentityBasedOAuth2ClientID extends GeneratedMessageV3 implements WorkforceIdentityBasedOAuth2ClientIDOrBuilder

OAuth Client ID depending on the Workforce Identity i.e. either 1p or 3p,

Protobuf type google.cloud.backupdr.v1.WorkforceIdentityBasedOAuth2ClientID

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > WorkforceIdentityBasedOAuth2ClientID

Static Fields

FIRST_PARTY_OAUTH2_CLIENT_ID_FIELD_NUMBER

public static final int FIRST_PARTY_OAUTH2_CLIENT_ID_FIELD_NUMBER
Field Value
Type Description
int

THIRD_PARTY_OAUTH2_CLIENT_ID_FIELD_NUMBER

public static final int THIRD_PARTY_OAUTH2_CLIENT_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static WorkforceIdentityBasedOAuth2ClientID getDefaultInstance()
Returns
Type Description
WorkforceIdentityBasedOAuth2ClientID

getDescriptor()

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

newBuilder()

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

newBuilder(WorkforceIdentityBasedOAuth2ClientID prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public WorkforceIdentityBasedOAuth2ClientID getDefaultInstanceForType()
Returns
Type Description
WorkforceIdentityBasedOAuth2ClientID

getFirstPartyOauth2ClientId()

public String getFirstPartyOauth2ClientId()

Output only. First party OAuth Client ID for Google Identities.

string first_party_oauth2_client_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The firstPartyOauth2ClientId.

getFirstPartyOauth2ClientIdBytes()

public ByteString getFirstPartyOauth2ClientIdBytes()

Output only. First party OAuth Client ID for Google Identities.

string first_party_oauth2_client_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for firstPartyOauth2ClientId.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getThirdPartyOauth2ClientId()

public String getThirdPartyOauth2ClientId()

Output only. Third party OAuth Client ID for External Identity Providers.

string third_party_oauth2_client_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The thirdPartyOauth2ClientId.

getThirdPartyOauth2ClientIdBytes()

public ByteString getThirdPartyOauth2ClientIdBytes()

Output only. Third party OAuth Client ID for External Identity Providers.

string third_party_oauth2_client_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for thirdPartyOauth2ClientId.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected WorkforceIdentityBasedOAuth2ClientID.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
WorkforceIdentityBasedOAuth2ClientID.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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