Class WorkflowInvocationAction.DataPreparationAction.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<WorkflowInvocationAction.DataPreparationAction.Builder>
com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.DataPreparationAction.Builder
- All Implemented Interfaces:
WorkflowInvocationAction.DataPreparationActionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- WorkflowInvocationAction.DataPreparationAction
public static final class WorkflowInvocationAction.DataPreparationAction.Builder
extends com.google.protobuf.GeneratedMessage.Builder<WorkflowInvocationAction.DataPreparationAction.Builder>
implements WorkflowInvocationAction.DataPreparationActionOrBuilder
Represents a workflow action that will run a Data Preparation.Protobuf type
google.cloud.dataform.v1beta1.WorkflowInvocationAction.DataPreparationAction-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()SQL definition for a Data Preparation.Output only.Output only.Output only.SQL definition for a Data Preparation.SQL definition for a Data Preparation.SQL definition for a Data Preparation.Output only.com.google.protobuf.ByteStringOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.getJobId()Output only.com.google.protobuf.ByteStringOutput only.booleanSQL definition for a Data Preparation.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanSQL definition for a Data Preparation.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) SQL definition for a Data Preparation.setContentsSql(WorkflowInvocationAction.DataPreparationAction.ActionSqlDefinition.Builder builderForValue) SQL definition for a Data Preparation.setContentsYaml(String value) Output only.setContentsYamlBytes(com.google.protobuf.ByteString value) Output only.setGeneratedSql(String value) Output only.setGeneratedSqlBytes(com.google.protobuf.ByteString value) Output only.Output only.setJobIdBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<WorkflowInvocationAction.DataPreparationAction.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<WorkflowInvocationAction.DataPreparationAction.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<WorkflowInvocationAction.DataPreparationAction.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public WorkflowInvocationAction.DataPreparationAction.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WorkflowInvocationAction.DataPreparationAction.Builder>
-
mergeFrom
public WorkflowInvocationAction.DataPreparationAction.Builder mergeFrom(WorkflowInvocationAction.DataPreparationAction other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<WorkflowInvocationAction.DataPreparationAction.Builder>
-
mergeFrom
public WorkflowInvocationAction.DataPreparationAction.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WorkflowInvocationAction.DataPreparationAction.Builder>- Throws:
IOException
-
getDefinitionCase
- Specified by:
getDefinitionCasein interfaceWorkflowInvocationAction.DataPreparationActionOrBuilder
-
clearDefinition
-
hasContentsYaml
public boolean hasContentsYaml()Output only. YAML representing the contents of the data preparation. Can be used to show the customer what the input was to their workflow.
string contents_yaml = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasContentsYamlin interfaceWorkflowInvocationAction.DataPreparationActionOrBuilder- Returns:
- Whether the contentsYaml field is set.
-
getContentsYaml
Output only. YAML representing the contents of the data preparation. Can be used to show the customer what the input was to their workflow.
string contents_yaml = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getContentsYamlin interfaceWorkflowInvocationAction.DataPreparationActionOrBuilder- Returns:
- The contentsYaml.
-
getContentsYamlBytes
public com.google.protobuf.ByteString getContentsYamlBytes()Output only. YAML representing the contents of the data preparation. Can be used to show the customer what the input was to their workflow.
string contents_yaml = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getContentsYamlBytesin interfaceWorkflowInvocationAction.DataPreparationActionOrBuilder- Returns:
- The bytes for contentsYaml.
-
setContentsYaml
Output only. YAML representing the contents of the data preparation. Can be used to show the customer what the input was to their workflow.
string contents_yaml = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The contentsYaml to set.- Returns:
- This builder for chaining.
-
clearContentsYaml
Output only. YAML representing the contents of the data preparation. Can be used to show the customer what the input was to their workflow.
string contents_yaml = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setContentsYamlBytes
public WorkflowInvocationAction.DataPreparationAction.Builder setContentsYamlBytes(com.google.protobuf.ByteString value) Output only. YAML representing the contents of the data preparation. Can be used to show the customer what the input was to their workflow.
string contents_yaml = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for contentsYaml to set.- Returns:
- This builder for chaining.
-
hasContentsSql
public boolean hasContentsSql()SQL definition for a Data Preparation. Contains a SQL query and additional context information.
.google.cloud.dataform.v1beta1.WorkflowInvocationAction.DataPreparationAction.ActionSqlDefinition contents_sql = 6;- Specified by:
hasContentsSqlin interfaceWorkflowInvocationAction.DataPreparationActionOrBuilder- Returns:
- Whether the contentsSql field is set.
-
getContentsSql
SQL definition for a Data Preparation. Contains a SQL query and additional context information.
.google.cloud.dataform.v1beta1.WorkflowInvocationAction.DataPreparationAction.ActionSqlDefinition contents_sql = 6;- Specified by:
getContentsSqlin interfaceWorkflowInvocationAction.DataPreparationActionOrBuilder- Returns:
- The contentsSql.
-
setContentsSql
public WorkflowInvocationAction.DataPreparationAction.Builder setContentsSql(WorkflowInvocationAction.DataPreparationAction.ActionSqlDefinition value) SQL definition for a Data Preparation. Contains a SQL query and additional context information.
.google.cloud.dataform.v1beta1.WorkflowInvocationAction.DataPreparationAction.ActionSqlDefinition contents_sql = 6; -
setContentsSql
public WorkflowInvocationAction.DataPreparationAction.Builder setContentsSql(WorkflowInvocationAction.DataPreparationAction.ActionSqlDefinition.Builder builderForValue) SQL definition for a Data Preparation. Contains a SQL query and additional context information.
.google.cloud.dataform.v1beta1.WorkflowInvocationAction.DataPreparationAction.ActionSqlDefinition contents_sql = 6; -
mergeContentsSql
public WorkflowInvocationAction.DataPreparationAction.Builder mergeContentsSql(WorkflowInvocationAction.DataPreparationAction.ActionSqlDefinition value) SQL definition for a Data Preparation. Contains a SQL query and additional context information.
.google.cloud.dataform.v1beta1.WorkflowInvocationAction.DataPreparationAction.ActionSqlDefinition contents_sql = 6; -
clearContentsSql
SQL definition for a Data Preparation. Contains a SQL query and additional context information.
.google.cloud.dataform.v1beta1.WorkflowInvocationAction.DataPreparationAction.ActionSqlDefinition contents_sql = 6; -
getContentsSqlBuilder
public WorkflowInvocationAction.DataPreparationAction.ActionSqlDefinition.Builder getContentsSqlBuilder()SQL definition for a Data Preparation. Contains a SQL query and additional context information.
.google.cloud.dataform.v1beta1.WorkflowInvocationAction.DataPreparationAction.ActionSqlDefinition contents_sql = 6; -
getContentsSqlOrBuilder
public WorkflowInvocationAction.DataPreparationAction.ActionSqlDefinitionOrBuilder getContentsSqlOrBuilder()SQL definition for a Data Preparation. Contains a SQL query and additional context information.
.google.cloud.dataform.v1beta1.WorkflowInvocationAction.DataPreparationAction.ActionSqlDefinition contents_sql = 6;- Specified by:
getContentsSqlOrBuilderin interfaceWorkflowInvocationAction.DataPreparationActionOrBuilder
-
getGeneratedSql
Output only. The generated BigQuery SQL script that will be executed. For reference only.
string generated_sql = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getGeneratedSqlin interfaceWorkflowInvocationAction.DataPreparationActionOrBuilder- Returns:
- The generatedSql.
-
getGeneratedSqlBytes
public com.google.protobuf.ByteString getGeneratedSqlBytes()Output only. The generated BigQuery SQL script that will be executed. For reference only.
string generated_sql = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getGeneratedSqlBytesin interfaceWorkflowInvocationAction.DataPreparationActionOrBuilder- Returns:
- The bytes for generatedSql.
-
setGeneratedSql
Output only. The generated BigQuery SQL script that will be executed. For reference only.
string generated_sql = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The generatedSql to set.- Returns:
- This builder for chaining.
-
clearGeneratedSql
Output only. The generated BigQuery SQL script that will be executed. For reference only.
string generated_sql = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setGeneratedSqlBytes
public WorkflowInvocationAction.DataPreparationAction.Builder setGeneratedSqlBytes(com.google.protobuf.ByteString value) Output only. The generated BigQuery SQL script that will be executed. For reference only.
string generated_sql = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for generatedSql to set.- Returns:
- This builder for chaining.
-
getJobId
Output only. The ID of the BigQuery job that executed the SQL in sql_script. Only set once the job has started to run.
string job_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getJobIdin interfaceWorkflowInvocationAction.DataPreparationActionOrBuilder- Returns:
- The jobId.
-
getJobIdBytes
public com.google.protobuf.ByteString getJobIdBytes()Output only. The ID of the BigQuery job that executed the SQL in sql_script. Only set once the job has started to run.
string job_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getJobIdBytesin interfaceWorkflowInvocationAction.DataPreparationActionOrBuilder- Returns:
- The bytes for jobId.
-
setJobId
Output only. The ID of the BigQuery job that executed the SQL in sql_script. Only set once the job has started to run.
string job_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The jobId to set.- Returns:
- This builder for chaining.
-
clearJobId
Output only. The ID of the BigQuery job that executed the SQL in sql_script. Only set once the job has started to run.
string job_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setJobIdBytes
public WorkflowInvocationAction.DataPreparationAction.Builder setJobIdBytes(com.google.protobuf.ByteString value) Output only. The ID of the BigQuery job that executed the SQL in sql_script. Only set once the job has started to run.
string job_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for jobId to set.- Returns:
- This builder for chaining.
-