Class CheckValidCredsResponse (2.19.0)

public final class CheckValidCredsResponse extends GeneratedMessageV3 implements CheckValidCredsResponseOrBuilder

A response indicating whether the credentials exist and are valid.

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

Static Fields

HAS_VALID_CREDS_FIELD_NUMBER

public static final int HAS_VALID_CREDS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CheckValidCredsResponse getDefaultInstance()
Returns
TypeDescription
CheckValidCredsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CheckValidCredsResponse.Builder newBuilder()
Returns
TypeDescription
CheckValidCredsResponse.Builder

newBuilder(CheckValidCredsResponse prototype)

public static CheckValidCredsResponse.Builder newBuilder(CheckValidCredsResponse prototype)
Parameter
NameDescription
prototypeCheckValidCredsResponse
Returns
TypeDescription
CheckValidCredsResponse.Builder

parseDelimitedFrom(InputStream input)

public static CheckValidCredsResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CheckValidCredsResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CheckValidCredsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CheckValidCredsResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CheckValidCredsResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CheckValidCredsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CheckValidCredsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CheckValidCredsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CheckValidCredsResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CheckValidCredsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CheckValidCredsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CheckValidCredsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CheckValidCredsResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CheckValidCredsResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CheckValidCredsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CheckValidCredsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CheckValidCredsResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CheckValidCredsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CheckValidCredsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CheckValidCredsResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CheckValidCredsResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CheckValidCredsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CheckValidCredsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CheckValidCredsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CheckValidCredsResponse> parser()
Returns
TypeDescription
Parser<CheckValidCredsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public CheckValidCredsResponse getDefaultInstanceForType()
Returns
TypeDescription
CheckValidCredsResponse

getHasValidCreds()

public boolean getHasValidCreds()

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

bool has_valid_creds = 1;

Returns
TypeDescription
boolean

The hasValidCreds.

getParserForType()

public Parser<CheckValidCredsResponse> getParserForType()
Returns
TypeDescription
Parser<CheckValidCredsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CheckValidCredsResponse.Builder newBuilderForType()
Returns
TypeDescription
CheckValidCredsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CheckValidCredsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CheckValidCredsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CheckValidCredsResponse.Builder toBuilder()
Returns
TypeDescription
CheckValidCredsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException