Class UpdateWatchlistRequest.Builder

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

public static final class UpdateWatchlistRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateWatchlistRequest.Builder> implements UpdateWatchlistRequestOrBuilder
 Request message for updating watchlist.
 
Protobuf type google.cloud.chronicle.v1.UpdateWatchlistRequest
  • 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<UpdateWatchlistRequest.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<UpdateWatchlistRequest.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<UpdateWatchlistRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public UpdateWatchlistRequest.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<UpdateWatchlistRequest.Builder>
      Throws:
      IOException
    • hasWatchlist

      public boolean hasWatchlist()
       Required. The watchlist to update.
      
       The watchlist's `name` field is used to identify the watchlist to update.
       Format:
       `projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}`
       
      .google.cloud.chronicle.v1.Watchlist watchlist = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasWatchlist in interface UpdateWatchlistRequestOrBuilder
      Returns:
      Whether the watchlist field is set.
    • getWatchlist

      public Watchlist getWatchlist()
       Required. The watchlist to update.
      
       The watchlist's `name` field is used to identify the watchlist to update.
       Format:
       `projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}`
       
      .google.cloud.chronicle.v1.Watchlist watchlist = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getWatchlist in interface UpdateWatchlistRequestOrBuilder
      Returns:
      The watchlist.
    • setWatchlist

      public UpdateWatchlistRequest.Builder setWatchlist(Watchlist value)
       Required. The watchlist to update.
      
       The watchlist's `name` field is used to identify the watchlist to update.
       Format:
       `projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}`
       
      .google.cloud.chronicle.v1.Watchlist watchlist = 1 [(.google.api.field_behavior) = REQUIRED];
    • setWatchlist

      public UpdateWatchlistRequest.Builder setWatchlist(Watchlist.Builder builderForValue)
       Required. The watchlist to update.
      
       The watchlist's `name` field is used to identify the watchlist to update.
       Format:
       `projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}`
       
      .google.cloud.chronicle.v1.Watchlist watchlist = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeWatchlist

      public UpdateWatchlistRequest.Builder mergeWatchlist(Watchlist value)
       Required. The watchlist to update.
      
       The watchlist's `name` field is used to identify the watchlist to update.
       Format:
       `projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}`
       
      .google.cloud.chronicle.v1.Watchlist watchlist = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearWatchlist

      public UpdateWatchlistRequest.Builder clearWatchlist()
       Required. The watchlist to update.
      
       The watchlist's `name` field is used to identify the watchlist to update.
       Format:
       `projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}`
       
      .google.cloud.chronicle.v1.Watchlist watchlist = 1 [(.google.api.field_behavior) = REQUIRED];
    • getWatchlistBuilder

      public Watchlist.Builder getWatchlistBuilder()
       Required. The watchlist to update.
      
       The watchlist's `name` field is used to identify the watchlist to update.
       Format:
       `projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}`
       
      .google.cloud.chronicle.v1.Watchlist watchlist = 1 [(.google.api.field_behavior) = REQUIRED];
    • getWatchlistOrBuilder

      public WatchlistOrBuilder getWatchlistOrBuilder()
       Required. The watchlist to update.
      
       The watchlist's `name` field is used to identify the watchlist to update.
       Format:
       `projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}`
       
      .google.cloud.chronicle.v1.Watchlist watchlist = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getWatchlistOrBuilder in interface UpdateWatchlistRequestOrBuilder
    • hasUpdateMask

      public boolean hasUpdateMask()
       Optional. The list of fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasUpdateMask in interface UpdateWatchlistRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Optional. The list of fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMask in interface UpdateWatchlistRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateWatchlistRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Optional. The list of fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setUpdateMask

      public UpdateWatchlistRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Optional. The list of fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • mergeUpdateMask

      public UpdateWatchlistRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Optional. The list of fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearUpdateMask

      public UpdateWatchlistRequest.Builder clearUpdateMask()
       Optional. The list of fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Optional. The list of fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Optional. The list of fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateWatchlistRequestOrBuilder