Class CreatePipelineRequest.Builder (1.54.0)

public static final class CreatePipelineRequest.Builder extends GeneratedMessageV3.Builder<CreatePipelineRequest.Builder> implements CreatePipelineRequestOrBuilder

The request message for the CreatePipeline method.

Protobuf type google.cloud.eventarc.v1.CreatePipelineRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreatePipelineRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreatePipelineRequest.Builder
Overrides

build()

public CreatePipelineRequest build()
Returns
Type Description
CreatePipelineRequest

buildPartial()

public CreatePipelineRequest buildPartial()
Returns
Type Description
CreatePipelineRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public CreatePipelineRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreatePipelineRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreatePipelineRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreatePipelineRequest.Builder
Overrides

clearParent()

public CreatePipelineRequest.Builder clearParent()

Required. The parent collection in which to add this pipeline.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreatePipelineRequest.Builder

This builder for chaining.

clearPipeline()

public CreatePipelineRequest.Builder clearPipeline()

Required. The pipeline to create.

.google.cloud.eventarc.v1.Pipeline pipeline = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreatePipelineRequest.Builder

clearPipelineId()

public CreatePipelineRequest.Builder clearPipelineId()

Required. The user-provided ID to be assigned to the Pipeline.

string pipeline_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreatePipelineRequest.Builder

This builder for chaining.

clearValidateOnly()

public CreatePipelineRequest.Builder clearValidateOnly()

Optional. If set, validate the request and preview the review, but do not post it.

bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CreatePipelineRequest.Builder

This builder for chaining.

clone()

public CreatePipelineRequest.Builder clone()
Returns
Type Description
CreatePipelineRequest.Builder
Overrides

getDefaultInstanceForType()

public CreatePipelineRequest getDefaultInstanceForType()
Returns
Type Description
CreatePipelineRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The parent collection in which to add this pipeline.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent collection in which to add this pipeline.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getPipeline()

public Pipeline getPipeline()

Required. The pipeline to create.

.google.cloud.eventarc.v1.Pipeline pipeline = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Pipeline

The pipeline.

getPipelineBuilder()

public Pipeline.Builder getPipelineBuilder()

Required. The pipeline to create.

.google.cloud.eventarc.v1.Pipeline pipeline = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Pipeline.Builder

getPipelineId()

public String getPipelineId()

Required. The user-provided ID to be assigned to the Pipeline.

string pipeline_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The pipelineId.

getPipelineIdBytes()

public ByteString getPipelineIdBytes()

Required. The user-provided ID to be assigned to the Pipeline.

string pipeline_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for pipelineId.

getPipelineOrBuilder()

public PipelineOrBuilder getPipelineOrBuilder()

Required. The pipeline to create.

.google.cloud.eventarc.v1.Pipeline pipeline = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PipelineOrBuilder

getValidateOnly()

public boolean getValidateOnly()

Optional. If set, validate the request and preview the review, but do not post it.

bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The validateOnly.

hasPipeline()

public boolean hasPipeline()

Required. The pipeline to create.

.google.cloud.eventarc.v1.Pipeline pipeline = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the pipeline field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreatePipelineRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePipeline(Pipeline value)

public CreatePipelineRequest.Builder mergePipeline(Pipeline value)

Required. The pipeline to create.

.google.cloud.eventarc.v1.Pipeline pipeline = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Pipeline
Returns
Type Description
CreatePipelineRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreatePipelineRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreatePipelineRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreatePipelineRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreatePipelineRequest.Builder
Overrides

setParent(String value)

public CreatePipelineRequest.Builder setParent(String value)

Required. The parent collection in which to add this pipeline.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreatePipelineRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreatePipelineRequest.Builder setParentBytes(ByteString value)

Required. The parent collection in which to add this pipeline.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreatePipelineRequest.Builder

This builder for chaining.

setPipeline(Pipeline value)

public CreatePipelineRequest.Builder setPipeline(Pipeline value)

Required. The pipeline to create.

.google.cloud.eventarc.v1.Pipeline pipeline = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Pipeline
Returns
Type Description
CreatePipelineRequest.Builder

setPipeline(Pipeline.Builder builderForValue)

public CreatePipelineRequest.Builder setPipeline(Pipeline.Builder builderForValue)

Required. The pipeline to create.

.google.cloud.eventarc.v1.Pipeline pipeline = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Pipeline.Builder
Returns
Type Description
CreatePipelineRequest.Builder

setPipelineId(String value)

public CreatePipelineRequest.Builder setPipelineId(String value)

Required. The user-provided ID to be assigned to the Pipeline.

string pipeline_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The pipelineId to set.

Returns
Type Description
CreatePipelineRequest.Builder

This builder for chaining.

setPipelineIdBytes(ByteString value)

public CreatePipelineRequest.Builder setPipelineIdBytes(ByteString value)

Required. The user-provided ID to be assigned to the Pipeline.

string pipeline_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for pipelineId to set.

Returns
Type Description
CreatePipelineRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreatePipelineRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreatePipelineRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreatePipelineRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreatePipelineRequest.Builder
Overrides

setValidateOnly(boolean value)

public CreatePipelineRequest.Builder setValidateOnly(boolean value)

Optional. If set, validate the request and preview the review, but do not post it.

bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The validateOnly to set.

Returns
Type Description
CreatePipelineRequest.Builder

This builder for chaining.