Class InputConfig.Builder (0.5.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig>
Returns
TypeDescription
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
NameDescription
valueBigQueryInputConfig
Returns
TypeDescription
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
NameDescription
builderForValueBigQueryInputConfig.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueBigQueryInputConfig
Returns
TypeDescription
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
NameDescription
indexint
builderForValueBigQueryInputConfig.Builder
Returns
TypeDescription
InputConfig.Builder

addBigqueryInputConfigsBuilder()

public BigQueryInputConfig.Builder addBigqueryInputConfigsBuilder()

Set of input BigQuery tables.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InputConfig build()
Returns
TypeDescription
InputConfig

buildPartial()

public InputConfig buildPartial()
Returns
TypeDescription
InputConfig

clear()

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

clearBigqueryInputConfigs()

public InputConfig.Builder clearBigqueryInputConfigs()

Set of input BigQuery tables.

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

Returns
TypeDescription
InputConfig.Builder

clearEntityType()

public InputConfig.Builder clearEntityType()

Entity type

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

Returns
TypeDescription
InputConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getBigqueryInputConfigsBuilderList()

public List<BigQueryInputConfig.Builder> getBigqueryInputConfigsBuilderList()

Set of input BigQuery tables.

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

Returns
TypeDescription
List<Builder>

getBigqueryInputConfigsCount()

public int getBigqueryInputConfigsCount()

Set of input BigQuery tables.

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

Returns
TypeDescription
int

getBigqueryInputConfigsList()

public List<BigQueryInputConfig> getBigqueryInputConfigsList()

Set of input BigQuery tables.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
BigQueryInputConfigOrBuilder

getBigqueryInputConfigsOrBuilderList()

public List<? extends BigQueryInputConfigOrBuilder> getBigqueryInputConfigsOrBuilderList()

Set of input BigQuery tables.

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

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

getDefaultInstanceForType()

public InputConfig getDefaultInstanceForType()
Returns
TypeDescription
InputConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEntityType()

public InputConfig.EntityType getEntityType()

Entity type

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

Returns
TypeDescription
InputConfig.EntityType

The entityType.

getEntityTypeValue()

public int getEntityTypeValue()

Entity type

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for previousResultBigqueryTable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InputConfig other)

public InputConfig.Builder mergeFrom(InputConfig other)
Parameter
NameDescription
otherInputConfig
Returns
TypeDescription
InputConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InputConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueBigQueryInputConfig
Returns
TypeDescription
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
NameDescription
indexint
builderForValueBigQueryInputConfig.Builder
Returns
TypeDescription
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
NameDescription
valueInputConfig.EntityType

The entityType to set.

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

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

Returns
TypeDescription
InputConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The previousResultBigqueryTable to set.

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

The bytes for previousResultBigqueryTable to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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