public static final class RoutineSpec.Builder extends GeneratedMessageV3.Builder<RoutineSpec.Builder> implements RoutineSpecOrBuilder
Specification that applies to a routine. Valid only for
entries with the `ROUTINE` type.
Protobuf type google.cloud.datacatalog.v1.RoutineSpec
Methods
addAllRoutineArguments(Iterable<? extends RoutineSpec.Argument> values)
public RoutineSpec.Builder addAllRoutineArguments(Iterable<? extends RoutineSpec.Argument> values)
Arguments of the routine.
repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.datacatalog.v1.RoutineSpec.Argument>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RoutineSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addRoutineArguments(RoutineSpec.Argument value)
public RoutineSpec.Builder addRoutineArguments(RoutineSpec.Argument value)
Arguments of the routine.
repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;
Parameter
Returns
addRoutineArguments(RoutineSpec.Argument.Builder builderForValue)
public RoutineSpec.Builder addRoutineArguments(RoutineSpec.Argument.Builder builderForValue)
Arguments of the routine.
repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;
Parameter
Returns
addRoutineArguments(int index, RoutineSpec.Argument value)
public RoutineSpec.Builder addRoutineArguments(int index, RoutineSpec.Argument value)
Arguments of the routine.
repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;
Parameters
Returns
addRoutineArguments(int index, RoutineSpec.Argument.Builder builderForValue)
public RoutineSpec.Builder addRoutineArguments(int index, RoutineSpec.Argument.Builder builderForValue)
Arguments of the routine.
repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;
Parameters
Returns
addRoutineArgumentsBuilder()
public RoutineSpec.Argument.Builder addRoutineArgumentsBuilder()
Arguments of the routine.
repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;
Returns
addRoutineArgumentsBuilder(int index)
public RoutineSpec.Argument.Builder addRoutineArgumentsBuilder(int index)
Arguments of the routine.
repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;
Parameter
Returns
build()
public RoutineSpec build()
Returns
buildPartial()
public RoutineSpec buildPartial()
Returns
clear()
public RoutineSpec.Builder clear()
Returns
Overrides
clearBigqueryRoutineSpec()
public RoutineSpec.Builder clearBigqueryRoutineSpec()
Fields specific for BigQuery routines.
.google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6;
Returns
clearDefinitionBody()
public RoutineSpec.Builder clearDefinitionBody()
The body of the routine.
string definition_body = 5;
Returns
clearField(Descriptors.FieldDescriptor field)
public RoutineSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearLanguage()
public RoutineSpec.Builder clearLanguage()
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;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public RoutineSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearReturnType()
public RoutineSpec.Builder clearReturnType()
Return type of the argument. The exact value depends on the source system
and the language.
string return_type = 4;
Returns
clearRoutineArguments()
public RoutineSpec.Builder clearRoutineArguments()
Arguments of the routine.
repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;
Returns
clearRoutineType()
public RoutineSpec.Builder clearRoutineType()
The type of the routine.
.google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1;
Returns
clearSystemSpec()
public RoutineSpec.Builder clearSystemSpec()
Returns
clone()
public RoutineSpec.Builder clone()
Returns
Overrides
getBigqueryRoutineSpec()
public BigQueryRoutineSpec getBigqueryRoutineSpec()
Fields specific for BigQuery routines.
.google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6;
Returns
getBigqueryRoutineSpecBuilder()
public BigQueryRoutineSpec.Builder getBigqueryRoutineSpecBuilder()
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
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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:
* `SQL`
* `JAVASCRIPT`
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:
* `SQL`
* `JAVASCRIPT`
string language = 2;
Returns
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
getRoutineArgumentsBuilder(int index)
public RoutineSpec.Argument.Builder getRoutineArgumentsBuilder(int index)
Arguments of the routine.
repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;
Parameter
Returns
getRoutineArgumentsBuilderList()
public List<RoutineSpec.Argument.Builder> getRoutineArgumentsBuilderList()
Arguments of the routine.
repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;
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.
|
getSystemSpecCase()
public RoutineSpec.SystemSpecCase getSystemSpecCase()
Returns
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeBigqueryRoutineSpec(BigQueryRoutineSpec value)
public RoutineSpec.Builder mergeBigqueryRoutineSpec(BigQueryRoutineSpec value)
Fields specific for BigQuery routines.
.google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6;
Parameter
Returns
mergeFrom(RoutineSpec other)
public RoutineSpec.Builder mergeFrom(RoutineSpec other)
Parameter
Returns
public RoutineSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RoutineSpec.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RoutineSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeRoutineArguments(int index)
public RoutineSpec.Builder removeRoutineArguments(int index)
Arguments of the routine.
repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;
Parameter
Returns
setBigqueryRoutineSpec(BigQueryRoutineSpec value)
public RoutineSpec.Builder setBigqueryRoutineSpec(BigQueryRoutineSpec value)
Fields specific for BigQuery routines.
.google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6;
Parameter
Returns
setBigqueryRoutineSpec(BigQueryRoutineSpec.Builder builderForValue)
public RoutineSpec.Builder setBigqueryRoutineSpec(BigQueryRoutineSpec.Builder builderForValue)
Fields specific for BigQuery routines.
.google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6;
Parameter
Returns
setDefinitionBody(String value)
public RoutineSpec.Builder setDefinitionBody(String value)
The body of the routine.
string definition_body = 5;
Parameter
Name | Description |
value | String
The definitionBody to set.
|
Returns
setDefinitionBodyBytes(ByteString value)
public RoutineSpec.Builder setDefinitionBodyBytes(ByteString value)
The body of the routine.
string definition_body = 5;
Parameter
Name | Description |
value | ByteString
The bytes for definitionBody to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public RoutineSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setLanguage(String value)
public RoutineSpec.Builder setLanguage(String value)
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;
Parameter
Name | Description |
value | String
The language to set.
|
Returns
setLanguageBytes(ByteString value)
public RoutineSpec.Builder setLanguageBytes(ByteString value)
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;
Parameter
Name | Description |
value | ByteString
The bytes for language to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RoutineSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setReturnType(String value)
public RoutineSpec.Builder setReturnType(String value)
Return type of the argument. The exact value depends on the source system
and the language.
string return_type = 4;
Parameter
Name | Description |
value | String
The returnType to set.
|
Returns
setReturnTypeBytes(ByteString value)
public RoutineSpec.Builder setReturnTypeBytes(ByteString value)
Return type of the argument. The exact value depends on the source system
and the language.
string return_type = 4;
Parameter
Name | Description |
value | ByteString
The bytes for returnType to set.
|
Returns
setRoutineArguments(int index, RoutineSpec.Argument value)
public RoutineSpec.Builder setRoutineArguments(int index, RoutineSpec.Argument value)
Arguments of the routine.
repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;
Parameters
Returns
setRoutineArguments(int index, RoutineSpec.Argument.Builder builderForValue)
public RoutineSpec.Builder setRoutineArguments(int index, RoutineSpec.Argument.Builder builderForValue)
Arguments of the routine.
repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;
Parameters
Returns
setRoutineType(RoutineSpec.RoutineType value)
public RoutineSpec.Builder setRoutineType(RoutineSpec.RoutineType value)
The type of the routine.
.google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1;
Parameter
Returns
setRoutineTypeValue(int value)
public RoutineSpec.Builder setRoutineTypeValue(int value)
The type of the routine.
.google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for routineType to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final RoutineSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides