Class UpdatePipelineRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpdatePipelineRequest.Builder>
com.google.cloud.eventarc.v1.UpdatePipelineRequest.Builder
All Implemented Interfaces:
UpdatePipelineRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
UpdatePipelineRequest

public static final class UpdatePipelineRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdatePipelineRequest.Builder> implements UpdatePipelineRequestOrBuilder
 The request message for the UpdatePipeline method.
 
Protobuf type google.cloud.eventarc.v1.UpdatePipelineRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<UpdatePipelineRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<UpdatePipelineRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<UpdatePipelineRequest.Builder>
    • getDefaultInstanceForType

      public UpdatePipelineRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public UpdatePipelineRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public UpdatePipelineRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public UpdatePipelineRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdatePipelineRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<UpdatePipelineRequest.Builder>
    • mergeFrom

      public UpdatePipelineRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdatePipelineRequest.Builder>
      Throws:
      IOException
    • hasPipeline

      public boolean hasPipeline()
       Required. The Pipeline to be updated.
       
      .google.cloud.eventarc.v1.Pipeline pipeline = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasPipeline in interface UpdatePipelineRequestOrBuilder
      Returns:
      Whether the pipeline field is set.
    • getPipeline

      public Pipeline getPipeline()
       Required. The Pipeline to be updated.
       
      .google.cloud.eventarc.v1.Pipeline pipeline = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPipeline in interface UpdatePipelineRequestOrBuilder
      Returns:
      The pipeline.
    • setPipeline

      public UpdatePipelineRequest.Builder setPipeline(Pipeline value)
       Required. The Pipeline to be updated.
       
      .google.cloud.eventarc.v1.Pipeline pipeline = 1 [(.google.api.field_behavior) = REQUIRED];
    • setPipeline

      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];
    • mergePipeline

      public UpdatePipelineRequest.Builder mergePipeline(Pipeline value)
       Required. The Pipeline to be updated.
       
      .google.cloud.eventarc.v1.Pipeline pipeline = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearPipeline

      public UpdatePipelineRequest.Builder clearPipeline()
       Required. The Pipeline to be updated.
       
      .google.cloud.eventarc.v1.Pipeline pipeline = 1 [(.google.api.field_behavior) = REQUIRED];
    • 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];
      Specified by:
      getPipelineOrBuilder in interface UpdatePipelineRequestOrBuilder
    • 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];
      Specified by:
      hasUpdateMask in interface UpdatePipelineRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.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];
      Specified by:
      getUpdateMask in interface UpdatePipelineRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdatePipelineRequest.Builder setUpdateMask(com.google.protobuf.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

      public UpdatePipelineRequest.Builder setUpdateMask(com.google.protobuf.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];
    • mergeUpdateMask

      public UpdatePipelineRequest.Builder mergeUpdateMask(com.google.protobuf.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];
    • 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];
    • getUpdateMaskBuilder

      public com.google.protobuf.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 com.google.protobuf.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];
      Specified by:
      getUpdateMaskOrBuilder in interface UpdatePipelineRequestOrBuilder
    • 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];
      Specified by:
      getAllowMissing in interface UpdatePipelineRequestOrBuilder
      Returns:
      The allowMissing.
    • setAllowMissing

      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];
      Parameters:
      value - The allowMissing to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • 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];
      Specified by:
      getValidateOnly in interface UpdatePipelineRequestOrBuilder
      Returns:
      The validateOnly.
    • setValidateOnly

      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];
      Parameters:
      value - The validateOnly to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.