Class UpdateDataSourceDefinitionRequest.Builder (2.4.0)

public static final class UpdateDataSourceDefinitionRequest.Builder extends GeneratedMessageV3.Builder<UpdateDataSourceDefinitionRequest.Builder> implements UpdateDataSourceDefinitionRequestOrBuilder

Represents the request of the UpdateDataSourceDefinition method.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateDataSourceDefinitionRequest build()
Returns
TypeDescription
UpdateDataSourceDefinitionRequest

buildPartial()

public UpdateDataSourceDefinitionRequest buildPartial()
Returns
TypeDescription
UpdateDataSourceDefinitionRequest

clear()

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

clearDataSourceDefinition()

public UpdateDataSourceDefinitionRequest.Builder clearDataSourceDefinition()

Data source definition.

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

Returns
TypeDescription
UpdateDataSourceDefinitionRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateDataSourceDefinitionRequest.Builder clearUpdateMask()

Update field mask.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
UpdateDataSourceDefinitionRequest.Builder

clone()

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

getDataSourceDefinition()

public DataSourceDefinition getDataSourceDefinition()

Data source definition.

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

Returns
TypeDescription
DataSourceDefinition

getDataSourceDefinitionBuilder()

public DataSourceDefinition.Builder getDataSourceDefinitionBuilder()

Data source definition.

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

Returns
TypeDescription
DataSourceDefinition.Builder

getDataSourceDefinitionOrBuilder()

public DataSourceDefinitionOrBuilder getDataSourceDefinitionOrBuilder()

Data source definition.

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

Returns
TypeDescription
DataSourceDefinitionOrBuilder

getDefaultInstanceForType()

public UpdateDataSourceDefinitionRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateDataSourceDefinitionRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Update field mask.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMask

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Update field mask.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Update field mask.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMaskOrBuilder

hasDataSourceDefinition()

public boolean hasDataSourceDefinition()

Data source definition.

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

Returns
TypeDescription
boolean

hasUpdateMask()

public boolean hasUpdateMask()

Update field mask.

.google.protobuf.FieldMask update_mask = 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 UpdateDataSourceDefinitionRequest.Builder mergeDataSourceDefinition(DataSourceDefinition value)

Data source definition.

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

Parameter
NameDescription
valueDataSourceDefinition
Returns
TypeDescription
UpdateDataSourceDefinitionRequest.Builder

mergeFrom(UpdateDataSourceDefinitionRequest other)

public UpdateDataSourceDefinitionRequest.Builder mergeFrom(UpdateDataSourceDefinitionRequest other)
Parameter
NameDescription
otherUpdateDataSourceDefinitionRequest
Returns
TypeDescription
UpdateDataSourceDefinitionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateDataSourceDefinitionRequest.Builder mergeUpdateMask(FieldMask value)

Update field mask.

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateDataSourceDefinitionRequest.Builder

setDataSourceDefinition(DataSourceDefinition value)

public UpdateDataSourceDefinitionRequest.Builder setDataSourceDefinition(DataSourceDefinition value)

Data source definition.

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

Parameter
NameDescription
valueDataSourceDefinition
Returns
TypeDescription
UpdateDataSourceDefinitionRequest.Builder

setDataSourceDefinition(DataSourceDefinition.Builder builderForValue)

public UpdateDataSourceDefinitionRequest.Builder setDataSourceDefinition(DataSourceDefinition.Builder builderForValue)

Data source definition.

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

Parameter
NameDescription
builderForValueDataSourceDefinition.Builder
Returns
TypeDescription
UpdateDataSourceDefinitionRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateDataSourceDefinitionRequest.Builder setUpdateMask(FieldMask value)

Update field mask.

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateDataSourceDefinitionRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateDataSourceDefinitionRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Update field mask.

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateDataSourceDefinitionRequest.Builder