Class CompilationResultAction.Operations.Builder (0.17.0)

public static final class CompilationResultAction.Operations.Builder extends GeneratedMessageV3.Builder<CompilationResultAction.Operations.Builder> implements CompilationResultAction.OperationsOrBuilder

Represents a list of arbitrary database operations.

Protobuf type google.cloud.dataform.v1beta1.CompilationResultAction.Operations

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllDependencyTargets(Iterable<? extends Target> values)

public CompilationResultAction.Operations.Builder addAllDependencyTargets(Iterable<? extends Target> values)

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dataform.v1beta1.Target>
Returns
Type Description
CompilationResultAction.Operations.Builder

addAllQueries(Iterable<String> values)

public CompilationResultAction.Operations.Builder addAllQueries(Iterable<String> values)

A list of arbitrary SQL statements that will be executed without alteration.

repeated string queries = 4;

Parameter
Name Description
values Iterable<String>

The queries to add.

Returns
Type Description
CompilationResultAction.Operations.Builder

This builder for chaining.

addAllTags(Iterable<String> values)

public CompilationResultAction.Operations.Builder addAllTags(Iterable<String> values)

Arbitrary, user-defined tags on this action.

repeated string tags = 3;

Parameter
Name Description
values Iterable<String>

The tags to add.

Returns
Type Description
CompilationResultAction.Operations.Builder

This builder for chaining.

addDependencyTargets(Target value)

public CompilationResultAction.Operations.Builder addDependencyTargets(Target value)

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Parameter
Name Description
value Target
Returns
Type Description
CompilationResultAction.Operations.Builder

addDependencyTargets(Target.Builder builderForValue)

public CompilationResultAction.Operations.Builder addDependencyTargets(Target.Builder builderForValue)

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Parameter
Name Description
builderForValue Target.Builder
Returns
Type Description
CompilationResultAction.Operations.Builder

addDependencyTargets(int index, Target value)

public CompilationResultAction.Operations.Builder addDependencyTargets(int index, Target value)

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Parameters
Name Description
index int
value Target
Returns
Type Description
CompilationResultAction.Operations.Builder

addDependencyTargets(int index, Target.Builder builderForValue)

public CompilationResultAction.Operations.Builder addDependencyTargets(int index, Target.Builder builderForValue)

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Parameters
Name Description
index int
builderForValue Target.Builder
Returns
Type Description
CompilationResultAction.Operations.Builder

addDependencyTargetsBuilder()

public Target.Builder addDependencyTargetsBuilder()

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Returns
Type Description
Target.Builder

addDependencyTargetsBuilder(int index)

public Target.Builder addDependencyTargetsBuilder(int index)

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Parameter
Name Description
index int
Returns
Type Description
Target.Builder

addQueries(String value)

public CompilationResultAction.Operations.Builder addQueries(String value)

A list of arbitrary SQL statements that will be executed without alteration.

repeated string queries = 4;

Parameter
Name Description
value String

The queries to add.

Returns
Type Description
CompilationResultAction.Operations.Builder

This builder for chaining.

addQueriesBytes(ByteString value)

public CompilationResultAction.Operations.Builder addQueriesBytes(ByteString value)

A list of arbitrary SQL statements that will be executed without alteration.

repeated string queries = 4;

Parameter
Name Description
value ByteString

The bytes of the queries to add.

Returns
Type Description
CompilationResultAction.Operations.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CompilationResultAction.Operations.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CompilationResultAction.Operations.Builder
Overrides

addTags(String value)

public CompilationResultAction.Operations.Builder addTags(String value)

Arbitrary, user-defined tags on this action.

repeated string tags = 3;

Parameter
Name Description
value String

The tags to add.

Returns
Type Description
CompilationResultAction.Operations.Builder

This builder for chaining.

addTagsBytes(ByteString value)

public CompilationResultAction.Operations.Builder addTagsBytes(ByteString value)

Arbitrary, user-defined tags on this action.

repeated string tags = 3;

Parameter
Name Description
value ByteString

The bytes of the tags to add.

Returns
Type Description
CompilationResultAction.Operations.Builder

This builder for chaining.

build()

public CompilationResultAction.Operations build()
Returns
Type Description
CompilationResultAction.Operations

buildPartial()

public CompilationResultAction.Operations buildPartial()
Returns
Type Description
CompilationResultAction.Operations

clear()

public CompilationResultAction.Operations.Builder clear()
Returns
Type Description
CompilationResultAction.Operations.Builder
Overrides

clearDependencyTargets()

public CompilationResultAction.Operations.Builder clearDependencyTargets()

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Returns
Type Description
CompilationResultAction.Operations.Builder

clearDisabled()

