public static final class Routine.Builder extends GeneratedMessage.Builder<Routine.Builder> implements RoutineOrBuilderRepresents a bigquery routine.
Protobuf type google.cloud.bigquery.analyticshub.v1.Routine
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Routine.BuilderImplements
RoutineOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Routine build()| Returns | |
|---|---|
| Type | Description |
Routine |
|
buildPartial()
public Routine buildPartial()| Returns | |
|---|---|
| Type | Description |
Routine |
|
clear()
public Routine.Builder clear()| Returns | |
|---|---|
| Type | Description |
Routine.Builder |
|
clearDefinitionBody()
public Routine.Builder clearDefinitionBody()Optional. The definition body of the routine.
string definition_body = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Routine.Builder |
This builder for chaining. |
clearRoutineType()
public Routine.Builder clearRoutineType()Required. The type of routine.
.google.cloud.bigquery.analyticshub.v1.Routine.RoutineType routine_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Routine.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Routine getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Routine |
|
getDefinitionBody()
public String getDefinitionBody()Optional. The definition body of the routine.
string definition_body = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The definitionBody. |
getDefinitionBodyBytes()
public ByteString getDefinitionBodyBytes()Optional. The definition body of the routine.
string definition_body = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for definitionBody. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getRoutineType()
public Routine.RoutineType getRoutineType()Required. The type of routine.
.google.cloud.bigquery.analyticshub.v1.Routine.RoutineType routine_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Routine.RoutineType |
The routineType. |
getRoutineTypeValue()
public int getRoutineTypeValue()Required. The type of routine.
.google.cloud.bigquery.analyticshub.v1.Routine.RoutineType routine_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for routineType. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Routine other)
public Routine.Builder mergeFrom(Routine other)| Parameter | |
|---|---|
| Name | Description |
other |
Routine |
| Returns | |
|---|---|
| Type | Description |
Routine.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Routine.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Routine.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Routine.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Routine.Builder |
|
setDefinitionBody(String value)
public Routine.Builder setDefinitionBody(String value)Optional. The definition body of the routine.
string definition_body = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe definitionBody to set. |
| Returns | |
|---|---|
| Type | Description |
Routine.Builder |
This builder for chaining. |
setDefinitionBodyBytes(ByteString value)
public Routine.Builder setDefinitionBodyBytes(ByteString value)Optional. The definition body of the routine.
string definition_body = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for definitionBody to set. |
| Returns | |
|---|---|
| Type | Description |
Routine.Builder |
This builder for chaining. |
setRoutineType(Routine.RoutineType value)
public Routine.Builder setRoutineType(Routine.RoutineType value)Required. The type of routine.
.google.cloud.bigquery.analyticshub.v1.Routine.RoutineType routine_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Routine.RoutineTypeThe routineType to set. |
| Returns | |
|---|---|
| Type | Description |
Routine.Builder |
This builder for chaining. |
setRoutineTypeValue(int value)
public Routine.Builder setRoutineTypeValue(int value)Required. The type of routine.
.google.cloud.bigquery.analyticshub.v1.Routine.RoutineType routine_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for routineType to set. |
| Returns | |
|---|---|
| Type | Description |
Routine.Builder |
This builder for chaining. |