Class GetDataSourceDefinitionRequest.Builder (2.34.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetDataSourceDefinitionRequest build()
Returns
TypeDescription
GetDataSourceDefinitionRequest

buildPartial()

public GetDataSourceDefinitionRequest buildPartial()
Returns
TypeDescription
GetDataSourceDefinitionRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetDataSourceDefinitionRequest.Builder clearName()

The field will contain name of the resource requested.

string name = 1;

Returns
TypeDescription
GetDataSourceDefinitionRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetDataSourceDefinitionRequest getDefaultInstanceForType()
Returns
TypeDescription
GetDataSourceDefinitionRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

The field will contain name of the resource requested.

string name = 1;

Returns
TypeDescription
String

getNameBytes()

public ByteString getNameBytes()

The field will contain name of the resource requested.

string name = 1;

Returns
TypeDescription
ByteString

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetDataSourceDefinitionRequest other)

public GetDataSourceDefinitionRequest.Builder mergeFrom(GetDataSourceDefinitionRequest other)
Parameter
NameDescription
otherGetDataSourceDefinitionRequest
Returns
TypeDescription
GetDataSourceDefinitionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setNameBytes(ByteString value)

public GetDataSourceDefinitionRequest.Builder setNameBytes(ByteString value)

The field will contain name of the resource requested.

string name = 1;

Parameter
NameDescription
valueByteString
Returns
TypeDescription
GetDataSourceDefinitionRequest.Builder

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

public GetDataSourceDefinitionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetDataSourceDefinitionRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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