- 1.58.0 (latest)
- 1.57.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.5
- 1.8.4
- 1.7.2
- 1.6.2
- 1.5.4
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RoutineSpec.BuilderImplements
RoutineSpecOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
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;
Name | Description |
values | Iterable<? extends com.google.cloud.datacatalog.v1.RoutineSpec.Argument> |
Type | Description |
RoutineSpec.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RoutineSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
RoutineSpec.Builder |
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;
Name | Description |
value | RoutineSpec.Argument |
Type | Description |
RoutineSpec.Builder |
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;
Name | Description |
builderForValue | RoutineSpec.Argument.Builder |
Type | Description |
RoutineSpec.Builder |
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;
Name | Description |
index | int |
value | RoutineSpec.Argument |
Type | Description |
RoutineSpec.Builder |
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;
Name | Description |
index | int |
builderForValue | RoutineSpec.Argument.Builder |
Type | Description |
RoutineSpec.Builder |
addRoutineArgumentsBuilder()
public RoutineSpec.Argument.Builder addRoutineArgumentsBuilder()
Arguments of the routine.
repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;
Type | Description |
RoutineSpec.Argument.Builder |
addRoutineArgumentsBuilder(int index)
public RoutineSpec.Argument.Builder addRoutineArgumentsBuilder(int index)
Arguments of the routine.
repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;
Name | Description |
index | int |
Type | Description |
RoutineSpec.Argument.Builder |
build()
public RoutineSpec build()
Type | Description |
RoutineSpec |
buildPartial()
public RoutineSpec buildPartial()
Type | Description |
RoutineSpec |
clear()
public RoutineSpec.Builder clear()
Type | Description |
RoutineSpec.Builder |
clearBigqueryRoutineSpec()
public RoutineSpec.Builder clearBigqueryRoutineSpec()
Fields specific for BigQuery routines.
.google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6;
Type | Description |
RoutineSpec.Builder |
clearDefinitionBody()
public RoutineSpec.Builder clearDefinitionBody()
The body of the routine.
string definition_body = 5;
Type | Description |
RoutineSpec.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public RoutineSpec.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
RoutineSpec.Builder |
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;
Type | Description |
RoutineSpec.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public RoutineSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
RoutineSpec.Builder |
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;
Type | Description |
RoutineSpec.Builder | This builder for chaining. |
clearRoutineArguments()
public RoutineSpec.Builder clearRoutineArguments()
Arguments of the routine.
repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;
Type | Description |
RoutineSpec.Builder |
clearRoutineType()
public RoutineSpec.Builder clearRoutineType()
The type of the routine.
.google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1;
Type | Description |
RoutineSpec.Builder | This builder for chaining. |
clearSystemSpec()
public RoutineSpec.Builder clearSystemSpec()
Type | Description |
RoutineSpec.Builder |
clone()
public RoutineSpec.Builder clone()
Type | Description |
RoutineSpec.Builder |
getBigqueryRoutineSpec()
public BigQueryRoutineSpec getBigqueryRoutineSpec()
Fields specific for BigQuery routines.
.google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6;
Type | Description |
BigQueryRoutineSpec | The bigqueryRoutineSpec. |
getBigqueryRoutineSpecBuilder()
public BigQueryRoutineSpec.Builder getBigqueryRoutineSpecBuilder()
Fields specific for BigQuery routines.
.google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6;
Type | Description |
BigQueryRoutineSpec.Builder |
getBigqueryRoutineSpecOrBuilder()
public BigQueryRoutineSpecOrBuilder getBigqueryRoutineSpecOrBuilder()
Fields specific for BigQuery routines.
.google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6;
Type | Description |
BigQueryRoutineSpecOrBuilder |
getDefaultInstanceForType()
public RoutineSpec getDefaultInstanceForType()
Type | Description |
RoutineSpec |
getDefinitionBody()
public String getDefinitionBody()
The body of the routine.
string definition_body = 5;
Type | Description |
String | The definitionBody. |
getDefinitionBodyBytes()
public ByteString getDefinitionBodyBytes()
The body of the routine.
string definition_body = 5;
Type | Description |
ByteString | The bytes for definitionBody. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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;
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;
Type | Description |
ByteString | The bytes for language. |
getReturnType()
public String getReturnType()
Return type of the argument. The exact value depends on the source system and the language.
string return_type = 4;
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;
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;
Name | Description |
index | int |
Type | Description |
RoutineSpec.Argument |
getRoutineArgumentsBuilder(int index)
public RoutineSpec.Argument.Builder getRoutineArgumentsBuilder(int index)
Arguments of the routine.
repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;
Name | Description |
index | int |
Type | Description |
RoutineSpec.Argument.Builder |
getRoutineArgumentsBuilderList()
public List<RoutineSpec.Argument.Builder> getRoutineArgumentsBuilderList()
Arguments of the routine.
repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;
Type | Description |
List<Builder> |
getRoutineArgumentsCount()
public int getRoutineArgumentsCount()
Arguments of the routine.
repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;
Type | Description |
int |
getRoutineArgumentsList()
public List<RoutineSpec.Argument> getRoutineArgumentsList()
Arguments of the routine.
repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;
Type | Description |
List<Argument> |
getRoutineArgumentsOrBuilder(int index)
public RoutineSpec.ArgumentOrBuilder getRoutineArgumentsOrBuilder(int index)
Arguments of the routine.
repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;
Name | Description |
index | int |
Type | Description |
RoutineSpec.ArgumentOrBuilder |
getRoutineArgumentsOrBuilderList()
public List<? extends RoutineSpec.ArgumentOrBuilder> getRoutineArgumentsOrBuilderList()
Arguments of the routine.
repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;
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;
Type | Description |
RoutineSpec.RoutineType | The routineType. |
getRoutineTypeValue()
public int getRoutineTypeValue()
The type of the routine.
.google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1;
Type | Description |
int | The enum numeric value on the wire for routineType. |
getSystemSpecCase()
public RoutineSpec.SystemSpecCase getSystemSpecCase()
Type | Description |
RoutineSpec.SystemSpecCase |
hasBigqueryRoutineSpec()
public boolean hasBigqueryRoutineSpec()
Fields specific for BigQuery routines.
.google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6;
Type | Description |
boolean | Whether the bigqueryRoutineSpec field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeBigqueryRoutineSpec(BigQueryRoutineSpec value)
public RoutineSpec.Builder mergeBigqueryRoutineSpec(BigQueryRoutineSpec value)
Fields specific for BigQuery routines.
.google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6;
Name | Description |
value | BigQueryRoutineSpec |
Type | Description |
RoutineSpec.Builder |
mergeFrom(RoutineSpec other)
public RoutineSpec.Builder mergeFrom(RoutineSpec other)
Name | Description |
other | RoutineSpec |
Type | Description |
RoutineSpec.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RoutineSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RoutineSpec.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public RoutineSpec.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
RoutineSpec.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RoutineSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
RoutineSpec.Builder |
removeRoutineArguments(int index)
public RoutineSpec.Builder removeRoutineArguments(int index)
Arguments of the routine.
repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;
Name | Description |
index | int |
Type | Description |
RoutineSpec.Builder |
setBigqueryRoutineSpec(BigQueryRoutineSpec value)
public RoutineSpec.Builder setBigqueryRoutineSpec(BigQueryRoutineSpec value)
Fields specific for BigQuery routines.
.google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6;
Name | Description |
value | BigQueryRoutineSpec |
Type | Description |
RoutineSpec.Builder |
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;
Name | Description |
builderForValue | BigQueryRoutineSpec.Builder |
Type | Description |
RoutineSpec.Builder |
setDefinitionBody(String value)
public RoutineSpec.Builder setDefinitionBody(String value)
The body of the routine.
string definition_body = 5;
Name | Description |
value | String The definitionBody to set. |
Type | Description |
RoutineSpec.Builder | This builder for chaining. |
setDefinitionBodyBytes(ByteString value)
public RoutineSpec.Builder setDefinitionBodyBytes(ByteString value)
The body of the routine.
string definition_body = 5;
Name | Description |
value | ByteString The bytes for definitionBody to set. |
Type | Description |
RoutineSpec.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public RoutineSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
RoutineSpec.Builder |
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;
Name | Description |
value | String The language to set. |
Type | Description |
RoutineSpec.Builder | This builder for chaining. |
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;
Name | Description |
value | ByteString The bytes for language to set. |
Type | Description |
RoutineSpec.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RoutineSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
RoutineSpec.Builder |
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;
Name | Description |
value | String The returnType to set. |
Type | Description |
RoutineSpec.Builder | This builder for chaining. |
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;
Name | Description |
value | ByteString The bytes for returnType to set. |
Type | Description |
RoutineSpec.Builder | This builder for chaining. |
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;
Name | Description |
index | int |
value | RoutineSpec.Argument |
Type | Description |
RoutineSpec.Builder |
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;
Name | Description |
index | int |
builderForValue | RoutineSpec.Argument.Builder |
Type | Description |
RoutineSpec.Builder |
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;
Name | Description |
value | RoutineSpec.RoutineType The routineType to set. |
Type | Description |
RoutineSpec.Builder | This builder for chaining. |
setRoutineTypeValue(int value)
public RoutineSpec.Builder setRoutineTypeValue(int value)
The type of the routine.
.google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1;
Name | Description |
value | int The enum numeric value on the wire for routineType to set. |
Type | Description |
RoutineSpec.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final RoutineSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
RoutineSpec.Builder |