Class UpdatePipelineRequest.Builder (1.55.0)

public static final class UpdatePipelineRequest.Builder extends GeneratedMessageV3.Builder<UpdatePipelineRequest.Builder> implements UpdatePipelineRequestOrBuilder

The request message for the UpdatePipeline method.

Protobuf type google.cloud.eventarc.v1.UpdatePipelineRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdatePipelineRequest build()
Returns
Type Description
UpdatePipelineRequest

buildPartial()

public UpdatePipelineRequest buildPartial()
Returns
Type Description
UpdatePipelineRequest

clear()

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

clearAllowMissing()

public UpdatePipelineRequest.Builder clearAllowMissing()

Optional. If set to true, and the Pipeline is not found, a new Pipeline will be created. In this situation, update_mask is ignored.

bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdatePipelineRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPipeline()

public UpdatePipelineRequest.Builder clearPipeline()

Required. The Pipeline to be updated.

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

Returns
Type Description
UpdatePipelineRequest.Builder

clearUpdateMask()

public UpdatePipelineRequest.Builder clearUpdateMask()

Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdatePipelineRequest.Builder

clearValidateOnly()

public UpdatePipelineRequest.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
UpdatePipelineRequest.Builder

This builder for chaining.

clone()

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

getAllowMissing()

public boolean getAllowMissing()

Optional. If set to true, and the Pipeline is not found, a new Pipeline will be created. In this situation, update_mask is ignored.

bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The allowMissing.

getDefaultInstanceForType()

public UpdatePipelineRequest getDefaultInstanceForType()
Returns
Type Description
UpdatePipelineRequest

getDescriptorForType()

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

getPipeline()

public Pipeline getPipeline()

Required. The Pipeline to be updated.

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

Returns
Type Description
Pipeline

The pipeline.

getPipelineBuilder()

public Pipeline.Builder getPipelineBuilder()

Required. The Pipeline to be updated.

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

Returns
Type Description
Pipeline.Builder

getPipelineOrBuilder()

public PipelineOrBuilder getPipelineOrBuilder()

Required. The Pipeline to be updated.

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

Returns
Type Description
PipelineOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMaskOrBuilder

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 be updated.

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

Returns
Type Description
boolean

Whether the pipeline field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdatePipelineRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePipeline(Pipeline value)

public UpdatePipelineRequest.Builder mergePipeline(Pipeline value)

Required. The Pipeline to be updated.

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

Parameter
Name Description
value Pipeline
Returns
Type Description
UpdatePipelineRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdatePipelineRequest.Builder mergeUpdateMask(FieldMask value)

Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdatePipelineRequest.Builder

setAllowMissing(boolean value)

public UpdatePipelineRequest.Builder setAllowMissing(boolean value)

Optional. If set to true, and the Pipeline is not found, a new Pipeline will be created. In this situation, update_mask is ignored.

bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The allowMissing to set.

Returns
Type Description
UpdatePipelineRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setPipeline(Pipeline value)

public UpdatePipelineRequest.Builder setPipeline(Pipeline value)

Required. The Pipeline to be updated.

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

Parameter
Name Description
value Pipeline
Returns
Type Description
UpdatePipelineRequest.Builder

setPipeline(Pipeline.Builder builderForValue)

public UpdatePipelineRequest.Builder setPipeline(Pipeline.Builder builderForValue)

Required. The Pipeline to be updated.

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdatePipelineRequest.Builder setUpdateMask(FieldMask value)

Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdatePipelineRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdatePipelineRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdatePipelineRequest.Builder

setValidateOnly(boolean value)

public UpdatePipelineRequest.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
UpdatePipelineRequest.Builder

This builder for chaining.