Class StoredProcedureConfig (0.77.0)

public final class StoredProcedureConfig extends GeneratedMessageV3 implements StoredProcedureConfigOrBuilder

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

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

Static Fields

ALLOWED_STORED_PROCEDURE_TYPES_FIELD_NUMBER

public static final int ALLOWED_STORED_PROCEDURE_TYPES_FIELD_NUMBER
Field Value
Type Description
int

ENABLED_FIELD_NUMBER

public static final int ENABLED_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static StoredProcedureConfig getDefaultInstance()
Returns
Type Description
StoredProcedureConfig

getDescriptor()

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

newBuilder()

public static StoredProcedureConfig.Builder newBuilder()
Returns
Type Description
StoredProcedureConfig.Builder

newBuilder(StoredProcedureConfig prototype)

public static StoredProcedureConfig.Builder newBuilder(StoredProcedureConfig prototype)
Parameter
Name Description
prototype StoredProcedureConfig
Returns
Type Description
StoredProcedureConfig.Builder

parseDelimitedFrom(InputStream input)

public static StoredProcedureConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StoredProcedureConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StoredProcedureConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StoredProcedureConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static StoredProcedureConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
StoredProcedureConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StoredProcedureConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StoredProcedureConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StoredProcedureConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
StoredProcedureConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StoredProcedureConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StoredProcedureConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StoredProcedureConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
StoredProcedureConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StoredProcedureConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StoredProcedureConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static StoredProcedureConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StoredProcedureConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StoredProcedureConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StoredProcedureConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static StoredProcedureConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
StoredProcedureConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StoredProcedureConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StoredProcedureConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<StoredProcedureConfig> parser()
Returns
Type Description
Parser<StoredProcedureConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

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.

getParserForType()

public Parser<StoredProcedureConfig> getParserForType()
Returns
Type Description
Parser<StoredProcedureConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public StoredProcedureConfig.Builder newBuilderForType()
Returns
Type Description
StoredProcedureConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StoredProcedureConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
StoredProcedureConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public StoredProcedureConfig.Builder toBuilder()
Returns
Type Description
StoredProcedureConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException