Class UpdateRunRequest.Builder

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

public static final class UpdateRunRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateRunRequest.Builder> implements UpdateRunRequestOrBuilder
 Request message for
 [UpdateRun][google.cloud.datacatalog.lineage.v1.UpdateRun].
 
Protobuf type google.cloud.datacatalog.lineage.v1.UpdateRunRequest
  • 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<UpdateRunRequest.Builder>
    • clear

      public UpdateRunRequest.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<UpdateRunRequest.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<UpdateRunRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public UpdateRunRequest.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<UpdateRunRequest.Builder>
    • mergeFrom

      public UpdateRunRequest.Builder mergeFrom(UpdateRunRequest other)
    • isInitialized

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

      public UpdateRunRequest.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<UpdateRunRequest.Builder>
      Throws:
      IOException
    • hasRun

      public boolean hasRun()
       Required. The lineage run to update.
      
       The run's `name` field is used to identify the run to update.
      
       Format:
       `projects/{project}/locations/{location}/processes/{process}/runs/{run}`.
       
      .google.cloud.datacatalog.lineage.v1.Run run = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasRun in interface UpdateRunRequestOrBuilder
      Returns:
      Whether the run field is set.
    • getRun

      public Run getRun()
       Required. The lineage run to update.
      
       The run's `name` field is used to identify the run to update.
      
       Format:
       `projects/{project}/locations/{location}/processes/{process}/runs/{run}`.
       
      .google.cloud.datacatalog.lineage.v1.Run run = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRun in interface UpdateRunRequestOrBuilder
      Returns:
      The run.
    • setRun

      public UpdateRunRequest.Builder setRun(Run value)
       Required. The lineage run to update.
      
       The run's `name` field is used to identify the run to update.
      
       Format:
       `projects/{project}/locations/{location}/processes/{process}/runs/{run}`.
       
      .google.cloud.datacatalog.lineage.v1.Run run = 1 [(.google.api.field_behavior) = REQUIRED];
    • setRun

      public UpdateRunRequest.Builder setRun(Run.Builder builderForValue)
       Required. The lineage run to update.
      
       The run's `name` field is used to identify the run to update.
      
       Format:
       `projects/{project}/locations/{location}/processes/{process}/runs/{run}`.
       
      .google.cloud.datacatalog.lineage.v1.Run run = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeRun

      public UpdateRunRequest.Builder mergeRun(Run value)
       Required. The lineage run to update.
      
       The run's `name` field is used to identify the run to update.
      
       Format:
       `projects/{project}/locations/{location}/processes/{process}/runs/{run}`.
       
      .google.cloud.datacatalog.lineage.v1.Run run = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearRun

      public UpdateRunRequest.Builder clearRun()
       Required. The lineage run to update.
      
       The run's `name` field is used to identify the run to update.
      
       Format:
       `projects/{project}/locations/{location}/processes/{process}/runs/{run}`.
       
      .google.cloud.datacatalog.lineage.v1.Run run = 1 [(.google.api.field_behavior) = REQUIRED];
    • getRunBuilder

      public Run.Builder getRunBuilder()
       Required. The lineage run to update.
      
       The run's `name` field is used to identify the run to update.
      
       Format:
       `projects/{project}/locations/{location}/processes/{process}/runs/{run}`.
       
      .google.cloud.datacatalog.lineage.v1.Run run = 1 [(.google.api.field_behavior) = REQUIRED];
    • getRunOrBuilder

      public RunOrBuilder getRunOrBuilder()
       Required. The lineage run to update.
      
       The run's `name` field is used to identify the run to update.
      
       Format:
       `projects/{project}/locations/{location}/processes/{process}/runs/{run}`.
       
      .google.cloud.datacatalog.lineage.v1.Run run = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRunOrBuilder in interface UpdateRunRequestOrBuilder
    • hasUpdateMask

      public boolean hasUpdateMask()
       The list of fields to update. Currently not used. The whole message is
       updated.
       
      .google.protobuf.FieldMask update_mask = 2;
      Specified by:
      hasUpdateMask in interface UpdateRunRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       The list of fields to update. Currently not used. The whole message is
       updated.
       
      .google.protobuf.FieldMask update_mask = 2;
      Specified by:
      getUpdateMask in interface UpdateRunRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateRunRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       The list of fields to update. Currently not used. The whole message is
       updated.
       
      .google.protobuf.FieldMask update_mask = 2;
    • setUpdateMask

      public UpdateRunRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       The list of fields to update. Currently not used. The whole message is
       updated.
       
      .google.protobuf.FieldMask update_mask = 2;
    • mergeUpdateMask

      public UpdateRunRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       The list of fields to update. Currently not used. The whole message is
       updated.
       
      .google.protobuf.FieldMask update_mask = 2;
    • clearUpdateMask

      public UpdateRunRequest.Builder clearUpdateMask()
       The list of fields to update. Currently not used. The whole message is
       updated.
       
      .google.protobuf.FieldMask update_mask = 2;
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       The list of fields to update. Currently not used. The whole message is
       updated.
       
      .google.protobuf.FieldMask update_mask = 2;
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       The list of fields to update. Currently not used. The whole message is
       updated.
       
      .google.protobuf.FieldMask update_mask = 2;
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateRunRequestOrBuilder
    • getAllowMissing

      public boolean getAllowMissing()
       If set to true and the run is not found, the request creates it.
       
      bool allow_missing = 3;
      Specified by:
      getAllowMissing in interface UpdateRunRequestOrBuilder
      Returns:
      The allowMissing.
    • setAllowMissing

      public UpdateRunRequest.Builder setAllowMissing(boolean value)
       If set to true and the run is not found, the request creates it.
       
      bool allow_missing = 3;
      Parameters:
      value - The allowMissing to set.
      Returns:
      This builder for chaining.
    • clearAllowMissing

      public UpdateRunRequest.Builder clearAllowMissing()
       If set to true and the run is not found, the request creates it.
       
      bool allow_missing = 3;
      Returns:
      This builder for chaining.