Class WorkflowInvocation.Builder (0.53.0)

public static final class WorkflowInvocation.Builder extends GeneratedMessageV3.Builder<WorkflowInvocation.Builder> implements WorkflowInvocationOrBuilder

Represents a single invocation of a compilation result.

Protobuf type google.cloud.dataform.v1beta1.WorkflowInvocation

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public WorkflowInvocation build()
Returns
Type Description
WorkflowInvocation

buildPartial()

public WorkflowInvocation buildPartial()
Returns
Type Description
WorkflowInvocation

clear()

public WorkflowInvocation.Builder clear()
Returns
Type Description
WorkflowInvocation.Builder
Overrides

clearCompilationResult()

public WorkflowInvocation.Builder clearCompilationResult()

Immutable. The name of the compilation result to use for this invocation. Must be in the format projects/*/locations/*/repositories/*/compilationResults/*.

string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
WorkflowInvocation.Builder

This builder for chaining.

clearCompilationSource()

public WorkflowInvocation.Builder clearCompilationSource()
Returns
Type Description
WorkflowInvocation.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearInvocationConfig()

public WorkflowInvocation.Builder clearInvocationConfig()

Immutable. If left unset, a default InvocationConfig will be used.

.google.cloud.dataform.v1beta1.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
WorkflowInvocation.Builder

clearInvocationTiming()

public WorkflowInvocation.Builder clearInvocationTiming()

Output only. This workflow invocation's timing details.

.google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkflowInvocation.Builder

clearName()

public WorkflowInvocation.Builder clearName()

Output only. The workflow invocation's name.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkflowInvocation.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearState()

public WorkflowInvocation.Builder clearState()

Output only. This workflow invocation's current state.

.google.cloud.dataform.v1beta1.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkflowInvocation.Builder

This builder for chaining.

clearWorkflowConfig()

public WorkflowInvocation.Builder clearWorkflowConfig()

Immutable. The name of the workflow config to invoke. Must be in the format projects/*/locations/*/repositories/*/workflowConfigs/*.

string workflow_config = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
WorkflowInvocation.Builder

This builder for chaining.

clone()

public WorkflowInvocation.Builder clone()
Returns
Type Description
WorkflowInvocation.Builder
Overrides

getCompilationResult()

public String getCompilationResult()

Immutable. The name of the compilation result to use for this invocation. Must be in the format projects/*/locations/*/repositories/*/compilationResults/*.

string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The compilationResult.

getCompilationResultBytes()

public ByteString getCompilationResultBytes()

Immutable. The name of the compilation result to use for this invocation. Must be in the format projects/*/locations/*/repositories/*/compilationResults/*.

string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for compilationResult.

getCompilationSourceCase()

public WorkflowInvocation.CompilationSourceCase getCompilationSourceCase()
Returns
Type Description
WorkflowInvocation.CompilationSourceCase

getDefaultInstanceForType()

public WorkflowInvocation getDefaultInstanceForType()
Returns
Type Description
WorkflowInvocation

getDescriptorForType()

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

getInvocationConfig()

public InvocationConfig getInvocationConfig()

Immutable. If left unset, a default InvocationConfig will be used.

.google.cloud.dataform.v1beta1.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
InvocationConfig

The invocationConfig.

getInvocationConfigBuilder()

public InvocationConfig.Builder getInvocationConfigBuilder()

Immutable. If left unset, a default InvocationConfig will be used.

.google.cloud.dataform.v1beta1.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
InvocationConfig.Builder

getInvocationConfigOrBuilder()

public InvocationConfigOrBuilder getInvocationConfigOrBuilder()

Immutable. If left unset, a default InvocationConfig will be used.

.google.cloud.dataform.v1beta1.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
InvocationConfigOrBuilder

getInvocationTiming()

public Interval getInvocationTiming()

Output only. This workflow invocation's timing details.

.google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.type.Interval

The invocationTiming.

getInvocationTimingBuilder()

public Interval.Builder getInvocationTimingBuilder()

Output only. This workflow invocation's timing details.

.google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.type.Interval.Builder

getInvocationTimingOrBuilder()

public IntervalOrBuilder getInvocationTimingOrBuilder()

Output only. This workflow invocation's timing details.

.google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.type.IntervalOrBuilder

getName()

public String getName()

Output only. The workflow invocation's name.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The workflow invocation's name.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getState()

public WorkflowInvocation.State getState()

Output only. This workflow invocation's current state.

.google.cloud.dataform.v1beta1.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkflowInvocation.State

The state.

getStateValue()

public int getStateValue()

Output only. This workflow invocation's current state.

.google.cloud.dataform.v1beta1.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getWorkflowConfig()

public String getWorkflowConfig()

Immutable. The name of the workflow config to invoke. Must be in the format projects/*/locations/*/repositories/*/workflowConfigs/*.

string workflow_config = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The workflowConfig.

getWorkflowConfigBytes()

public ByteString getWorkflowConfigBytes()

Immutable. The name of the workflow config to invoke. Must be in the format projects/*/locations/*/repositories/*/workflowConfigs/*.

string workflow_config = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for workflowConfig.

hasCompilationResult()

public boolean hasCompilationResult()

Immutable. The name of the compilation result to use for this invocation. Must be in the format projects/*/locations/*/repositories/*/compilationResults/*.

string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the compilationResult field is set.

hasInvocationConfig()

public boolean hasInvocationConfig()

Immutable. If left unset, a default InvocationConfig will be used.

.google.cloud.dataform.v1beta1.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the invocationConfig field is set.

hasInvocationTiming()

public boolean hasInvocationTiming()

Output only. This workflow invocation's timing details.

.google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the invocationTiming field is set.

hasWorkflowConfig()

public boolean hasWorkflowConfig()

Immutable. The name of the workflow config to invoke. Must be in the format projects/*/locations/*/repositories/*/workflowConfigs/*.

string workflow_config = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the workflowConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WorkflowInvocation other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInvocationConfig(InvocationConfig value)

public WorkflowInvocation.Builder mergeInvocationConfig(InvocationConfig value)

Immutable. If left unset, a default InvocationConfig will be used.

.google.cloud.dataform.v1beta1.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value InvocationConfig
Returns
Type Description
WorkflowInvocation.Builder

mergeInvocationTiming(Interval value)

public WorkflowInvocation.Builder mergeInvocationTiming(Interval value)

Output only. This workflow invocation's timing details.

.google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value com.google.type.Interval
Returns
Type Description
WorkflowInvocation.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCompilationResult(String value)

public WorkflowInvocation.Builder setCompilationResult(String value)

Immutable. The name of the compilation result to use for this invocation. Must be in the format projects/*/locations/*/repositories/*/compilationResults/*.

string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The compilationResult to set.

Returns
Type Description
WorkflowInvocation.Builder

This builder for chaining.

setCompilationResultBytes(ByteString value)

public WorkflowInvocation.Builder setCompilationResultBytes(ByteString value)

Immutable. The name of the compilation result to use for this invocation. Must be in the format projects/*/locations/*/repositories/*/compilationResults/*.

string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for compilationResult to set.

Returns
Type Description
WorkflowInvocation.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setInvocationConfig(InvocationConfig value)

public WorkflowInvocation.Builder setInvocationConfig(InvocationConfig value)

Immutable. If left unset, a default InvocationConfig will be used.

.google.cloud.dataform.v1beta1.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value InvocationConfig
Returns
Type Description
WorkflowInvocation.Builder

setInvocationConfig(InvocationConfig.Builder builderForValue)

public WorkflowInvocation.Builder setInvocationConfig(InvocationConfig.Builder builderForValue)

Immutable. If left unset, a default InvocationConfig will be used.

.google.cloud.dataform.v1beta1.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
builderForValue InvocationConfig.Builder
Returns
Type Description
WorkflowInvocation.Builder

setInvocationTiming(Interval value)

public WorkflowInvocation.Builder setInvocationTiming(Interval value)

Output only. This workflow invocation's timing details.

.google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value com.google.type.Interval
Returns
Type Description
WorkflowInvocation.Builder

setInvocationTiming(Interval.Builder builderForValue)

public WorkflowInvocation.Builder setInvocationTiming(Interval.Builder builderForValue)

Output only. This workflow invocation's timing details.

.google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue com.google.type.Interval.Builder
Returns
Type Description
WorkflowInvocation.Builder

setName(String value)

public WorkflowInvocation.Builder setName(String value)

Output only. The workflow invocation's name.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
WorkflowInvocation.Builder

This builder for chaining.

setNameBytes(ByteString value)

public WorkflowInvocation.Builder setNameBytes(ByteString value)

Output only. The workflow invocation's name.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
WorkflowInvocation.Builder

This builder for chaining.

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

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

setState(WorkflowInvocation.State value)

public WorkflowInvocation.Builder setState(WorkflowInvocation.State value)

Output only. This workflow invocation's current state.

.google.cloud.dataform.v1beta1.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value WorkflowInvocation.State

The state to set.

Returns
Type Description
WorkflowInvocation.Builder

This builder for chaining.

setStateValue(int value)

public WorkflowInvocation.Builder setStateValue(int value)

Output only. This workflow invocation's current state.

.google.cloud.dataform.v1beta1.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
WorkflowInvocation.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setWorkflowConfig(String value)

public WorkflowInvocation.Builder setWorkflowConfig(String value)

Immutable. The name of the workflow config to invoke. Must be in the format projects/*/locations/*/repositories/*/workflowConfigs/*.

string workflow_config = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The workflowConfig to set.

Returns
Type Description
WorkflowInvocation.Builder

This builder for chaining.

setWorkflowConfigBytes(ByteString value)

public WorkflowInvocation.Builder setWorkflowConfigBytes(ByteString value)

Immutable. The name of the workflow config to invoke. Must be in the format projects/*/locations/*/repositories/*/workflowConfigs/*.

string workflow_config = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for workflowConfig to set.

Returns
Type Description
WorkflowInvocation.Builder

This builder for chaining.