Class BigQueryInputConfig.Builder (0.43.0)

public static final class BigQueryInputConfig.Builder extends GeneratedMessageV3.Builder<BigQueryInputConfig.Builder> implements BigQueryInputConfigOrBuilder

The input config for BigQuery tables.

Protobuf type google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BigQueryInputConfig build()
Returns
Type Description
BigQueryInputConfig

buildPartial()

public BigQueryInputConfig buildPartial()
Returns
Type Description
BigQueryInputConfig

clear()

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

clearBigqueryTable()

public BigQueryInputConfig.Builder clearBigqueryTable()

Required. Format is projects/*/datasets/*/tables/*.

string bigquery_table = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
BigQueryInputConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearGcsUri()

public BigQueryInputConfig.Builder clearGcsUri()

Required. Schema mapping file

string gcs_uri = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BigQueryInputConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getBigqueryTable()

public String getBigqueryTable()

Required. Format is projects/*/datasets/*/tables/*.

string bigquery_table = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The bigqueryTable.

getBigqueryTableBytes()

public ByteString getBigqueryTableBytes()

Required. Format is projects/*/datasets/*/tables/*.

string bigquery_table = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for bigqueryTable.

getDefaultInstanceForType()

public BigQueryInputConfig getDefaultInstanceForType()
Returns
Type Description
BigQueryInputConfig

getDescriptorForType()

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

getGcsUri()

public String getGcsUri()

Required. Schema mapping file

string gcs_uri = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The gcsUri.

getGcsUriBytes()

public ByteString getGcsUriBytes()

Required. Schema mapping file

string gcs_uri = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for gcsUri.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BigQueryInputConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBigqueryTable(String value)

public BigQueryInputConfig.Builder setBigqueryTable(String value)

Required. Format is projects/*/datasets/*/tables/*.

string bigquery_table = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The bigqueryTable to set.

Returns
Type Description
BigQueryInputConfig.Builder

This builder for chaining.

setBigqueryTableBytes(ByteString value)

public BigQueryInputConfig.Builder setBigqueryTableBytes(ByteString value)

Required. Format is projects/*/datasets/*/tables/*.

string bigquery_table = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for bigqueryTable to set.

Returns
Type Description
BigQueryInputConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setGcsUri(String value)

public BigQueryInputConfig.Builder setGcsUri(String value)

Required. Schema mapping file

string gcs_uri = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The gcsUri to set.

Returns
Type Description
BigQueryInputConfig.Builder

This builder for chaining.

setGcsUriBytes(ByteString value)

public BigQueryInputConfig.Builder setGcsUriBytes(ByteString value)

Required. Schema mapping file

string gcs_uri = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for gcsUri to set.

Returns
Type Description
BigQueryInputConfig.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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