Class PipelineConfig.Builder (0.98.0)

public static final class PipelineConfig.Builder extends GeneratedMessage.Builder<PipelineConfig.Builder> implements PipelineConfigOrBuilder

Defines the pipeline type and path within the Git repository.

Protobuf type google.cloud.dataform.v1beta1.PipelineConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public PipelineConfig build()
Returns
Type Description
PipelineConfig

buildPartial()

public PipelineConfig buildPartial()
Returns
Type Description
PipelineConfig

clear()

public PipelineConfig.Builder clear()
Returns
Type Description
PipelineConfig.Builder
Overrides

clearPath()

public PipelineConfig.Builder clearPath()

Required. The relative path within the Git repository where the pipeline is defined. For example, for a Dataform pipeline, it is a path to the folder where workflow_settings.yaml or dataform.json is located.

string path = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PipelineConfig.Builder

This builder for chaining.

clearPipelineType()

public PipelineConfig.Builder clearPipelineType()

Required. The type of the pipeline.

.google.cloud.dataform.v1beta1.PipelineConfig.PipelineType pipeline_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PipelineConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public PipelineConfig getDefaultInstanceForType()
Returns
Type Description
PipelineConfig

getDescriptorForType()

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

getPath()

public String getPath()

Required. The relative path within the Git repository where the pipeline is defined. For example, for a Dataform pipeline, it is a path to the folder where workflow_settings.yaml or dataform.json is located.

string path = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The path.

getPathBytes()

public ByteString getPathBytes()

Required. The relative path within the Git repository where the pipeline is defined. For example, for a Dataform pipeline, it is a path to the folder where workflow_settings.yaml or dataform.json is located.

string path = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for path.

getPipelineType()

public PipelineConfig.PipelineType getPipelineType()

Required. The type of the pipeline.

.google.cloud.dataform.v1beta1.PipelineConfig.PipelineType pipeline_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PipelineConfig.PipelineType

The pipelineType.

getPipelineTypeValue()

public int getPipelineTypeValue()

Required. The type of the pipeline.

.google.cloud.dataform.v1beta1.PipelineConfig.PipelineType pipeline_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for pipelineType.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PipelineConfig other)

public PipelineConfig.Builder mergeFrom(PipelineConfig other)
Parameter
Name Description
other PipelineConfig
Returns
Type Description
PipelineConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PipelineConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PipelineConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PipelineConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PipelineConfig.Builder
Overrides

setPath(String value)

public PipelineConfig.Builder setPath(String value)

Required. The relative path within the Git repository where the pipeline is defined. For example, for a Dataform pipeline, it is a path to the folder where workflow_settings.yaml or dataform.json is located.

string path = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The path to set.

Returns
Type Description
PipelineConfig.Builder

This builder for chaining.

setPathBytes(ByteString value)

public PipelineConfig.Builder setPathBytes(ByteString value)

Required. The relative path within the Git repository where the pipeline is defined. For example, for a Dataform pipeline, it is a path to the folder where workflow_settings.yaml or dataform.json is located.

string path = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for path to set.

Returns
Type Description
PipelineConfig.Builder

This builder for chaining.

setPipelineType(PipelineConfig.PipelineType value)

public PipelineConfig.Builder setPipelineType(PipelineConfig.PipelineType value)

Required. The type of the pipeline.

.google.cloud.dataform.v1beta1.PipelineConfig.PipelineType pipeline_type = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value PipelineConfig.PipelineType

The pipelineType to set.

Returns
Type Description
PipelineConfig.Builder

This builder for chaining.

setPipelineTypeValue(int value)

public PipelineConfig.Builder setPipelineTypeValue(int value)

Required. The type of the pipeline.

.google.cloud.dataform.v1beta1.PipelineConfig.PipelineType pipeline_type = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

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

Returns
Type Description
PipelineConfig.Builder

This builder for chaining.