Class CreateDataSourceDefinitionRequest.Builder (2.33.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateDataSourceDefinitionRequest build()
Returns
TypeDescription
CreateDataSourceDefinitionRequest

buildPartial()

public CreateDataSourceDefinitionRequest buildPartial()
Returns
TypeDescription
CreateDataSourceDefinitionRequest

clear()

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

clearDataSourceDefinition()

public CreateDataSourceDefinitionRequest.Builder clearDataSourceDefinition()

Data source definition.

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

Returns
TypeDescription
CreateDataSourceDefinitionRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateDataSourceDefinitionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
CreateDataSourceDefinitionRequest.Builder

clone()

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

getDataSourceDefinition()

public DataSourceDefinition getDataSourceDefinition()

Data source definition.

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

Returns
TypeDescription
DataSourceDefinition

getDataSourceDefinitionBuilder()

public DataSourceDefinition.Builder getDataSourceDefinitionBuilder()

Data source definition.

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

Returns
TypeDescription
DataSourceDefinition.Builder

getDataSourceDefinitionOrBuilder()

public DataSourceDefinitionOrBuilder getDataSourceDefinitionOrBuilder()

Data source definition.

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

Returns
TypeDescription
DataSourceDefinitionOrBuilder

getDefaultInstanceForType()

public CreateDataSourceDefinitionRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateDataSourceDefinitionRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

hasDataSourceDefinition()

public boolean hasDataSourceDefinition()

Data source definition.

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

Returns
TypeDescription
boolean

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueDataSourceDefinition
Returns
TypeDescription
CreateDataSourceDefinitionRequest.Builder

mergeFrom(CreateDataSourceDefinitionRequest other)

public CreateDataSourceDefinitionRequest.Builder mergeFrom(CreateDataSourceDefinitionRequest other)
Parameter
NameDescription
otherCreateDataSourceDefinitionRequest
Returns
TypeDescription
CreateDataSourceDefinitionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateDataSourceDefinitionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueDataSourceDefinition
Returns
TypeDescription
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
NameDescription
builderForValueDataSourceDefinition.Builder
Returns
TypeDescription
CreateDataSourceDefinitionRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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