Class CheckValidCredsResponse.Builder

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CheckValidCredsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CheckValidCredsResponse.Builder
Overrides

build()

public CheckValidCredsResponse build()
Returns
TypeDescription
CheckValidCredsResponse

buildPartial()

public CheckValidCredsResponse buildPartial()
Returns
TypeDescription
CheckValidCredsResponse

clear()

public CheckValidCredsResponse.Builder clear()
Returns
TypeDescription
CheckValidCredsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CheckValidCredsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CheckValidCredsResponse.Builder
Overrides

clearHasValidCreds()

public CheckValidCredsResponse.Builder clearHasValidCreds()

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

bool has_valid_creds = 1;

Returns
TypeDescription
CheckValidCredsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CheckValidCredsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CheckValidCredsResponse.Builder
Overrides

clone()

public CheckValidCredsResponse.Builder clone()
Returns
TypeDescription
CheckValidCredsResponse.Builder
Overrides

getDefaultInstanceForType()

public CheckValidCredsResponse getDefaultInstanceForType()
Returns
TypeDescription
CheckValidCredsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getHasValidCreds()

public boolean getHasValidCreds()

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

bool has_valid_creds = 1;

Returns
TypeDescription
boolean

The hasValidCreds.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CheckValidCredsResponse other)

public CheckValidCredsResponse.Builder mergeFrom(CheckValidCredsResponse other)
Parameter
NameDescription
otherCheckValidCredsResponse
Returns
TypeDescription
CheckValidCredsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CheckValidCredsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CheckValidCredsResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CheckValidCredsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CheckValidCredsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CheckValidCredsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CheckValidCredsResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CheckValidCredsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueboolean

The hasValidCreds to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CheckValidCredsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CheckValidCredsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CheckValidCredsResponse.Builder
Overrides