- 1.61.0 (latest)
- 1.60.0
- 1.59.0
- 1.58.0
- 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()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.datacatalog.v1.RoutineSpec.Argument> |
Returns | |
---|---|
Type | Description |
RoutineSpec.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RoutineSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | RoutineSpec.Argument |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | RoutineSpec.Argument.Builder |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | RoutineSpec.Argument |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | RoutineSpec.Argument.Builder |
Returns | |
---|---|
Type | Description |
RoutineSpec.Builder |
addRoutineArgumentsBuilder()
public RoutineSpec.Argument.Builder addRoutineArgumentsBuilder()
Arguments of the routine.
repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
RoutineSpec.Argument.Builder |
build()
public RoutineSpec build()
Returns | |
---|---|
Type | Description |
RoutineSpec |
buildPartial()
public RoutineSpec buildPartial()
Returns | |
---|---|
Type | Description |
RoutineSpec |
clear()
public RoutineSpec.Builder clear()
Returns | |
---|---|
Type | Description |
RoutineSpec.Builder |
clearBigqueryRoutineSpec()
public RoutineSpec.Builder clearBigqueryRoutineSpec()
Fields specific for BigQuery routines.
.google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6;
Returns | |
---|---|
Type | Description |
RoutineSpec.Builder |
clearDefinitionBody()
public RoutineSpec.Builder clearDefinitionBody()
The body of the routine.
string definition_body = 5;
Returns | |
---|---|
Type | Description |
RoutineSpec.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public RoutineSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
RoutineSpec.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public RoutineSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
RoutineSpec.Builder |
clearRoutineType()
public RoutineSpec.Builder clearRoutineType()
The type of the routine.
.google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1;
Returns | |
---|---|
Type | Description |
RoutineSpec.Builder | This builder for chaining. |
clearSystemSpec()
public RoutineSpec.Builder clearSystemSpec()
Returns | |
---|---|
Type | Description |
RoutineSpec.Builder |
clone()
public RoutineSpec.Builder clone()
Returns | |
---|---|
Type | Description |
RoutineSpec.Builder |
getBigqueryRoutineSpec()
public BigQueryRoutineSpec getBigqueryRoutineSpec()
Fields specific for BigQuery routines.
.google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6;
Returns | |
---|---|
Type | Description |
BigQueryRoutineSpec | The bigqueryRoutineSpec. |
getBigqueryRoutineSpecBuilder()
public BigQueryRoutineSpec.Builder getBigqueryRoutineSpecBuilder()
Fields specific for BigQuery routines.
.google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6;
Returns | |
---|---|
Type | Description |
BigQueryRoutineSpec.Builder |
getBigqueryRoutineSpecOrBuilder()
public BigQueryRoutineSpecOrBuilder getBigqueryRoutineSpecOrBuilder()
Fields specific for BigQuery routines.
.google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6;
Returns | |
---|---|
Type | Description |
BigQueryRoutineSpecOrBuilder |
getDefaultInstanceForType()
public RoutineSpec getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
RoutineSpec |
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. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
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;
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 | |
---|---|
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;
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
List<Builder> |
getRoutineArgumentsCount()
public int getRoutineArgumentsCount()
Arguments of the routine.
repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;
Returns | |
---|---|
Type | Description |
int |
getRoutineArgumentsList()
public List<RoutineSpec.Argument> getRoutineArgumentsList()
Arguments of the routine.
repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3;
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
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;
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 | |
---|---|
Type | Description |
RoutineSpec.RoutineType | The routineType. |
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 | |
---|---|
Type | Description |
RoutineSpec.SystemSpecCase |
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 | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | BigQueryRoutineSpec |
Returns | |
---|---|
Type | Description |
RoutineSpec.Builder |
mergeFrom(RoutineSpec other)
public RoutineSpec.Builder mergeFrom(RoutineSpec other)
Parameter | |
---|---|
Name | Description |
other | RoutineSpec |
Returns | |
---|---|
Type | Description |
RoutineSpec.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RoutineSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RoutineSpec.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public RoutineSpec.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
RoutineSpec.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RoutineSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | BigQueryRoutineSpec |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | BigQueryRoutineSpec.Builder |
Returns | |
---|---|
Type | Description |
RoutineSpec.Builder |
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 | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for definitionBody to set. |
Returns | |
---|---|
Type | Description |
RoutineSpec.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public RoutineSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The language to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for language to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The returnType to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for returnType to set. |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | RoutineSpec.Argument |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | RoutineSpec.Argument.Builder |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | RoutineSpec.RoutineType The routineType to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for routineType to set. |
Returns | |
---|---|
Type | Description |
RoutineSpec.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final RoutineSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RoutineSpec.Builder |