Class WorkflowInvocation.Builder (0.84.0)

public static final class WorkflowInvocation.Builder extends GeneratedMessage.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

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

clearDataEncryptionState()

public WorkflowInvocation.Builder clearDataEncryptionState()

Output only. Only set if the repository has a KMS Key.

.google.cloud.dataform.v1beta1.DataEncryptionState data_encryption_state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkflowInvocation.Builder

clearInternalMetadata()

public WorkflowInvocation.Builder clearInternalMetadata()

Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.

optional string internal_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkflowInvocation.Builder

This builder for chaining.

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.

clearPrivateResourceMetadata()

public WorkflowInvocation.Builder clearPrivateResourceMetadata()

Output only. Metadata indicating whether this resource is user-scoped. WorkflowInvocation resource is user_scoped only if it is sourced from a compilation result and the compilation result is user-scoped.

.google.cloud.dataform.v1beta1.PrivateResourceMetadata private_resource_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkflowInvocation.Builder

clearResolvedCompilationResult()

public WorkflowInvocation.Builder clearResolvedCompilationResult()

Output only. The resolved compilation result that was used to create this invocation. Will be in the format projects/*/locations/*/repositories/*/compilationResults/*.

string resolved_compilation_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
WorkflowInvocation.Builder

This builder for chaining.

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.

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

getDataEncryptionState()

public DataEncryptionState getDataEncryptionState()

Output only. Only set if the repository has a KMS Key.

.google.cloud.dataform.v1beta1.DataEncryptionState data_encryption_state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataEncryptionState

The dataEncryptionState.

getDataEncryptionStateBuilder()

public DataEncryptionState.Builder getDataEncryptionStateBuilder()

Output only. Only set if the repository has a KMS Key.

.google.cloud.dataform.v1beta1.DataEncryptionState data_encryption_state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataEncryptionState.Builder

getDataEncryptionStateOrBuilder()

public DataEncryptionStateOrBuilder getDataEncryptionStateOrBuilder()

Output only. Only set if the repository has a KMS Key.

.google.cloud.dataform.v1beta1.DataEncryptionState data_encryption_state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataEncryptionStateOrBuilder

getDefaultInstanceForType()

public WorkflowInvocation getDefaultInstanceForType()
Returns
Type Description
WorkflowInvocation

getDescriptorForType()

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

getInternalMetadata()

public String getInternalMetadata()

Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.

optional string internal_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The internalMetadata.

getInternalMetadataBytes()

public ByteString getInternalMetadataBytes()

Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.

optional string internal_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for internalMetadata.

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.

getPrivateResourceMetadata()

public PrivateResourceMetadata getPrivateResourceMetadata()

Output only. Metadata indicating whether this resource is user-scoped. WorkflowInvocation resource is user_scoped only if it is sourced from a compilation result and the compilation result is user-scoped.

.google.cloud.dataform.v1beta1.PrivateResourceMetadata private_resource_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PrivateResourceMetadata

The privateResourceMetadata.

getPrivateResourceMetadataBuilder()

public PrivateResourceMetadata.Builder getPrivateResourceMetadataBuilder()

Output only. Metadata indicating whether this resource is user-scoped. WorkflowInvocation resource is user_scoped only if it is sourced from a compilation result and the compilation result is user-scoped.

.google.cloud.dataform.v1beta1.PrivateResourceMetadata private_resource_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PrivateResourceMetadata.Builder

getPrivateResourceMetadataOrBuilder()

public PrivateResourceMetadataOrBuilder getPrivateResourceMetadataOrBuilder()

Output only. Metadata indicating whether this resource is user-scoped. WorkflowInvocation resource is user_scoped only if it is sourced from a compilation result and the compilation result is user-scoped.

.google.cloud.dataform.v1beta1.PrivateResourceMetadata private_resource_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PrivateResourceMetadataOrBuilder

getResolvedCompilationResult()

public String getResolvedCompilationResult()

Output only. The resolved compilation result that was used to create this invocation. Will be in the format projects/*/locations/*/repositories/*/compilationResults/*.

string resolved_compilation_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The resolvedCompilationResult.

getResolvedCompilationResultBytes()

public ByteString getResolvedCompilationResultBytes()

Output only. The resolved compilation result that was used to create this invocation. Will be in the format projects/*/locations/*/repositories/*/compilationResults/*.

string resolved_compilation_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for resolvedCompilationResult.

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.

hasDataEncryptionState()

public boolean hasDataEncryptionState()

Output only. Only set if the repository has a KMS Key.

.google.cloud.dataform.v1beta1.DataEncryptionState data_encryption_state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the dataEncryptionState field is set.

hasInternalMetadata()

public boolean hasInternalMetadata()

Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.

optional string internal_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the internalMetadata 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.

hasPrivateResourceMetadata()

public boolean hasPrivateResourceMetadata()

Output only. Metadata indicating whether this resource is user-scoped. WorkflowInvocation resource is user_scoped only if it is sourced from a compilation result and the compilation result is user-scoped.

.google.cloud.dataform.v1beta1.PrivateResourceMetadata private_resource_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the privateResourceMetadata 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDataEncryptionState(DataEncryptionState value)

public WorkflowInvocation.Builder mergeDataEncryptionState(DataEncryptionState value)

Output only. Only set if the repository has a KMS Key.

.google.cloud.dataform.v1beta1.DataEncryptionState data_encryption_state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DataEncryptionState
Returns
Type Description
WorkflowInvocation.Builder

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

mergePrivateResourceMetadata(PrivateResourceMetadata value)

public WorkflowInvocation.Builder mergePrivateResourceMetadata(PrivateResourceMetadata value)

Output only. Metadata indicating whether this resource is user-scoped. WorkflowInvocation resource is user_scoped only if it is sourced from a compilation result and the compilation result is user-scoped.

.google.cloud.dataform.v1beta1.PrivateResourceMetadata private_resource_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value PrivateResourceMetadata
Returns
Type Description
WorkflowInvocation.Builder

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.

setDataEncryptionState(DataEncryptionState value)

public WorkflowInvocation.Builder setDataEncryptionState(DataEncryptionState value)

Output only. Only set if the repository has a KMS Key.

.google.cloud.dataform.v1beta1.DataEncryptionState data_encryption_state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DataEncryptionState
Returns
Type Description
WorkflowInvocation.Builder

setDataEncryptionState(DataEncryptionState.Builder builderForValue)

public WorkflowInvocation.Builder setDataEncryptionState(DataEncryptionState.Builder builderForValue)

Output only. Only set if the repository has a KMS Key.

.google.cloud.dataform.v1beta1.DataEncryptionState data_encryption_state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

setInternalMetadata(String value)

public WorkflowInvocation.Builder setInternalMetadata(String value)

Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.

optional string internal_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The internalMetadata to set.

Returns
Type Description
WorkflowInvocation.Builder

This builder for chaining.

setInternalMetadataBytes(ByteString value)

public WorkflowInvocation.Builder setInternalMetadataBytes(ByteString value)

Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.

optional string internal_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for internalMetadata to set.

Returns
Type Description
WorkflowInvocation.Builder

This builder for chaining.

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.

setPrivateResourceMetadata(PrivateResourceMetadata value)

public WorkflowInvocation.Builder setPrivateResourceMetadata(PrivateResourceMetadata value)

Output only. Metadata indicating whether this resource is user-scoped. WorkflowInvocation resource is user_scoped only if it is sourced from a compilation result and the compilation result is user-scoped.

.google.cloud.dataform.v1beta1.PrivateResourceMetadata private_resource_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value PrivateResourceMetadata
Returns
Type Description
WorkflowInvocation.Builder

setPrivateResourceMetadata(PrivateResourceMetadata.Builder builderForValue)

public WorkflowInvocation.Builder setPrivateResourceMetadata(PrivateResourceMetadata.Builder builderForValue)

Output only. Metadata indicating whether this resource is user-scoped. WorkflowInvocation resource is user_scoped only if it is sourced from a compilation result and the compilation result is user-scoped.

.google.cloud.dataform.v1beta1.PrivateResourceMetadata private_resource_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

setResolvedCompilationResult(String value)

public WorkflowInvocation.Builder setResolvedCompilationResult(String value)

Output only. The resolved compilation result that was used to create this invocation. Will be in the format projects/*/locations/*/repositories/*/compilationResults/*.

string resolved_compilation_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The resolvedCompilationResult to set.

Returns
Type Description
WorkflowInvocation.Builder

This builder for chaining.

setResolvedCompilationResultBytes(ByteString value)

public WorkflowInvocation.Builder setResolvedCompilationResultBytes(ByteString value)

Output only. The resolved compilation result that was used to create this invocation. Will be in the format projects/*/locations/*/repositories/*/compilationResults/*.

string resolved_compilation_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for resolvedCompilationResult to set.

Returns
Type Description
WorkflowInvocation.Builder

This builder for chaining.

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.

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.