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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdatePipelineRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdatePipelineRequest build()
buildPartial()
public UpdatePipelineRequest buildPartial()
clear()
public UpdatePipelineRequest.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public UpdatePipelineRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdatePipelineRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPipeline()
public UpdatePipelineRequest.Builder clearPipeline()
Required. The Pipeline to be updated.
.google.cloud.eventarc.v1.Pipeline pipeline = 1 [(.google.api.field_behavior) = REQUIRED];
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];
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];
clone()
public UpdatePipelineRequest.Builder clone()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
getPipelineOrBuilder()
public PipelineOrBuilder getPipelineOrBuilder()
Required. The Pipeline to be updated.
.google.cloud.eventarc.v1.Pipeline pipeline = 1 [(.google.api.field_behavior) = REQUIRED];
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdatePipelineRequest other)
public UpdatePipelineRequest.Builder mergeFrom(UpdatePipelineRequest other)
public UpdatePipelineRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdatePipelineRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdatePipelineRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public UpdatePipelineRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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
|
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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdatePipelineRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdatePipelineRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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];
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
|
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.
|