Class GetDataSourceDefinitionRequest.Builder (2.49.0)

public static final class GetDataSourceDefinitionRequest.Builder extends GeneratedMessageV3.Builder<GetDataSourceDefinitionRequest.Builder> implements GetDataSourceDefinitionRequestOrBuilder

Represents the request of the GetDataSourceDefinition method.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetDataSourceDefinitionRequest build()
Returns
Type Description
GetDataSourceDefinitionRequest

buildPartial()

public GetDataSourceDefinitionRequest buildPartial()
Returns
Type Description
GetDataSourceDefinitionRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public GetDataSourceDefinitionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GetDataSourceDefinitionRequest.Builder
Overrides

clearName()

public GetDataSourceDefinitionRequest.Builder clearName()

The field will contain name of the resource requested.

string name = 1;

Returns
Type Description
GetDataSourceDefinitionRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetDataSourceDefinitionRequest getDefaultInstanceForType()
Returns
Type Description
GetDataSourceDefinitionRequest

getDescriptorForType()

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

getName()

public String getName()

The field will contain name of the resource requested.

string name = 1;

Returns
Type Description
String

getNameBytes()

public ByteString getNameBytes()

The field will contain name of the resource requested.

string name = 1;

Returns
Type Description
ByteString

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetDataSourceDefinitionRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetDataSourceDefinitionRequest.Builder setName(String value)

The field will contain name of the resource requested.

string name = 1;

Parameter
Name Description
value String
Returns
Type Description
GetDataSourceDefinitionRequest.Builder

setNameBytes(ByteString value)

public GetDataSourceDefinitionRequest.Builder setNameBytes(ByteString value)

The field will contain name of the resource requested.

string name = 1;

Parameter
Name Description
value ByteString
Returns
Type Description
GetDataSourceDefinitionRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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