Class StoredProcedureConfig.Builder (0.80.0)

public static final class StoredProcedureConfig.Builder extends GeneratedMessage.Builder<StoredProcedureConfig.Builder> implements StoredProcedureConfigOrBuilder

Stored procedure configuration, used to configure stored procedure sharing on linked dataset.

Protobuf type google.cloud.bigquery.analyticshub.v1.StoredProcedureConfig

Static Methods

getDescriptor()

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

Methods

addAllAllowedStoredProcedureTypes(Iterable<? extends StoredProcedureConfig.StoredProcedureType> values)

public StoredProcedureConfig.Builder addAllAllowedStoredProcedureTypes(Iterable<? extends StoredProcedureConfig.StoredProcedureType> values)

Output only. Types of stored procedure supported to share.

repeated .google.cloud.bigquery.analyticshub.v1.StoredProcedureConfig.StoredProcedureType allowed_stored_procedure_types = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.bigquery.analyticshub.v1.StoredProcedureConfig.StoredProcedureType>

The allowedStoredProcedureTypes to add.

Returns
Type Description
StoredProcedureConfig.Builder

This builder for chaining.

addAllAllowedStoredProcedureTypesValue(Iterable<Integer> values)

public StoredProcedureConfig.Builder addAllAllowedStoredProcedureTypesValue(Iterable<Integer> values)

Output only. Types of stored procedure supported to share.

repeated .google.cloud.bigquery.analyticshub.v1.StoredProcedureConfig.StoredProcedureType allowed_stored_procedure_types = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<Integer>

The enum numeric values on the wire for allowedStoredProcedureTypes to add.

Returns
Type Description
StoredProcedureConfig.Builder

This builder for chaining.

addAllowedStoredProcedureTypes(StoredProcedureConfig.StoredProcedureType value)

public StoredProcedureConfig.Builder addAllowedStoredProcedureTypes(StoredProcedureConfig.StoredProcedureType value)

Output only. Types of stored procedure supported to share.

repeated .google.cloud.bigquery.analyticshub.v1.StoredProcedureConfig.StoredProcedureType allowed_stored_procedure_types = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value StoredProcedureConfig.StoredProcedureType

The allowedStoredProcedureTypes to add.

Returns
Type Description
StoredProcedureConfig.Builder

This builder for chaining.

addAllowedStoredProcedureTypesValue(int value)

public StoredProcedureConfig.Builder addAllowedStoredProcedureTypesValue(int value)

Output only. Types of stored procedure supported to share.

repeated .google.cloud.bigquery.analyticshub.v1.StoredProcedureConfig.StoredProcedureType allowed_stored_procedure_types = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for allowedStoredProcedureTypes to add.

Returns
Type Description
StoredProcedureConfig.Builder

This builder for chaining.

build()

public StoredProcedureConfig build()
Returns
Type Description
StoredProcedureConfig

buildPartial()

public StoredProcedureConfig buildPartial()
Returns
Type Description
StoredProcedureConfig

clear()

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

clearAllowedStoredProcedureTypes()

public StoredProcedureConfig.Builder clearAllowedStoredProcedureTypes()

Output only. Types of stored procedure supported to share.

repeated .google.cloud.bigquery.analyticshub.v1.StoredProcedureConfig.StoredProcedureType allowed_stored_procedure_types = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
StoredProcedureConfig.Builder

This builder for chaining.

clearEnabled()

public StoredProcedureConfig.Builder clearEnabled()

Optional. If true, enable sharing of stored procedure.

bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StoredProcedureConfig.Builder

This builder for chaining.

getAllowedStoredProcedureTypes(int index)

public StoredProcedureConfig.StoredProcedureType getAllowedStoredProcedureTypes(int index)

Output only. Types of stored procedure supported to share.

repeated .google.cloud.bigquery.analyticshub.v1.StoredProcedureConfig.StoredProcedureType allowed_stored_procedure_types = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
StoredProcedureConfig.StoredProcedureType

The allowedStoredProcedureTypes at the given index.

getAllowedStoredProcedureTypesCount()

public int getAllowedStoredProcedureTypesCount()

Output only. Types of stored procedure supported to share.

repeated .google.cloud.bigquery.analyticshub.v1.StoredProcedureConfig.StoredProcedureType allowed_stored_procedure_types = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of allowedStoredProcedureTypes.

getAllowedStoredProcedureTypesList()

public List<StoredProcedureConfig.StoredProcedureType> getAllowedStoredProcedureTypesList()

Output only. Types of stored procedure supported to share.

repeated .google.cloud.bigquery.analyticshub.v1.StoredProcedureConfig.StoredProcedureType allowed_stored_procedure_types = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<StoredProcedureType>

A list containing the allowedStoredProcedureTypes.

getAllowedStoredProcedureTypesValue(int index)

public int getAllowedStoredProcedureTypesValue(int index)

Output only. Types of stored procedure supported to share.

repeated .google.cloud.bigquery.analyticshub.v1.StoredProcedureConfig.StoredProcedureType allowed_stored_procedure_types = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of allowedStoredProcedureTypes at the given index.

getAllowedStoredProcedureTypesValueList()

public List<Integer> getAllowedStoredProcedureTypesValueList()

Output only. Types of stored procedure supported to share.

repeated .google.cloud.bigquery.analyticshub.v1.StoredProcedureConfig.StoredProcedureType allowed_stored_procedure_types = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for allowedStoredProcedureTypes.

getDefaultInstanceForType()

public StoredProcedureConfig getDefaultInstanceForType()
Returns
Type Description
StoredProcedureConfig

getDescriptorForType()

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

getEnabled()

public boolean getEnabled()

Optional. If true, enable sharing of stored procedure.

bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enabled.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StoredProcedureConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setAllowedStoredProcedureTypes(int index, StoredProcedureConfig.StoredProcedureType value)

public StoredProcedureConfig.Builder setAllowedStoredProcedureTypes(int index, StoredProcedureConfig.StoredProcedureType value)

Output only. Types of stored procedure supported to share.

repeated .google.cloud.bigquery.analyticshub.v1.StoredProcedureConfig.StoredProcedureType allowed_stored_procedure_types = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int

The index to set the value at.

value StoredProcedureConfig.StoredProcedureType

The allowedStoredProcedureTypes to set.

Returns
Type Description
StoredProcedureConfig.Builder

This builder for chaining.

setAllowedStoredProcedureTypesValue(int index, int value)

public StoredProcedureConfig.Builder setAllowedStoredProcedureTypesValue(int index, int value)

Output only. Types of stored procedure supported to share.

repeated .google.cloud.bigquery.analyticshub.v1.StoredProcedureConfig.StoredProcedureType allowed_stored_procedure_types = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int

The index to set the value at.

value int

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

Returns
Type Description
StoredProcedureConfig.Builder

This builder for chaining.

setEnabled(boolean value)

public StoredProcedureConfig.Builder setEnabled(boolean value)

Optional. If true, enable sharing of stored procedure.

bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
StoredProcedureConfig.Builder

This builder for chaining.