Class CreateDataSourceDefinitionRequest.Builder (2.47.0)

public static final class CreateDataSourceDefinitionRequest.Builder extends GeneratedMessageV3.Builder<CreateDataSourceDefinitionRequest.Builder> implements CreateDataSourceDefinitionRequestOrBuilder

Represents the request of the CreateDataSourceDefinition method.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateDataSourceDefinitionRequest build()
Returns
Type Description
CreateDataSourceDefinitionRequest

buildPartial()

public CreateDataSourceDefinitionRequest buildPartial()
Returns
Type Description
CreateDataSourceDefinitionRequest

clear()

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

clearDataSourceDefinition()

public CreateDataSourceDefinitionRequest.Builder clearDataSourceDefinition()

Data source definition.

.google.cloud.bigquery.datatransfer.v1.DataSourceDefinition data_source_definition = 2;

Returns
Type Description
CreateDataSourceDefinitionRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateDataSourceDefinitionRequest.Builder clearParent()

The BigQuery project id for which data source definition is associated. Must be in the form: projects/{project_id}/locations/{location_id}

string parent = 1;

Returns
Type Description
CreateDataSourceDefinitionRequest.Builder

clone()

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

getDataSourceDefinition()

public DataSourceDefinition getDataSourceDefinition()

Data source definition.

.google.cloud.bigquery.datatransfer.v1.DataSourceDefinition data_source_definition = 2;

Returns
Type Description
DataSourceDefinition

getDataSourceDefinitionBuilder()

public DataSourceDefinition.Builder getDataSourceDefinitionBuilder()

Data source definition.

.google.cloud.bigquery.datatransfer.v1.DataSourceDefinition data_source_definition = 2;

Returns
Type Description
DataSourceDefinition.Builder

getDataSourceDefinitionOrBuilder()

public DataSourceDefinitionOrBuilder getDataSourceDefinitionOrBuilder()

Data source definition.

.google.cloud.bigquery.datatransfer.v1.DataSourceDefinition data_source_definition = 2;

Returns
Type Description
DataSourceDefinitionOrBuilder

getDefaultInstanceForType()

public CreateDataSourceDefinitionRequest getDefaultInstanceForType()
Returns
Type Description
CreateDataSourceDefinitionRequest

getDescriptorForType()

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

getParent()

public String getParent()

The BigQuery project id for which data source definition is associated. Must be in the form: projects/{project_id}/locations/{location_id}

string parent = 1;

Returns
Type Description
String

getParentBytes()

public ByteString getParentBytes()

The BigQuery project id for which data source definition is associated. Must be in the form: projects/{project_id}/locations/{location_id}

string parent = 1;

Returns
Type Description
ByteString

hasDataSourceDefinition()

public boolean hasDataSourceDefinition()

Data source definition.

.google.cloud.bigquery.datatransfer.v1.DataSourceDefinition data_source_definition = 2;

Returns
Type Description
boolean

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDataSourceDefinition(DataSourceDefinition value)

public CreateDataSourceDefinitionRequest.Builder mergeDataSourceDefinition(DataSourceDefinition value)

Data source definition.

.google.cloud.bigquery.datatransfer.v1.DataSourceDefinition data_source_definition = 2;

Parameter
Name Description
value DataSourceDefinition
Returns
Type Description
CreateDataSourceDefinitionRequest.Builder

mergeFrom(CreateDataSourceDefinitionRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDataSourceDefinition(DataSourceDefinition value)

public CreateDataSourceDefinitionRequest.Builder setDataSourceDefinition(DataSourceDefinition value)

Data source definition.

.google.cloud.bigquery.datatransfer.v1.DataSourceDefinition data_source_definition = 2;

Parameter
Name Description
value DataSourceDefinition
Returns
Type Description
CreateDataSourceDefinitionRequest.Builder

setDataSourceDefinition(DataSourceDefinition.Builder builderForValue)

public CreateDataSourceDefinitionRequest.Builder setDataSourceDefinition(DataSourceDefinition.Builder builderForValue)

Data source definition.

.google.cloud.bigquery.datatransfer.v1.DataSourceDefinition data_source_definition = 2;

Parameter
Name Description
builderForValue DataSourceDefinition.Builder
Returns
Type Description
CreateDataSourceDefinitionRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateDataSourceDefinitionRequest.Builder setParent(String value)

The BigQuery project id for which data source definition is associated. Must be in the form: projects/{project_id}/locations/{location_id}

string parent = 1;

Parameter
Name Description
value String
Returns
Type Description
CreateDataSourceDefinitionRequest.Builder

setParentBytes(ByteString value)

public CreateDataSourceDefinitionRequest.Builder setParentBytes(ByteString value)

The BigQuery project id for which data source definition is associated. Must be in the form: projects/{project_id}/locations/{location_id}

string parent = 1;

Parameter
Name Description
value ByteString
Returns
Type Description
CreateDataSourceDefinitionRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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