public CompilationResultAction.Operations.Builder clearDisabled()

Whether this action is disabled (i.e. should not be run).

bool disabled = 2;

Returns
Type Description
CompilationResultAction.Operations.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CompilationResultAction.Operations.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CompilationResultAction.Operations.Builder
Overrides

clearHasOutput()

public CompilationResultAction.Operations.Builder clearHasOutput()

Whether these operations produce an output relation.

bool has_output = 5;

Returns
Type Description
CompilationResultAction.Operations.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CompilationResultAction.Operations.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CompilationResultAction.Operations.Builder
Overrides

clearQueries()

public CompilationResultAction.Operations.Builder clearQueries()

A list of arbitrary SQL statements that will be executed without alteration.

repeated string queries = 4;

Returns
Type Description
CompilationResultAction.Operations.Builder

This builder for chaining.

clearRelationDescriptor()

public CompilationResultAction.Operations.Builder clearRelationDescriptor()

Descriptor for any output relation and its columns. Only set if has_output is true.

.google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6;

Returns
Type Description
CompilationResultAction.Operations.Builder

clearTags()

public CompilationResultAction.Operations.Builder clearTags()

Arbitrary, user-defined tags on this action.

repeated string tags = 3;

Returns
Type Description
CompilationResultAction.Operations.Builder

This builder for chaining.

clone()

public CompilationResultAction.Operations.Builder clone()
Returns
Type Description
CompilationResultAction.Operations.Builder
Overrides

getDefaultInstanceForType()

public CompilationResultAction.Operations getDefaultInstanceForType()
Returns
Type Description
CompilationResultAction.Operations

getDependencyTargets(int index)

public Target getDependencyTargets(int index)

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Parameter
Name Description
index int
Returns
Type Description
Target

getDependencyTargetsBuilder(int index)

public Target.Builder getDependencyTargetsBuilder(int index)

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Parameter
Name Description
index int
Returns
Type Description
Target.Builder

getDependencyTargetsBuilderList()

public List<Target.Builder> getDependencyTargetsBuilderList()

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Returns
Type Description
List<Builder>

getDependencyTargetsCount()

public int getDependencyTargetsCount()

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Returns
Type Description
int

getDependencyTargetsList()

public List<Target> getDependencyTargetsList()

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Returns
Type Description
List<Target>

getDependencyTargetsOrBuilder(int index)

public TargetOrBuilder getDependencyTargetsOrBuilder(int index)

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Parameter
Name Description
index int
Returns
Type Description
TargetOrBuilder

getDependencyTargetsOrBuilderList()

public List<? extends TargetOrBuilder> getDependencyTargetsOrBuilderList()

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Returns
Type Description
List<? extends com.google.cloud.dataform.v1beta1.TargetOrBuilder>

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisabled()

public boolean getDisabled()

Whether this action is disabled (i.e. should not be run).

bool disabled = 2;

Returns
Type Description
boolean

The disabled.

getHasOutput()

public boolean getHasOutput()

Whether these operations produce an output relation.

bool has_output = 5;

Returns
Type Description
boolean

The hasOutput.

getQueries(int index)

public String getQueries(int index)

A list of arbitrary SQL statements that will be executed without alteration.

repeated string queries = 4;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The queries at the given index.

getQueriesBytes(int index)

public ByteString getQueriesBytes(int index)

A list of arbitrary SQL statements that will be executed without alteration.

repeated string queries = 4;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the queries at the given index.

getQueriesCount()

public int getQueriesCount()

A list of arbitrary SQL statements that will be executed without alteration.

repeated string queries = 4;

Returns
Type Description
int

The count of queries.

getQueriesList()

public ProtocolStringList getQueriesList()

A list of arbitrary SQL statements that will be executed without alteration.

repeated string queries = 4;

Returns
Type Description
ProtocolStringList

A list containing the queries.

getRelationDescriptor()

public RelationDescriptor getRelationDescriptor()

Descriptor for any output relation and its columns. Only set if has_output is true.

.google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6;

Returns
Type Description
RelationDescriptor

The relationDescriptor.

getRelationDescriptorBuilder()

public RelationDescriptor.Builder getRelationDescriptorBuilder()

Descriptor for any output relation and its columns. Only set if has_output is true.

.google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6;

Returns
Type Description
RelationDescriptor.Builder

getRelationDescriptorOrBuilder()

public RelationDescriptorOrBuilder getRelationDescriptorOrBuilder()

Descriptor for any output relation and its columns. Only set if has_output is true.

.google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6;

Returns
Type Description
RelationDescriptorOrBuilder

getTags(int index)

public String getTags(int index)

Arbitrary, user-defined tags on this action.

