Class CheckValidCredsResponse.Builder (2.83.0)

public static final class CheckValidCredsResponse.Builder extends GeneratedMessage.Builder<CheckValidCredsResponse.Builder> implements CheckValidCredsResponseOrBuilder

A response indicating whether the credentials exist and are valid.

Protobuf type google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse

Static Methods

getDescriptor()

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

Methods

build()

public CheckValidCredsResponse build()
Returns
Type Description
CheckValidCredsResponse

buildPartial()

public CheckValidCredsResponse buildPartial()
Returns
Type Description
CheckValidCredsResponse

clear()

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

clearHasValidCreds()

public CheckValidCredsResponse.Builder clearHasValidCreds()

If set to true, the credentials exist and are valid.

bool has_valid_creds = 1;

Returns
Type Description
CheckValidCredsResponse.Builder

This builder for chaining.

getDefaultInstanceForType()

public CheckValidCredsResponse getDefaultInstanceForType()
Returns
Type Description
CheckValidCredsResponse

getDescriptorForType()

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

getHasValidCreds()

public boolean getHasValidCreds()

If set to true, the credentials exist and are valid.

bool has_valid_creds = 1;

Returns
Type Description
boolean

The hasValidCreds.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CheckValidCredsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setHasValidCreds(boolean value)

public CheckValidCredsResponse.Builder setHasValidCreds(boolean value)

If set to true, the credentials exist and are valid.

bool has_valid_creds = 1;

Parameter
Name Description
value boolean

The hasValidCreds to set.

Returns
Type Description
CheckValidCredsResponse.Builder

This builder for chaining.