Class ListDlpJobsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListDlpJobsResponse.Builder>
com.google.privacy.dlp.v2.ListDlpJobsResponse.Builder
All Implemented Interfaces:
ListDlpJobsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListDlpJobsResponse

public static final class ListDlpJobsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListDlpJobsResponse.Builder> implements ListDlpJobsResponseOrBuilder
 The response message for listing DLP jobs.
 
Protobuf type google.privacy.dlp.v2.ListDlpJobsResponse
  • 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<ListDlpJobsResponse.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<ListDlpJobsResponse.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<ListDlpJobsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListDlpJobsResponse.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<ListDlpJobsResponse.Builder>
      Throws:
      IOException
    • getJobsList

      public List<DlpJob> getJobsList()
       A list of DlpJobs that matches the specified filter in the request.
       
      repeated .google.privacy.dlp.v2.DlpJob jobs = 1;
      Specified by:
      getJobsList in interface ListDlpJobsResponseOrBuilder
    • getJobsCount

      public int getJobsCount()
       A list of DlpJobs that matches the specified filter in the request.
       
      repeated .google.privacy.dlp.v2.DlpJob jobs = 1;
      Specified by:
      getJobsCount in interface ListDlpJobsResponseOrBuilder
    • getJobs

      public DlpJob getJobs(int index)
       A list of DlpJobs that matches the specified filter in the request.
       
      repeated .google.privacy.dlp.v2.DlpJob jobs = 1;
      Specified by:
      getJobs in interface ListDlpJobsResponseOrBuilder
    • setJobs

      public ListDlpJobsResponse.Builder setJobs(int index, DlpJob value)
       A list of DlpJobs that matches the specified filter in the request.
       
      repeated .google.privacy.dlp.v2.DlpJob jobs = 1;
    • setJobs

      public ListDlpJobsResponse.Builder setJobs(int index, DlpJob.Builder builderForValue)
       A list of DlpJobs that matches the specified filter in the request.
       
      repeated .google.privacy.dlp.v2.DlpJob jobs = 1;
    • addJobs

      public ListDlpJobsResponse.Builder addJobs(DlpJob value)
       A list of DlpJobs that matches the specified filter in the request.
       
      repeated .google.privacy.dlp.v2.DlpJob jobs = 1;
    • addJobs

      public ListDlpJobsResponse.Builder addJobs(int index, DlpJob value)
       A list of DlpJobs that matches the specified filter in the request.
       
      repeated .google.privacy.dlp.v2.DlpJob jobs = 1;
    • addJobs

      public ListDlpJobsResponse.Builder addJobs(DlpJob.Builder builderForValue)
       A list of DlpJobs that matches the specified filter in the request.
       
      repeated .google.privacy.dlp.v2.DlpJob jobs = 1;
    • addJobs

      public ListDlpJobsResponse.Builder addJobs(int index, DlpJob.Builder builderForValue)
       A list of DlpJobs that matches the specified filter in the request.
       
      repeated .google.privacy.dlp.v2.DlpJob jobs = 1;
    • addAllJobs

      public ListDlpJobsResponse.Builder addAllJobs(Iterable<? extends DlpJob> values)
       A list of DlpJobs that matches the specified filter in the request.
       
      repeated .google.privacy.dlp.v2.DlpJob jobs = 1;
    • clearJobs

      public ListDlpJobsResponse.Builder clearJobs()
       A list of DlpJobs that matches the specified filter in the request.
       
      repeated .google.privacy.dlp.v2.DlpJob jobs = 1;
    • removeJobs

      public ListDlpJobsResponse.Builder removeJobs(int index)
       A list of DlpJobs that matches the specified filter in the request.
       
      repeated .google.privacy.dlp.v2.DlpJob jobs = 1;
    • getJobsBuilder

      public DlpJob.Builder getJobsBuilder(int index)
       A list of DlpJobs that matches the specified filter in the request.
       
      repeated .google.privacy.dlp.v2.DlpJob jobs = 1;
    • getJobsOrBuilder

      public DlpJobOrBuilder getJobsOrBuilder(int index)
       A list of DlpJobs that matches the specified filter in the request.
       
      repeated .google.privacy.dlp.v2.DlpJob jobs = 1;
      Specified by:
      getJobsOrBuilder in interface ListDlpJobsResponseOrBuilder
    • getJobsOrBuilderList

      public List<? extends DlpJobOrBuilder> getJobsOrBuilderList()
       A list of DlpJobs that matches the specified filter in the request.
       
      repeated .google.privacy.dlp.v2.DlpJob jobs = 1;
      Specified by:
      getJobsOrBuilderList in interface ListDlpJobsResponseOrBuilder
    • addJobsBuilder

      public DlpJob.Builder addJobsBuilder()
       A list of DlpJobs that matches the specified filter in the request.
       
      repeated .google.privacy.dlp.v2.DlpJob jobs = 1;
    • addJobsBuilder

      public DlpJob.Builder addJobsBuilder(int index)
       A list of DlpJobs that matches the specified filter in the request.
       
      repeated .google.privacy.dlp.v2.DlpJob jobs = 1;
    • getJobsBuilderList

      public List<DlpJob.Builder> getJobsBuilderList()
       A list of DlpJobs that matches the specified filter in the request.
       
      repeated .google.privacy.dlp.v2.DlpJob jobs = 1;
    • getNextPageToken

      public String getNextPageToken()
       The standard List next-page token.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListDlpJobsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       The standard List next-page token.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListDlpJobsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListDlpJobsResponse.Builder setNextPageToken(String value)
       The standard List next-page token.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListDlpJobsResponse.Builder clearNextPageToken()
       The standard List next-page token.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListDlpJobsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       The standard List next-page token.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.