Class StartOAuthRequest.Builder (0.44.0)

public static final class StartOAuthRequest.Builder extends GeneratedMessage.Builder<StartOAuthRequest.Builder> implements StartOAuthRequestOrBuilder

Message for starting an OAuth flow.

Protobuf type google.cloud.developerconnect.v1.StartOAuthRequest

Static Methods

getDescriptor()

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

Methods

build()

public StartOAuthRequest build()
Returns
Type Description
StartOAuthRequest

buildPartial()

public StartOAuthRequest buildPartial()
Returns
Type Description
StartOAuthRequest

clear()

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

clearAccountConnector()

public StartOAuthRequest.Builder clearAccountConnector()

Required. The resource name of the AccountConnector in the format projects/*/locations/*/accountConnectors/*.

string account_connector = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
StartOAuthRequest.Builder

This builder for chaining.

getAccountConnector()

public String getAccountConnector()

Required. The resource name of the AccountConnector in the format projects/*/locations/*/accountConnectors/*.

string account_connector = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The accountConnector.

getAccountConnectorBytes()

public ByteString getAccountConnectorBytes()

Required. The resource name of the AccountConnector in the format projects/*/locations/*/accountConnectors/*.

string account_connector = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for accountConnector.

getDefaultInstanceForType()

public StartOAuthRequest getDefaultInstanceForType()
Returns
Type Description
StartOAuthRequest

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StartOAuthRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setAccountConnector(String value)

public StartOAuthRequest.Builder setAccountConnector(String value)

Required. The resource name of the AccountConnector in the format projects/*/locations/*/accountConnectors/*.

string account_connector = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The accountConnector to set.

Returns
Type Description
StartOAuthRequest.Builder

This builder for chaining.

setAccountConnectorBytes(ByteString value)

public StartOAuthRequest.Builder setAccountConnectorBytes(ByteString value)

Required. The resource name of the AccountConnector in the format projects/*/locations/*/accountConnectors/*.

string account_connector = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for accountConnector to set.

Returns
Type Description
StartOAuthRequest.Builder

This builder for chaining.