Class InputConfig.Builder (0.42.0)

public static final class InputConfig.Builder extends GeneratedMessageV3.Builder<InputConfig.Builder> implements InputConfigOrBuilder

The desired input location and metadata.

Protobuf type google.cloud.enterpriseknowledgegraph.v1.InputConfig

Static Methods

getDescriptor()

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

Methods

addAllBigqueryInputConfigs(Iterable<? extends BigQueryInputConfig> values)

public InputConfig.Builder addAllBigqueryInputConfigs(Iterable<? extends BigQueryInputConfig> values)

Set of input BigQuery tables.

repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig>
Returns
Type Description
InputConfig.Builder

addBigqueryInputConfigs(BigQueryInputConfig value)

public InputConfig.Builder addBigqueryInputConfigs(BigQueryInputConfig value)

Set of input BigQuery tables.

repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1;

Parameter
Name Description
value BigQueryInputConfig
Returns
Type Description
InputConfig.Builder

addBigqueryInputConfigs(BigQueryInputConfig.Builder builderForValue)

public InputConfig.Builder addBigqueryInputConfigs(BigQueryInputConfig.Builder builderForValue)

Set of input BigQuery tables.

repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1;

Parameter
Name Description
builderForValue BigQueryInputConfig.Builder
Returns
Type Description
InputConfig.Builder

addBigqueryInputConfigs(int index, BigQueryInputConfig value)

public InputConfig.Builder addBigqueryInputConfigs(int index, BigQueryInputConfig value)

Set of input BigQuery tables.

repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1;

Parameters
Name Description
index int
value BigQueryInputConfig
Returns
Type Description
InputConfig.Builder

addBigqueryInputConfigs(int index, BigQueryInputConfig.Builder builderForValue)

public InputConfig.Builder addBigqueryInputConfigs(int index, BigQueryInputConfig.Builder builderForValue)

Set of input BigQuery tables.

repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1;

Parameters
Name Description
index int
builderForValue BigQueryInputConfig.Builder
Returns
Type Description
InputConfig.Builder

addBigqueryInputConfigsBuilder()

public BigQueryInputConfig.Builder addBigqueryInputConfigsBuilder()

Set of input BigQuery tables.

repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1;

Returns
Type Description
BigQueryInputConfig.Builder

addBigqueryInputConfigsBuilder(int index)

public BigQueryInputConfig.Builder addBigqueryInputConfigsBuilder(int index)

Set of input BigQuery tables.

repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
BigQueryInputConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InputConfig build()
Returns
Type Description
InputConfig

buildPartial()

public InputConfig buildPartial()
Returns
Type Description
InputConfig

clear()

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

clearBigqueryInputConfigs()

public InputConfig.Builder clearBigqueryInputConfigs()

Set of input BigQuery tables.

repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1;

Returns
Type Description
InputConfig.Builder

clearEntityType()

public InputConfig.Builder clearEntityType()

Entity type

.google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType entity_type = 2;

Returns
Type Description
InputConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPreviousResultBigqueryTable()

public InputConfig.Builder clearPreviousResultBigqueryTable()

Optional. Provide the bigquery table containing the previous results if cluster ID stability is desired. Format is projects/*/datasets/*/tables/*.

string previous_result_bigquery_table = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
InputConfig.Builder

This builder for chaining.

clone()

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

getBigqueryInputConfigs(int index)

public BigQueryInputConfig getBigqueryInputConfigs(int index)

Set of input BigQuery tables.

repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
BigQueryInputConfig

getBigqueryInputConfigsBuilder(int index)

public BigQueryInputConfig.Builder getBigqueryInputConfigsBuilder(int index)

Set of input BigQuery tables.

repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
BigQueryInputConfig.Builder

getBigqueryInputConfigsBuilderList()

public List<BigQueryInputConfig.Builder> getBigqueryInputConfigsBuilderList()

Set of input BigQuery tables.

repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1;

Returns
Type Description
List<Builder>

getBigqueryInputConfigsCount()

public int getBigqueryInputConfigsCount()

Set of input BigQuery tables.

repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1;

Returns
Type Description
int

getBigqueryInputConfigsList()

public List<BigQueryInputConfig> getBigqueryInputConfigsList()

Set of input BigQuery tables.

repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1;

Returns
Type Description
List<BigQueryInputConfig>

getBigqueryInputConfigsOrBuilder(int index)

public BigQueryInputConfigOrBuilder getBigqueryInputConfigsOrBuilder(int index)

Set of input BigQuery tables.

repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
BigQueryInputConfigOrBuilder

getBigqueryInputConfigsOrBuilderList()

public List<? extends BigQueryInputConfigOrBuilder> getBigqueryInputConfigsOrBuilderList()

Set of input BigQuery tables.

repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1;

Returns
Type Description
List<? extends com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfigOrBuilder>

getDefaultInstanceForType()

public InputConfig getDefaultInstanceForType()
Returns
Type Description
InputConfig

getDescriptorForType()

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

getEntityType()

public InputConfig.EntityType getEntityType()

Entity type

.google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType entity_type = 2;

Returns
Type Description
InputConfig.EntityType

The entityType.

getEntityTypeValue()

public int getEntityTypeValue()

Entity type

.google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType entity_type = 2;

Returns
Type Description
int

The enum numeric value on the wire for entityType.

getPreviousResultBigqueryTable()

public String getPreviousResultBigqueryTable()

Optional. Provide the bigquery table containing the previous results if cluster ID stability is desired. Format is projects/*/datasets/*/tables/*.

string previous_result_bigquery_table = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The previousResultBigqueryTable.

getPreviousResultBigqueryTableBytes()

public ByteString getPreviousResultBigqueryTableBytes()

Optional. Provide the bigquery table containing the previous results if cluster ID stability is desired. Format is projects/*/datasets/*/tables/*.

string previous_result_bigquery_table = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for previousResultBigqueryTable.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InputConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeBigqueryInputConfigs(int index)

public InputConfig.Builder removeBigqueryInputConfigs(int index)

Set of input BigQuery tables.

repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
InputConfig.Builder

setBigqueryInputConfigs(int index, BigQueryInputConfig value)

public InputConfig.Builder setBigqueryInputConfigs(int index, BigQueryInputConfig value)

Set of input BigQuery tables.

repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1;

Parameters
Name Description
index int
value BigQueryInputConfig
Returns
Type Description
InputConfig.Builder

setBigqueryInputConfigs(int index, BigQueryInputConfig.Builder builderForValue)

public InputConfig.Builder setBigqueryInputConfigs(int index, BigQueryInputConfig.Builder builderForValue)

Set of input BigQuery tables.

repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1;

Parameters
Name Description
index int
builderForValue BigQueryInputConfig.Builder
Returns
Type Description
InputConfig.Builder

setEntityType(InputConfig.EntityType value)

public InputConfig.Builder setEntityType(InputConfig.EntityType value)

Entity type

.google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType entity_type = 2;

Parameter
Name Description
value InputConfig.EntityType

The entityType to set.

Returns
Type Description
InputConfig.Builder

This builder for chaining.

setEntityTypeValue(int value)

public InputConfig.Builder setEntityTypeValue(int value)

Entity type

.google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType entity_type = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for entityType to set.

Returns
Type Description
InputConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setPreviousResultBigqueryTable(String value)

public InputConfig.Builder setPreviousResultBigqueryTable(String value)

Optional. Provide the bigquery table containing the previous results if cluster ID stability is desired. Format is projects/*/datasets/*/tables/*.

string previous_result_bigquery_table = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The previousResultBigqueryTable to set.

Returns
Type Description
InputConfig.Builder

This builder for chaining.

setPreviousResultBigqueryTableBytes(ByteString value)

public InputConfig.Builder setPreviousResultBigqueryTableBytes(ByteString value)

Optional. Provide the bigquery table containing the previous results if cluster ID stability is desired. Format is projects/*/datasets/*/tables/*.

string previous_result_bigquery_table = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for previousResultBigqueryTable to set.

Returns
Type Description
InputConfig.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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