Class CheckValidCredsResponse.Builder (2.48.0)

public static final class CheckValidCredsResponse.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public CheckValidCredsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public CheckValidCredsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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