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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CheckValidCredsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CheckValidCredsResponse build()
Returns
buildPartial()
public CheckValidCredsResponse buildPartial()
Returns
clear()
public CheckValidCredsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CheckValidCredsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearHasValidCreds()
public CheckValidCredsResponse.Builder clearHasValidCreds()
If set to true
, the credentials exist and are valid.
bool has_valid_creds = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public CheckValidCredsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public CheckValidCredsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CheckValidCredsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CheckValidCredsResponse other)
public CheckValidCredsResponse.Builder mergeFrom(CheckValidCredsResponse other)
Parameter
Returns
public CheckValidCredsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CheckValidCredsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CheckValidCredsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CheckValidCredsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CheckValidCredsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CheckValidCredsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides