Class WorkflowInvocation.Builder (0.12.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public WorkflowInvocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
WorkflowInvocation.Builder
Overrides

build()

public WorkflowInvocation build()
Returns
TypeDescription
WorkflowInvocation

buildPartial()

public WorkflowInvocation buildPartial()
Returns
TypeDescription
WorkflowInvocation

clear()

public WorkflowInvocation.Builder clear()
Returns
TypeDescription
WorkflowInvocation.Builder
Overrides

clearCompilationResult()

public WorkflowInvocation.Builder clearCompilationResult()

Immutable. The name of the compilation result to compile. Must be in the format projects/*/locations/*/repositories/*/compilationResults/*.

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

Returns
TypeDescription
WorkflowInvocation.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public WorkflowInvocation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
WorkflowInvocation.Builder
Overrides

clearInvocationConfig()

public WorkflowInvocation.Builder clearInvocationConfig()

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

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

Returns
TypeDescription
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
TypeDescription
WorkflowInvocation.Builder

clearName()

public WorkflowInvocation.Builder clearName()

Output only. The workflow invocation's name.

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

Returns
TypeDescription
WorkflowInvocation.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public WorkflowInvocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
WorkflowInvocation.Builder

This builder for chaining.

clone()

public WorkflowInvocation.Builder clone()
Returns
TypeDescription
WorkflowInvocation.Builder
Overrides

getCompilationResult()

public String getCompilationResult()

Immutable. The name of the compilation result to compile. Must be in the format projects/*/locations/*/repositories/*/compilationResults/*.

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

Returns
TypeDescription
String

The compilationResult.

getCompilationResultBytes()

public ByteString getCompilationResultBytes()

Immutable. The name of the compilation result to compile. Must be in the format projects/*/locations/*/repositories/*/compilationResults/*.

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

Returns
TypeDescription
ByteString

The bytes for compilationResult.

getDefaultInstanceForType()

public WorkflowInvocation getDefaultInstanceForType()
Returns
TypeDescription
WorkflowInvocation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInvocationConfig()

public WorkflowInvocation.InvocationConfig getInvocationConfig()

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

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

Returns
TypeDescription
WorkflowInvocation.InvocationConfig

The invocationConfig.

getInvocationConfigBuilder()

public WorkflowInvocation.InvocationConfig.Builder getInvocationConfigBuilder()

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

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

Returns
TypeDescription
WorkflowInvocation.InvocationConfig.Builder

getInvocationConfigOrBuilder()

public WorkflowInvocation.InvocationConfigOrBuilder getInvocationConfigOrBuilder()

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

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

Returns
TypeDescription
WorkflowInvocation.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The workflow invocation's name.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for state.

hasInvocationConfig()

public boolean hasInvocationConfig()

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

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the invocationTiming field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(WorkflowInvocation other)

public WorkflowInvocation.Builder mergeFrom(WorkflowInvocation other)
Parameter
NameDescription
otherWorkflowInvocation
Returns
TypeDescription
WorkflowInvocation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public WorkflowInvocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkflowInvocation.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public WorkflowInvocation.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
WorkflowInvocation.Builder
Overrides

mergeInvocationConfig(WorkflowInvocation.InvocationConfig value)

public WorkflowInvocation.Builder mergeInvocationConfig(WorkflowInvocation.InvocationConfig value)

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

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

Parameter
NameDescription
valueWorkflowInvocation.InvocationConfig
Returns
TypeDescription
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
NameDescription
valuecom.google.type.Interval
Returns
TypeDescription
WorkflowInvocation.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WorkflowInvocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
WorkflowInvocation.Builder
Overrides

setCompilationResult(String value)

public WorkflowInvocation.Builder setCompilationResult(String value)

Immutable. The name of the compilation result to compile. Must be in the format projects/*/locations/*/repositories/*/compilationResults/*.

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

Parameter
NameDescription
valueString

The compilationResult to set.

Returns
TypeDescription
WorkflowInvocation.Builder

This builder for chaining.

setCompilationResultBytes(ByteString value)

public WorkflowInvocation.Builder setCompilationResultBytes(ByteString value)

Immutable. The name of the compilation result to compile. Must be in the format projects/*/locations/*/repositories/*/compilationResults/*.

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

Parameter
NameDescription
valueByteString

The bytes for compilationResult to set.

Returns
TypeDescription
WorkflowInvocation.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public WorkflowInvocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
WorkflowInvocation.Builder
Overrides

setInvocationConfig(WorkflowInvocation.InvocationConfig value)

public WorkflowInvocation.Builder setInvocationConfig(WorkflowInvocation.InvocationConfig value)

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

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

Parameter
NameDescription
valueWorkflowInvocation.InvocationConfig
Returns
TypeDescription
WorkflowInvocation.Builder

setInvocationConfig(WorkflowInvocation.InvocationConfig.Builder builderForValue)

public WorkflowInvocation.Builder setInvocationConfig(WorkflowInvocation.InvocationConfig.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueWorkflowInvocation.InvocationConfig.Builder
Returns
TypeDescription
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
NameDescription
valuecom.google.type.Interval
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.type.Interval.Builder
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueWorkflowInvocation.State

The state to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
WorkflowInvocation.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final WorkflowInvocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
WorkflowInvocation.Builder
Overrides