public final class RoutineSpec extends com.google.protobuf.GeneratedMessageV3 implements RoutineSpecOrBuilder
Specification that applies to a routine. Valid only for entries with the `ROUTINE` type.Protobuf type
google.cloud.datacatalog.v1.RoutineSpec| Modifier and Type | Class and Description |
|---|---|
static class |
RoutineSpec.Argument
Input or output argument of a function or stored procedure.
|
static interface |
RoutineSpec.ArgumentOrBuilder |
static class |
RoutineSpec.Builder
Specification that applies to a routine.
|
static class |
RoutineSpec.RoutineType
The fine-grained type of the routine.
|
static class |
RoutineSpec.SystemSpecCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
BIGQUERY_ROUTINE_SPEC_FIELD_NUMBER |
static int |
DEFINITION_BODY_FIELD_NUMBER |
static int |
LANGUAGE_FIELD_NUMBER |
static int |
RETURN_TYPE_FIELD_NUMBER |
static int |
ROUTINE_ARGUMENTS_FIELD_NUMBER |
static int |
ROUTINE_TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
BigQueryRoutineSpec |
getBigqueryRoutineSpec()
Fields specific for BigQuery routines.
|
BigQueryRoutineSpecOrBuilder |
getBigqueryRoutineSpecOrBuilder()
Fields specific for BigQuery routines.
|
static RoutineSpec |
getDefaultInstance() |
RoutineSpec |
getDefaultInstanceForType() |
String |
getDefinitionBody()
The body of the routine.
|
com.google.protobuf.ByteString |
getDefinitionBodyBytes()
The body of the routine.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getLanguage()
The language the routine is written in.
|
com.google.protobuf.ByteString |
getLanguageBytes()
The language the routine is written in.
|
com.google.protobuf.Parser<RoutineSpec> |
getParserForType() |
String |
getReturnType()
Return type of the argument.
|
com.google.protobuf.ByteString |
getReturnTypeBytes()
Return type of the argument.
|
RoutineSpec.Argument |
getRoutineArguments(int index)
Arguments of the routine.
|
int |
getRoutineArgumentsCount()
Arguments of the routine.
|
List<RoutineSpec.Argument> |
getRoutineArgumentsList()
Arguments of the routine.
|
RoutineSpec.ArgumentOrBuilder |
getRoutineArgumentsOrBuilder(int index)
Arguments of the routine.
|
List<? extends RoutineSpec.ArgumentOrBuilder> |
getRoutineArgumentsOrBuilderList()
Arguments of the routine.
|
RoutineSpec.RoutineType |
getRoutineType()
The type of the routine.
|
int |
getRoutineTypeValue()
The type of the routine.
|
int |
getSerializedSize() |
RoutineSpec.SystemSpecCase |
getSystemSpecCase() |
boolean |
hasBigqueryRoutineSpec()
Fields specific for BigQuery routines.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RoutineSpec.Builder |
newBuilder() |
static RoutineSpec.Builder |
newBuilder(RoutineSpec prototype) |
RoutineSpec.Builder |
newBuilderForType() |
protected RoutineSpec.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static RoutineSpec |
parseDelimitedFrom(InputStream input) |
static RoutineSpec |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RoutineSpec |
parseFrom(byte[] data) |
static RoutineSpec |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RoutineSpec |
parseFrom(ByteBuffer data) |
static RoutineSpec |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RoutineSpec |
parseFrom(com.google.protobuf.ByteString data) |
static RoutineSpec |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RoutineSpec |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RoutineSpec |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RoutineSpec |
parseFrom(InputStream input) |
static RoutineSpec |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RoutineSpec> |
parser() |
RoutineSpec.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ROUTINE_TYPE_FIELD_NUMBER
public static final int LANGUAGE_FIELD_NUMBER
public static final int ROUTINE_ARGUMENTS_FIELD_NUMBER
public static final int RETURN_TYPE_FIELD_NUMBER
public static final int DEFINITION_BODY_FIELD_NUMBER
public static final int BIGQUERY_ROUTINE_SPEC_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public RoutineSpec.SystemSpecCase getSystemSpecCase()
getSystemSpecCase in interface RoutineSpecOrBuilderpublic int getRoutineTypeValue()
The type of the routine.
.google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1;getRoutineTypeValue in interface RoutineSpecOrBuilderpublic RoutineSpec.RoutineType getRoutineType()
The type of the routine.
.google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1;getRoutineType in interface RoutineSpecOrBuilderpublic String getLanguage()
The language the routine is written in. The exact value depends on the source system. For BigQuery routines, possible values are: * `SQL` * `JAVASCRIPT`
string language = 2;getLanguage in interface RoutineSpecOrBuilderpublic com.google.protobuf.ByteString getLanguageBytes()
The language the routine is written in. The exact value depends on the source system. For BigQuery routines, possible values are: * `SQL` * `JAVASCRIPT`
string language = 2;getLanguageBytes in interface RoutineSpecOrBuilderpublic List<RoutineSpec.Argument> getRoutineArgumentsList()
Arguments of the routine.
repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;getRoutineArgumentsList in interface RoutineSpecOrBuilderpublic List<? extends RoutineSpec.ArgumentOrBuilder> getRoutineArgumentsOrBuilderList()
Arguments of the routine.
repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;getRoutineArgumentsOrBuilderList in interface RoutineSpecOrBuilderpublic int getRoutineArgumentsCount()
Arguments of the routine.
repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;getRoutineArgumentsCount in interface RoutineSpecOrBuilderpublic RoutineSpec.Argument getRoutineArguments(int index)
Arguments of the routine.
repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;getRoutineArguments in interface RoutineSpecOrBuilderpublic RoutineSpec.ArgumentOrBuilder getRoutineArgumentsOrBuilder(int index)
Arguments of the routine.
repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;getRoutineArgumentsOrBuilder in interface RoutineSpecOrBuilderpublic String getReturnType()
Return type of the argument. The exact value depends on the source system and the language.
string return_type = 4;getReturnType in interface RoutineSpecOrBuilderpublic com.google.protobuf.ByteString getReturnTypeBytes()
Return type of the argument. The exact value depends on the source system and the language.
string return_type = 4;getReturnTypeBytes in interface RoutineSpecOrBuilderpublic String getDefinitionBody()
The body of the routine.
string definition_body = 5;getDefinitionBody in interface RoutineSpecOrBuilderpublic com.google.protobuf.ByteString getDefinitionBodyBytes()
The body of the routine.
string definition_body = 5;getDefinitionBodyBytes in interface RoutineSpecOrBuilderpublic boolean hasBigqueryRoutineSpec()
Fields specific for BigQuery routines.
.google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6;hasBigqueryRoutineSpec in interface RoutineSpecOrBuilderpublic BigQueryRoutineSpec getBigqueryRoutineSpec()
Fields specific for BigQuery routines.
.google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6;getBigqueryRoutineSpec in interface RoutineSpecOrBuilderpublic BigQueryRoutineSpecOrBuilder getBigqueryRoutineSpecOrBuilder()
Fields specific for BigQuery routines.
.google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6;getBigqueryRoutineSpecOrBuilder in interface RoutineSpecOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static RoutineSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RoutineSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RoutineSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RoutineSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RoutineSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RoutineSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RoutineSpec parseFrom(InputStream input) throws IOException
IOExceptionpublic static RoutineSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RoutineSpec parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RoutineSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RoutineSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RoutineSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RoutineSpec.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RoutineSpec.Builder newBuilder()
public static RoutineSpec.Builder newBuilder(RoutineSpec prototype)
public RoutineSpec.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RoutineSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RoutineSpec getDefaultInstance()
public static com.google.protobuf.Parser<RoutineSpec> parser()
public com.google.protobuf.Parser<RoutineSpec> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RoutineSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.