Class WorkflowInvocation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<WorkflowInvocation.Builder>
-
- com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder
-
- All Implemented Interfaces:
WorkflowInvocationOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- WorkflowInvocation
public static final class WorkflowInvocation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WorkflowInvocation.Builder> implements WorkflowInvocationOrBuilder
Represents a single invocation of a compilation result.
Protobuf typegoogle.cloud.dataform.v1alpha2.WorkflowInvocation
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowInvocation.Builder>
-
clear
public WorkflowInvocation.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowInvocation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowInvocation.Builder>
-
getDefaultInstanceForType
public WorkflowInvocation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public WorkflowInvocation build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public WorkflowInvocation buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public WorkflowInvocation.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowInvocation.Builder>
-
setField
public WorkflowInvocation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowInvocation.Builder>
-
clearField
public WorkflowInvocation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowInvocation.Builder>
-
clearOneof
public WorkflowInvocation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowInvocation.Builder>
-
setRepeatedField
public WorkflowInvocation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowInvocation.Builder>
-
addRepeatedField
public WorkflowInvocation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowInvocation.Builder>
-
mergeFrom
public WorkflowInvocation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<WorkflowInvocation.Builder>
-
mergeFrom
public WorkflowInvocation.Builder mergeFrom(WorkflowInvocation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowInvocation.Builder>
-
mergeFrom
public WorkflowInvocation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<WorkflowInvocation.Builder>
- Throws:
IOException
-
getName
public String getName()
Output only. The workflow invocation's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getName
in interfaceWorkflowInvocationOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The workflow invocation's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNameBytes
in interfaceWorkflowInvocationOrBuilder
- Returns:
- The bytes for name.
-
setName
public WorkflowInvocation.Builder setName(String value)
Output only. The workflow invocation's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public WorkflowInvocation.Builder clearName()
Output only. The workflow invocation's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setNameBytes
public WorkflowInvocation.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The workflow invocation's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
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) = { ... }
- Specified by:
getCompilationResult
in interfaceWorkflowInvocationOrBuilder
- Returns:
- The compilationResult.
-
getCompilationResultBytes
public com.google.protobuf.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) = { ... }
- Specified by:
getCompilationResultBytes
in interfaceWorkflowInvocationOrBuilder
- Returns:
- The bytes for compilationResult.
-
setCompilationResult
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) = { ... }
- Parameters:
value
- The compilationResult to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setCompilationResultBytes
public WorkflowInvocation.Builder setCompilationResultBytes(com.google.protobuf.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) = { ... }
- Parameters:
value
- The bytes for compilationResult to set.- Returns:
- This builder for chaining.
-
hasInvocationConfig
public boolean hasInvocationConfig()
Immutable. If left unset, a default InvocationConfig will be used.
.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
hasInvocationConfig
in interfaceWorkflowInvocationOrBuilder
- Returns:
- Whether the invocationConfig field is set.
-
getInvocationConfig
public WorkflowInvocation.InvocationConfig getInvocationConfig()
Immutable. If left unset, a default InvocationConfig will be used.
.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getInvocationConfig
in interfaceWorkflowInvocationOrBuilder
- Returns:
- The invocationConfig.
-
setInvocationConfig
public WorkflowInvocation.Builder setInvocationConfig(WorkflowInvocation.InvocationConfig value)
Immutable. If left unset, a default InvocationConfig will be used.
.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE];
-
setInvocationConfig
public WorkflowInvocation.Builder setInvocationConfig(WorkflowInvocation.InvocationConfig.Builder builderForValue)
Immutable. If left unset, a default InvocationConfig will be used.
.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE];
-
mergeInvocationConfig
public WorkflowInvocation.Builder mergeInvocationConfig(WorkflowInvocation.InvocationConfig value)
Immutable. If left unset, a default InvocationConfig will be used.
.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE];
-
clearInvocationConfig
public WorkflowInvocation.Builder clearInvocationConfig()
Immutable. If left unset, a default InvocationConfig will be used.
.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE];
-
getInvocationConfigBuilder
public WorkflowInvocation.InvocationConfig.Builder getInvocationConfigBuilder()
Immutable. If left unset, a default InvocationConfig will be used.
.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE];
-
getInvocationConfigOrBuilder
public WorkflowInvocation.InvocationConfigOrBuilder getInvocationConfigOrBuilder()
Immutable. If left unset, a default InvocationConfig will be used.
.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getInvocationConfigOrBuilder
in interfaceWorkflowInvocationOrBuilder
-
getStateValue
public int getStateValue()
Output only. This workflow invocation's current state.
.google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateValue
in interfaceWorkflowInvocationOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public WorkflowInvocation.Builder setStateValue(int value)
Output only. This workflow invocation's current state.
.google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
public WorkflowInvocation.State getState()
Output only. This workflow invocation's current state.
.google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getState
in interfaceWorkflowInvocationOrBuilder
- Returns:
- The state.
-
setState
public WorkflowInvocation.Builder setState(WorkflowInvocation.State value)
Output only. This workflow invocation's current state.
.google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The state to set.- Returns:
- This builder for chaining.
-
clearState
public WorkflowInvocation.Builder clearState()
Output only. This workflow invocation's current state.
.google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
hasInvocationTiming
public boolean hasInvocationTiming()
Output only. This workflow invocation's timing details.
.google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasInvocationTiming
in interfaceWorkflowInvocationOrBuilder
- Returns:
- Whether the invocationTiming field is set.
-
getInvocationTiming
public com.google.type.Interval getInvocationTiming()
Output only. This workflow invocation's timing details.
.google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getInvocationTiming
in interfaceWorkflowInvocationOrBuilder
- Returns:
- The invocationTiming.
-
setInvocationTiming
public WorkflowInvocation.Builder setInvocationTiming(com.google.type.Interval value)
Output only. This workflow invocation's timing details.
.google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setInvocationTiming
public WorkflowInvocation.Builder setInvocationTiming(com.google.type.Interval.Builder builderForValue)
Output only. This workflow invocation's timing details.
.google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeInvocationTiming
public WorkflowInvocation.Builder mergeInvocationTiming(com.google.type.Interval value)
Output only. This workflow invocation's timing details.
.google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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];
-
getInvocationTimingBuilder
public com.google.type.Interval.Builder getInvocationTimingBuilder()
Output only. This workflow invocation's timing details.
.google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getInvocationTimingOrBuilder
public com.google.type.IntervalOrBuilder getInvocationTimingOrBuilder()
Output only. This workflow invocation's timing details.
.google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getInvocationTimingOrBuilder
in interfaceWorkflowInvocationOrBuilder
-
setUnknownFields
public final WorkflowInvocation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowInvocation.Builder>
-
mergeUnknownFields
public final WorkflowInvocation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowInvocation.Builder>
-
-