Class WorkforceIdentityBasedOAuth2ClientID.Builder (0.6.0)

public static final class WorkforceIdentityBasedOAuth2ClientID.Builder extends GeneratedMessageV3.Builder<WorkforceIdentityBasedOAuth2ClientID.Builder> implements WorkforceIdentityBasedOAuth2ClientIDOrBuilder

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

Protobuf type google.cloud.backupdr.v1.WorkforceIdentityBasedOAuth2ClientID

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public WorkforceIdentityBasedOAuth2ClientID.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WorkforceIdentityBasedOAuth2ClientID.Builder
Overrides

build()

public WorkforceIdentityBasedOAuth2ClientID build()
Returns
Type Description
WorkforceIdentityBasedOAuth2ClientID

buildPartial()

public WorkforceIdentityBasedOAuth2ClientID buildPartial()
Returns
Type Description
WorkforceIdentityBasedOAuth2ClientID

clear()

public WorkforceIdentityBasedOAuth2ClientID.Builder clear()
Returns
Type Description
WorkforceIdentityBasedOAuth2ClientID.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public WorkforceIdentityBasedOAuth2ClientID.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
WorkforceIdentityBasedOAuth2ClientID.Builder
Overrides

clearFirstPartyOauth2ClientId()

public WorkforceIdentityBasedOAuth2ClientID.Builder clearFirstPartyOauth2ClientId()

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
WorkforceIdentityBasedOAuth2ClientID.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public WorkforceIdentityBasedOAuth2ClientID.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
WorkforceIdentityBasedOAuth2ClientID.Builder
Overrides

clearThirdPartyOauth2ClientId()

public WorkforceIdentityBasedOAuth2ClientID.Builder clearThirdPartyOauth2ClientId()

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
WorkforceIdentityBasedOAuth2ClientID.Builder

This builder for chaining.

clone()

public WorkforceIdentityBasedOAuth2ClientID.Builder clone()
Returns
Type Description
WorkforceIdentityBasedOAuth2ClientID.Builder
Overrides

getDefaultInstanceForType()

public WorkforceIdentityBasedOAuth2ClientID getDefaultInstanceForType()
Returns
Type Description
WorkforceIdentityBasedOAuth2ClientID

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WorkforceIdentityBasedOAuth2ClientID other)

public WorkforceIdentityBasedOAuth2ClientID.Builder mergeFrom(WorkforceIdentityBasedOAuth2ClientID other)
Parameter
Name Description
other WorkforceIdentityBasedOAuth2ClientID
Returns
Type Description
WorkforceIdentityBasedOAuth2ClientID.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public WorkforceIdentityBasedOAuth2ClientID.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WorkforceIdentityBasedOAuth2ClientID.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public WorkforceIdentityBasedOAuth2ClientID.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
WorkforceIdentityBasedOAuth2ClientID.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WorkforceIdentityBasedOAuth2ClientID.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WorkforceIdentityBasedOAuth2ClientID.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public WorkforceIdentityBasedOAuth2ClientID.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WorkforceIdentityBasedOAuth2ClientID.Builder
Overrides

setFirstPartyOauth2ClientId(String value)

public WorkforceIdentityBasedOAuth2ClientID.Builder setFirstPartyOauth2ClientId(String value)

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

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

Parameter
Name Description
value String

The firstPartyOauth2ClientId to set.

Returns
Type Description
WorkforceIdentityBasedOAuth2ClientID.Builder

This builder for chaining.

setFirstPartyOauth2ClientIdBytes(ByteString value)

public WorkforceIdentityBasedOAuth2ClientID.Builder setFirstPartyOauth2ClientIdBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for firstPartyOauth2ClientId to set.

Returns
Type Description
WorkforceIdentityBasedOAuth2ClientID.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public WorkforceIdentityBasedOAuth2ClientID.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
WorkforceIdentityBasedOAuth2ClientID.Builder
Overrides

setThirdPartyOauth2ClientId(String value)

public WorkforceIdentityBasedOAuth2ClientID.Builder setThirdPartyOauth2ClientId(String value)

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

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

Parameter
Name Description
value String

The thirdPartyOauth2ClientId to set.

Returns
Type Description
WorkforceIdentityBasedOAuth2ClientID.Builder

This builder for chaining.

setThirdPartyOauth2ClientIdBytes(ByteString value)

public WorkforceIdentityBasedOAuth2ClientID.Builder setThirdPartyOauth2ClientIdBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for thirdPartyOauth2ClientId to set.

Returns
Type Description
WorkforceIdentityBasedOAuth2ClientID.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final WorkforceIdentityBasedOAuth2ClientID.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WorkforceIdentityBasedOAuth2ClientID.Builder
Overrides