repeated string tags = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The tags at the given index.

getTagsBytes(int index)

public ByteString getTagsBytes(int index)

Arbitrary, user-defined tags on this action.

repeated string tags = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the tags at the given index.

getTagsCount()

public int getTagsCount()

Arbitrary, user-defined tags on this action.

repeated string tags = 3;

Returns
Type Description
int

The count of tags.

getTagsList()

public ProtocolStringList getTagsList()

Arbitrary, user-defined tags on this action.

repeated string tags = 3;

Returns
Type Description
ProtocolStringList

A list containing the tags.

hasRelationDescriptor()

public boolean hasRelationDescriptor()

Descriptor for any output relation and its columns. Only set if has_output is true.

.google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6;

Returns
Type Description
boolean

Whether the relationDescriptor field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CompilationResultAction.Operations other)

public CompilationResultAction.Operations.Builder mergeFrom(CompilationResultAction.Operations other)
Parameter
Name Description
other CompilationResultAction.Operations
Returns
Type Description
CompilationResultAction.Operations.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CompilationResultAction.Operations.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompilationResultAction.Operations.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CompilationResultAction.Operations.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CompilationResultAction.Operations.Builder
Overrides

mergeRelationDescriptor(RelationDescriptor value)

public CompilationResultAction.Operations.Builder mergeRelationDescriptor(RelationDescriptor value)

Descriptor for any output relation and its columns. Only set if has_output is true.

.google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6;

Parameter
Name Description
value RelationDescriptor
Returns
Type Description
CompilationResultAction.Operations.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CompilationResultAction.Operations.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CompilationResultAction.Operations.Builder
Overrides

removeDependencyTargets(int index)

public CompilationResultAction.Operations.Builder removeDependencyTargets(int index)

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Parameter
Name Description
index int
Returns
Type Description
CompilationResultAction.Operations.Builder

setDependencyTargets(int index, Target value)

public CompilationResultAction.Operations.Builder setDependencyTargets(int index, Target value)

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Parameters
Name Description
index int
value Target
Returns
Type Description
CompilationResultAction.Operations.Builder

setDependencyTargets(int index, Target.Builder builderForValue)

public CompilationResultAction.Operations.Builder setDependencyTargets(int index, Target.Builder builderForValue)

A list of actions that this action depends on.

repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1;

Parameters
Name Description
index int
builderForValue Target.Builder
Returns
Type Description
CompilationResultAction.Operations.Builder

setDisabled(boolean value)

public CompilationResultAction.Operations.Builder setDisabled(boolean value)

Whether this action is disabled (i.e. should not be run).

bool disabled = 2;

Parameter
Name Description
value boolean

The disabled to set.

Returns
Type Description
CompilationResultAction.Operations.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CompilationResultAction.Operations.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CompilationResultAction.Operations.Builder
Overrides

setHasOutput(boolean value)

public CompilationResultAction.Operations.Builder setHasOutput(boolean value)

Whether these operations produce an output relation.

bool has_output = 5;

Parameter
Name Description
value boolean

The hasOutput to set.

Returns
Type Description
CompilationResultAction.Operations.Builder

This builder for chaining.

setQueries(int index, String value)

public CompilationResultAction.Operations.Builder setQueries(int index, String value)

A list of arbitrary SQL statements that will be executed without alteration.

repeated string queries = 4;

Parameters
Name Description
index int

The index to set the value at.

value String

The queries to set.

Returns
Type Description
CompilationResultAction.Operations.Builder

This builder for chaining.

setRelationDescriptor(RelationDescriptor value)

public CompilationResultAction.Operations.Builder setRelationDescriptor(RelationDescriptor value)

Descriptor for any output relation and its columns. Only set if has_output is true.

.google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6;

Parameter
Name Description
value RelationDescriptor
Returns
Type Description
CompilationResultAction.Operations.Builder

setRelationDescriptor(RelationDescriptor.Builder builderForValue)

public CompilationResultAction.Operations.Builder setRelationDescriptor(RelationDescriptor.Builder builderForValue)

Descriptor for any output relation and its columns. Only set if has_output is true.

.google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6;

Parameter
Name Description
builderForValue RelationDescriptor.Builder
Returns
Type Description
CompilationResultAction.Operations.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CompilationResultAction.Operations.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CompilationResultAction.Operations.Builder
Overrides

setTags(int index, String value)

public CompilationResultAction.Operations.Builder setTags(int index, String value)

Arbitrary, user-defined tags on this action.

repeated string tags = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The tags to set.

Returns
Type Description
CompilationResultAction.Operations.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CompilationResultAction.Operations.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CompilationResultAction.Operations.Builder
Overrides