Package com.google.cloud.dataform.v1
Class CompilationResultAction.DataPreparation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CompilationResultAction.DataPreparation.Builder>
com.google.cloud.dataform.v1.CompilationResultAction.DataPreparation.Builder
- All Implemented Interfaces:
CompilationResultAction.DataPreparationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CompilationResultAction.DataPreparation
public static final class CompilationResultAction.DataPreparation.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CompilationResultAction.DataPreparation.Builder>
implements CompilationResultAction.DataPreparationOrBuilder
Defines a compiled Data Preparation entityProtobuf type
google.cloud.dataform.v1.CompilationResultAction.DataPreparation-
Method Summary
Modifier and TypeMethodDescriptionaddAllDependencyTargets(Iterable<? extends Target> values) A list of actions that this action depends on.addAllTags(Iterable<String> values) Arbitrary, user-defined tags on this action.addDependencyTargets(int index, Target value) A list of actions that this action depends on.addDependencyTargets(int index, Target.Builder builderForValue) A list of actions that this action depends on.addDependencyTargets(Target value) A list of actions that this action depends on.addDependencyTargets(Target.Builder builderForValue) A list of actions that this action depends on.A list of actions that this action depends on.addDependencyTargetsBuilder(int index) A list of actions that this action depends on.Arbitrary, user-defined tags on this action.addTagsBytes(com.google.protobuf.ByteString value) Arbitrary, user-defined tags on this action.build()clear()SQL definition for a Data Preparation.The data preparation definition, stored as a YAML string.A list of actions that this action depends on.Whether this action is disabled (i.e. should not be run).Arbitrary, user-defined tags on this action.SQL definition for a Data Preparation.SQL definition for a Data Preparation.SQL definition for a Data Preparation.The data preparation definition, stored as a YAML string.com.google.protobuf.ByteStringThe data preparation definition, stored as a YAML string.getDependencyTargets(int index) A list of actions that this action depends on.getDependencyTargetsBuilder(int index) A list of actions that this action depends on.A list of actions that this action depends on.intA list of actions that this action depends on.A list of actions that this action depends on.getDependencyTargetsOrBuilder(int index) A list of actions that this action depends on.List<? extends TargetOrBuilder>A list of actions that this action depends on.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanWhether this action is disabled (i.e. should not be run).getTags(int index) Arbitrary, user-defined tags on this action.com.google.protobuf.ByteStringgetTagsBytes(int index) Arbitrary, user-defined tags on this action.intArbitrary, user-defined tags on this action.com.google.protobuf.ProtocolStringListArbitrary, user-defined tags on this action.booleanSQL definition for a Data Preparation.booleanThe data preparation definition, stored as a YAML string.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) removeDependencyTargets(int index) A list of actions that this action depends on.SQL definition for a Data Preparation.SQL definition for a Data Preparation.setContentsYaml(String value) The data preparation definition, stored as a YAML string.setContentsYamlBytes(com.google.protobuf.ByteString value) The data preparation definition, stored as a YAML string.setDependencyTargets(int index, Target value) A list of actions that this action depends on.setDependencyTargets(int index, Target.Builder builderForValue) A list of actions that this action depends on.setDisabled(boolean value) Whether this action is disabled (i.e. should not be run).Arbitrary, user-defined tags on this action.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<CompilationResultAction.DataPreparation.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<CompilationResultAction.DataPreparation.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<CompilationResultAction.DataPreparation.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
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CompilationResultAction.DataPreparation.Builder>
-
mergeFrom
public CompilationResultAction.DataPreparation.Builder mergeFrom(CompilationResultAction.DataPreparation other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CompilationResultAction.DataPreparation.Builder>
-
mergeFrom
public CompilationResultAction.DataPreparation.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<CompilationResultAction.DataPreparation.Builder>- Throws:
IOException
-
getDefinitionCase
- Specified by:
getDefinitionCasein interfaceCompilationResultAction.DataPreparationOrBuilder
-
clearDefinition
-
hasContentsYaml
public boolean hasContentsYaml()The data preparation definition, stored as a YAML string.
string contents_yaml = 5;- Specified by:
hasContentsYamlin interfaceCompilationResultAction.DataPreparationOrBuilder- Returns:
- Whether the contentsYaml field is set.
-
getContentsYaml
The data preparation definition, stored as a YAML string.
string contents_yaml = 5;- Specified by:
getContentsYamlin interfaceCompilationResultAction.DataPreparationOrBuilder- Returns:
- The contentsYaml.
-
getContentsYamlBytes
public com.google.protobuf.ByteString getContentsYamlBytes()The data preparation definition, stored as a YAML string.
string contents_yaml = 5;- Specified by:
getContentsYamlBytesin interfaceCompilationResultAction.DataPreparationOrBuilder- Returns:
- The bytes for contentsYaml.
-
setContentsYaml
The data preparation definition, stored as a YAML string.
string contents_yaml = 5;- Parameters:
value- The contentsYaml to set.- Returns:
- This builder for chaining.
-
clearContentsYaml
The data preparation definition, stored as a YAML string.
string contents_yaml = 5;- Returns:
- This builder for chaining.
-
setContentsYamlBytes
public CompilationResultAction.DataPreparation.Builder setContentsYamlBytes(com.google.protobuf.ByteString value) The data preparation definition, stored as a YAML string.
string contents_yaml = 5;- 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.v1.CompilationResultAction.DataPreparation.SqlDefinition contents_sql = 6;- Specified by:
hasContentsSqlin interfaceCompilationResultAction.DataPreparationOrBuilder- 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.v1.CompilationResultAction.DataPreparation.SqlDefinition contents_sql = 6;- Specified by:
getContentsSqlin interfaceCompilationResultAction.DataPreparationOrBuilder- Returns:
- The contentsSql.
-
setContentsSql
public CompilationResultAction.DataPreparation.Builder setContentsSql(CompilationResultAction.DataPreparation.SqlDefinition value) SQL definition for a Data Preparation. Contains a SQL query and additional context information.
.google.cloud.dataform.v1.CompilationResultAction.DataPreparation.SqlDefinition contents_sql = 6; -
setContentsSql
public CompilationResultAction.DataPreparation.Builder setContentsSql(CompilationResultAction.DataPreparation.SqlDefinition.Builder builderForValue) SQL definition for a Data Preparation. Contains a SQL query and additional context information.
.google.cloud.dataform.v1.CompilationResultAction.DataPreparation.SqlDefinition contents_sql = 6; -
mergeContentsSql
public CompilationResultAction.DataPreparation.Builder mergeContentsSql(CompilationResultAction.DataPreparation.SqlDefinition value) SQL definition for a Data Preparation. Contains a SQL query and additional context information.
.google.cloud.dataform.v1.CompilationResultAction.DataPreparation.SqlDefinition contents_sql = 6; -
clearContentsSql
SQL definition for a Data Preparation. Contains a SQL query and additional context information.
.google.cloud.dataform.v1.CompilationResultAction.DataPreparation.SqlDefinition contents_sql = 6; -
getContentsSqlBuilder
SQL definition for a Data Preparation. Contains a SQL query and additional context information.
.google.cloud.dataform.v1.CompilationResultAction.DataPreparation.SqlDefinition contents_sql = 6; -
getContentsSqlOrBuilder
SQL definition for a Data Preparation. Contains a SQL query and additional context information.
.google.cloud.dataform.v1.CompilationResultAction.DataPreparation.SqlDefinition contents_sql = 6;- Specified by:
getContentsSqlOrBuilderin interfaceCompilationResultAction.DataPreparationOrBuilder
-
getDependencyTargetsList
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1.Target dependency_targets = 1;- Specified by:
getDependencyTargetsListin interfaceCompilationResultAction.DataPreparationOrBuilder
-
getDependencyTargetsCount
public int getDependencyTargetsCount()A list of actions that this action depends on.
repeated .google.cloud.dataform.v1.Target dependency_targets = 1;- Specified by:
getDependencyTargetsCountin interfaceCompilationResultAction.DataPreparationOrBuilder
-
getDependencyTargets
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1.Target dependency_targets = 1;- Specified by:
getDependencyTargetsin interfaceCompilationResultAction.DataPreparationOrBuilder
-
setDependencyTargets
public CompilationResultAction.DataPreparation.Builder setDependencyTargets(int index, Target value) A list of actions that this action depends on.
repeated .google.cloud.dataform.v1.Target dependency_targets = 1; -
setDependencyTargets
public CompilationResultAction.DataPreparation.Builder setDependencyTargets(int index, Target.Builder builderForValue) A list of actions that this action depends on.
repeated .google.cloud.dataform.v1.Target dependency_targets = 1; -
addDependencyTargets
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1.Target dependency_targets = 1; -
addDependencyTargets
public CompilationResultAction.DataPreparation.Builder addDependencyTargets(int index, Target value) A list of actions that this action depends on.
repeated .google.cloud.dataform.v1.Target dependency_targets = 1; -
addDependencyTargets
public CompilationResultAction.DataPreparation.Builder addDependencyTargets(Target.Builder builderForValue) A list of actions that this action depends on.
repeated .google.cloud.dataform.v1.Target dependency_targets = 1; -
addDependencyTargets
public CompilationResultAction.DataPreparation.Builder addDependencyTargets(int index, Target.Builder builderForValue) A list of actions that this action depends on.
repeated .google.cloud.dataform.v1.Target dependency_targets = 1; -
addAllDependencyTargets
public CompilationResultAction.DataPreparation.Builder addAllDependencyTargets(Iterable<? extends Target> values) A list of actions that this action depends on.
repeated .google.cloud.dataform.v1.Target dependency_targets = 1; -
clearDependencyTargets
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1.Target dependency_targets = 1; -
removeDependencyTargets
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1.Target dependency_targets = 1; -
getDependencyTargetsBuilder
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1.Target dependency_targets = 1; -
getDependencyTargetsOrBuilder
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1.Target dependency_targets = 1;- Specified by:
getDependencyTargetsOrBuilderin interfaceCompilationResultAction.DataPreparationOrBuilder
-
getDependencyTargetsOrBuilderList
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1.Target dependency_targets = 1;- Specified by:
getDependencyTargetsOrBuilderListin interfaceCompilationResultAction.DataPreparationOrBuilder
-
addDependencyTargetsBuilder
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1.Target dependency_targets = 1; -
addDependencyTargetsBuilder
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1.Target dependency_targets = 1; -
getDependencyTargetsBuilderList
A list of actions that this action depends on.
repeated .google.cloud.dataform.v1.Target dependency_targets = 1; -
getDisabled
public boolean getDisabled()Whether this action is disabled (i.e. should not be run).
bool disabled = 2;- Specified by:
getDisabledin interfaceCompilationResultAction.DataPreparationOrBuilder- Returns:
- The disabled.
-
setDisabled
Whether this action is disabled (i.e. should not be run).
bool disabled = 2;- Parameters:
value- The disabled to set.- Returns:
- This builder for chaining.
-
clearDisabled
Whether this action is disabled (i.e. should not be run).
bool disabled = 2;- Returns:
- This builder for chaining.
-
getTagsList
public com.google.protobuf.ProtocolStringList getTagsList()Arbitrary, user-defined tags on this action.
repeated string tags = 4;- Specified by:
getTagsListin interfaceCompilationResultAction.DataPreparationOrBuilder- Returns:
- A list containing the tags.
-
getTagsCount
public int getTagsCount()Arbitrary, user-defined tags on this action.
repeated string tags = 4;- Specified by:
getTagsCountin interfaceCompilationResultAction.DataPreparationOrBuilder- Returns:
- The count of tags.
-
getTags
Arbitrary, user-defined tags on this action.
repeated string tags = 4;- Specified by:
getTagsin interfaceCompilationResultAction.DataPreparationOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
public com.google.protobuf.ByteString getTagsBytes(int index) Arbitrary, user-defined tags on this action.
repeated string tags = 4;- Specified by:
getTagsBytesin interfaceCompilationResultAction.DataPreparationOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
setTags
Arbitrary, user-defined tags on this action.
repeated string tags = 4;- Parameters:
index- The index to set the value at.value- The tags to set.- Returns:
- This builder for chaining.
-
addTags
Arbitrary, user-defined tags on this action.
repeated string tags = 4;- Parameters:
value- The tags to add.- Returns:
- This builder for chaining.
-
addAllTags
Arbitrary, user-defined tags on this action.
repeated string tags = 4;- Parameters:
values- The tags to add.- Returns:
- This builder for chaining.
-
clearTags
Arbitrary, user-defined tags on this action.
repeated string tags = 4;- Returns:
- This builder for chaining.
-
addTagsBytes
public CompilationResultAction.DataPreparation.Builder addTagsBytes(com.google.protobuf.ByteString value) Arbitrary, user-defined tags on this action.
repeated string tags = 4;- Parameters:
value- The bytes of the tags to add.- Returns:
- This builder for chaining.
-