public final class RoutineSpec extends GeneratedMessageV3 implements RoutineSpecOrBuilder
Specification that applies to a routine. Valid only for
entries with the ROUTINE
type.
Protobuf type google.cloud.datacatalog.v1.RoutineSpec
Fields
BIGQUERY_ROUTINE_SPEC_FIELD_NUMBER
public static final int BIGQUERY_ROUTINE_SPEC_FIELD_NUMBER
Field Value
DEFINITION_BODY_FIELD_NUMBER
public static final int DEFINITION_BODY_FIELD_NUMBER
Field Value
LANGUAGE_FIELD_NUMBER
public static final int LANGUAGE_FIELD_NUMBER
Field Value
RETURN_TYPE_FIELD_NUMBER
public static final int RETURN_TYPE_FIELD_NUMBER
Field Value
ROUTINE_ARGUMENTS_FIELD_NUMBER
public static final int ROUTINE_ARGUMENTS_FIELD_NUMBER
Field Value
ROUTINE_TYPE_FIELD_NUMBER
public static final int ROUTINE_TYPE_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getBigqueryRoutineSpec()
public BigQueryRoutineSpec getBigqueryRoutineSpec()
Fields specific for BigQuery routines.
.google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6;
Returns
getBigqueryRoutineSpecOrBuilder()
public BigQueryRoutineSpecOrBuilder getBigqueryRoutineSpecOrBuilder()
Fields specific for BigQuery routines.
.google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6;
Returns
getDefaultInstance()
public static RoutineSpec getDefaultInstance()
Returns
getDefaultInstanceForType()
public RoutineSpec getDefaultInstanceForType()
Returns
getDefinitionBody()
public String getDefinitionBody()
The body of the routine.
string definition_body = 5;
Returns
Type | Description |
String | The definitionBody.
|
getDefinitionBodyBytes()
public ByteString getDefinitionBodyBytes()
The body of the routine.
string definition_body = 5;
Returns
Type | Description |
ByteString | The bytes for definitionBody.
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getLanguage()
public String getLanguage()
The language the routine is written in. The exact value depends on the
source system. For BigQuery routines, possible values are:
string language = 2;
Returns
Type | Description |
String | The language.
|
getLanguageBytes()
public ByteString getLanguageBytes()
The language the routine is written in. The exact value depends on the
source system. For BigQuery routines, possible values are:
string language = 2;
Returns
getParserForType()
public Parser<RoutineSpec> getParserForType()
Returns
Overrides
getReturnType()
public String getReturnType()
Return type of the argument. The exact value depends on the source system
and the language.
string return_type = 4;
Returns
Type | Description |
String | The returnType.
|
getReturnTypeBytes()
public ByteString getReturnTypeBytes()
Return type of the argument. The exact value depends on the source system
and the language.
string return_type = 4;
Returns
Type | Description |
ByteString | The bytes for returnType.
|
getRoutineArguments(int index)
public RoutineSpec.Argument getRoutineArguments(int index)
Arguments of the routine.
repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;
Parameter
Returns
getRoutineArgumentsCount()
public int getRoutineArgumentsCount()
Arguments of the routine.
repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;
Returns
getRoutineArgumentsList()
public List<RoutineSpec.Argument> getRoutineArgumentsList()
Arguments of the routine.
repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;
Returns
getRoutineArgumentsOrBuilder(int index)
public RoutineSpec.ArgumentOrBuilder getRoutineArgumentsOrBuilder(int index)
Arguments of the routine.
repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;
Parameter
Returns
getRoutineArgumentsOrBuilderList()
public List<? extends RoutineSpec.ArgumentOrBuilder> getRoutineArgumentsOrBuilderList()
Arguments of the routine.
repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;
Returns
Type | Description |
List<? extends com.google.cloud.datacatalog.v1.RoutineSpec.ArgumentOrBuilder> | |
getRoutineType()
public RoutineSpec.RoutineType getRoutineType()
The type of the routine.
.google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1;
Returns
getRoutineTypeValue()
public int getRoutineTypeValue()
The type of the routine.
.google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for routineType.
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSystemSpecCase()
public RoutineSpec.SystemSpecCase getSystemSpecCase()
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasBigqueryRoutineSpec()
public boolean hasBigqueryRoutineSpec()
Fields specific for BigQuery routines.
.google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6;
Returns
Type | Description |
boolean | Whether the bigqueryRoutineSpec field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static RoutineSpec.Builder newBuilder()
Returns
newBuilder(RoutineSpec prototype)
public static RoutineSpec.Builder newBuilder(RoutineSpec prototype)
Parameter
Returns
newBuilderForType()
public RoutineSpec.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RoutineSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static RoutineSpec parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static RoutineSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static RoutineSpec parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RoutineSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static RoutineSpec parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RoutineSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RoutineSpec parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static RoutineSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RoutineSpec parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static RoutineSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static RoutineSpec parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RoutineSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<RoutineSpec> parser()
Returns
toBuilder()
public RoutineSpec.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions