Class DatasourceOptions.Builder (0.9.0)

public static final class DatasourceOptions.Builder extends GeneratedMessageV3.Builder<DatasourceOptions.Builder> implements DatasourceOptionsOrBuilder

Options for datasources configurations.

Protobuf type google.cloud.geminidataanalytics.v1beta.DatasourceOptions

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DatasourceOptions build()
Returns
Type Description
DatasourceOptions

buildPartial()

public DatasourceOptions buildPartial()
Returns
Type Description
DatasourceOptions

clear()

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

clearBigQueryMaxBilledBytes()

public DatasourceOptions.Builder clearBigQueryMaxBilledBytes()

Optional. This option applies to datasources that require BigQuery queries only. Limits the bytes billed for each BQ query job. Queries that will have bytes billed beyond this limit will fail (without incurring a charge). If unspecified, no limit will be applied.

.google.protobuf.Int64Value big_query_max_billed_bytes = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DatasourceOptions.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getBigQueryMaxBilledBytes()

public Int64Value getBigQueryMaxBilledBytes()

Optional. This option applies to datasources that require BigQuery queries only. Limits the bytes billed for each BQ query job. Queries that will have bytes billed beyond this limit will fail (without incurring a charge). If unspecified, no limit will be applied.

.google.protobuf.Int64Value big_query_max_billed_bytes = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Int64Value

The bigQueryMaxBilledBytes.

getBigQueryMaxBilledBytesBuilder()

public Int64Value.Builder getBigQueryMaxBilledBytesBuilder()

Optional. This option applies to datasources that require BigQuery queries only. Limits the bytes billed for each BQ query job. Queries that will have bytes billed beyond this limit will fail (without incurring a charge). If unspecified, no limit will be applied.

.google.protobuf.Int64Value big_query_max_billed_bytes = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getBigQueryMaxBilledBytesOrBuilder()

public Int64ValueOrBuilder getBigQueryMaxBilledBytesOrBuilder()

Optional. This option applies to datasources that require BigQuery queries only. Limits the bytes billed for each BQ query job. Queries that will have bytes billed beyond this limit will fail (without incurring a charge). If unspecified, no limit will be applied.

.google.protobuf.Int64Value big_query_max_billed_bytes = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Int64ValueOrBuilder

getDefaultInstanceForType()

public DatasourceOptions getDefaultInstanceForType()
Returns
Type Description
DatasourceOptions

getDescriptorForType()

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

hasBigQueryMaxBilledBytes()

public boolean hasBigQueryMaxBilledBytes()

Optional. This option applies to datasources that require BigQuery queries only. Limits the bytes billed for each BQ query job. Queries that will have bytes billed beyond this limit will fail (without incurring a charge). If unspecified, no limit will be applied.

.google.protobuf.Int64Value big_query_max_billed_bytes = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the bigQueryMaxBilledBytes field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBigQueryMaxBilledBytes(Int64Value value)

public DatasourceOptions.Builder mergeBigQueryMaxBilledBytes(Int64Value value)

Optional. This option applies to datasources that require BigQuery queries only. Limits the bytes billed for each BQ query job. Queries that will have bytes billed beyond this limit will fail (without incurring a charge). If unspecified, no limit will be applied.

.google.protobuf.Int64Value big_query_max_billed_bytes = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Int64Value
Returns
Type Description
DatasourceOptions.Builder

mergeFrom(DatasourceOptions other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBigQueryMaxBilledBytes(Int64Value value)

public DatasourceOptions.Builder setBigQueryMaxBilledBytes(Int64Value value)

Optional. This option applies to datasources that require BigQuery queries only. Limits the bytes billed for each BQ query job. Queries that will have bytes billed beyond this limit will fail (without incurring a charge). If unspecified, no limit will be applied.

.google.protobuf.Int64Value big_query_max_billed_bytes = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Int64Value
Returns
Type Description
DatasourceOptions.Builder

setBigQueryMaxBilledBytes(Int64Value.Builder builderForValue)

public DatasourceOptions.Builder setBigQueryMaxBilledBytes(Int64Value.Builder builderForValue)

Optional. This option applies to datasources that require BigQuery queries only. Limits the bytes billed for each BQ query job. Queries that will have bytes billed beyond this limit will fail (without incurring a charge). If unspecified, no limit will be applied.

.google.protobuf.Int64Value big_query_max_billed_bytes = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
DatasourceOptions.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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