Class BigQueryInputConfig.Builder (0.36.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BigQueryInputConfig build()
Returns
TypeDescription
BigQueryInputConfig

buildPartial()

public BigQueryInputConfig buildPartial()
Returns
TypeDescription
BigQueryInputConfig

clear()

public BigQueryInputConfig.Builder clear()
Returns
TypeDescription
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
TypeDescription
BigQueryInputConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearGcsUri()

public BigQueryInputConfig.Builder clearGcsUri()

Required. Schema mapping file

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

Returns
TypeDescription
BigQueryInputConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public BigQueryInputConfig.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for bigqueryTable.

getDefaultInstanceForType()

public BigQueryInputConfig getDefaultInstanceForType()
Returns
TypeDescription
BigQueryInputConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGcsUri()

public String getGcsUri()

Required. Schema mapping file

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

Returns
TypeDescription
String

The gcsUri.

getGcsUriBytes()

public ByteString getGcsUriBytes()

Required. Schema mapping file

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

Returns
TypeDescription
ByteString

The bytes for gcsUri.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BigQueryInputConfig other)

public BigQueryInputConfig.Builder mergeFrom(BigQueryInputConfig other)
Parameter
NameDescription
otherBigQueryInputConfig
Returns
TypeDescription
BigQueryInputConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The bigqueryTable to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for bigqueryTable to set.

Returns
TypeDescription
BigQueryInputConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The gcsUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for gcsUri to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BigQueryInputConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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