Class BatchSearchLinkProcessesRequest.Builder

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

public static final class BatchSearchLinkProcessesRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<BatchSearchLinkProcessesRequest.Builder> implements BatchSearchLinkProcessesRequestOrBuilder
 Request message for
 [BatchSearchLinkProcesses][google.cloud.datacatalog.lineage.v1.Lineage.BatchSearchLinkProcesses].
 
Protobuf type google.cloud.datacatalog.lineage.v1.BatchSearchLinkProcessesRequest
  • 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<BatchSearchLinkProcessesRequest.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<BatchSearchLinkProcessesRequest.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<BatchSearchLinkProcessesRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

      public BatchSearchLinkProcessesRequest.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<BatchSearchLinkProcessesRequest.Builder>
      Throws:
      IOException
    • getParent

      public String getParent()
       Required. The project and location where you want to search.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface BatchSearchLinkProcessesRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The project and location where you want to search.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface BatchSearchLinkProcessesRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

       Required. The project and location where you want to search.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

       Required. The project and location where you want to search.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public BatchSearchLinkProcessesRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The project and location where you want to search.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • getLinksList

      public com.google.protobuf.ProtocolStringList getLinksList()
       Required. An array of links to check for their associated LineageProcesses.
      
       The maximum number of items in this array is 100.
       If the request contains more than 100 links, it returns the
       `INVALID_ARGUMENT` error.
      
       Format: `projects/{project}/locations/{location}/links/{link}`.
       
      repeated string links = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getLinksList in interface BatchSearchLinkProcessesRequestOrBuilder
      Returns:
      A list containing the links.
    • getLinksCount

      public int getLinksCount()
       Required. An array of links to check for their associated LineageProcesses.
      
       The maximum number of items in this array is 100.
       If the request contains more than 100 links, it returns the
       `INVALID_ARGUMENT` error.
      
       Format: `projects/{project}/locations/{location}/links/{link}`.
       
      repeated string links = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getLinksCount in interface BatchSearchLinkProcessesRequestOrBuilder
      Returns:
      The count of links.
    • getLinks

      public String getLinks(int index)
       Required. An array of links to check for their associated LineageProcesses.
      
       The maximum number of items in this array is 100.
       If the request contains more than 100 links, it returns the
       `INVALID_ARGUMENT` error.
      
       Format: `projects/{project}/locations/{location}/links/{link}`.
       
      repeated string links = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getLinks in interface BatchSearchLinkProcessesRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The links at the given index.
    • getLinksBytes

      public com.google.protobuf.ByteString getLinksBytes(int index)
       Required. An array of links to check for their associated LineageProcesses.
      
       The maximum number of items in this array is 100.
       If the request contains more than 100 links, it returns the
       `INVALID_ARGUMENT` error.
      
       Format: `projects/{project}/locations/{location}/links/{link}`.
       
      repeated string links = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getLinksBytes in interface BatchSearchLinkProcessesRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the links at the given index.
    • setLinks

      public BatchSearchLinkProcessesRequest.Builder setLinks(int index, String value)
       Required. An array of links to check for their associated LineageProcesses.
      
       The maximum number of items in this array is 100.
       If the request contains more than 100 links, it returns the
       `INVALID_ARGUMENT` error.
      
       Format: `projects/{project}/locations/{location}/links/{link}`.
       
      repeated string links = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      index - The index to set the value at.
      value - The links to set.
      Returns:
      This builder for chaining.
    • addLinks

       Required. An array of links to check for their associated LineageProcesses.
      
       The maximum number of items in this array is 100.
       If the request contains more than 100 links, it returns the
       `INVALID_ARGUMENT` error.
      
       Format: `projects/{project}/locations/{location}/links/{link}`.
       
      repeated string links = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The links to add.
      Returns:
      This builder for chaining.
    • addAllLinks

       Required. An array of links to check for their associated LineageProcesses.
      
       The maximum number of items in this array is 100.
       If the request contains more than 100 links, it returns the
       `INVALID_ARGUMENT` error.
      
       Format: `projects/{project}/locations/{location}/links/{link}`.
       
      repeated string links = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      values - The links to add.
      Returns:
      This builder for chaining.
    • clearLinks

       Required. An array of links to check for their associated LineageProcesses.
      
       The maximum number of items in this array is 100.
       If the request contains more than 100 links, it returns the
       `INVALID_ARGUMENT` error.
      
       Format: `projects/{project}/locations/{location}/links/{link}`.
       
      repeated string links = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • addLinksBytes

      public BatchSearchLinkProcessesRequest.Builder addLinksBytes(com.google.protobuf.ByteString value)
       Required. An array of links to check for their associated LineageProcesses.
      
       The maximum number of items in this array is 100.
       If the request contains more than 100 links, it returns the
       `INVALID_ARGUMENT` error.
      
       Format: `projects/{project}/locations/{location}/links/{link}`.
       
      repeated string links = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes of the links to add.
      Returns:
      This builder for chaining.
    • getPageSize

      public int getPageSize()
       The maximum number of processes to return in a single page of the response.
       A page may contain fewer results than this value.
       
      int32 page_size = 3;
      Specified by:
      getPageSize in interface BatchSearchLinkProcessesRequestOrBuilder
      Returns:
      The pageSize.
    • setPageSize

      public BatchSearchLinkProcessesRequest.Builder setPageSize(int value)
       The maximum number of processes to return in a single page of the response.
       A page may contain fewer results than this value.
       
      int32 page_size = 3;
      Parameters:
      value - The pageSize to set.
      Returns:
      This builder for chaining.
    • clearPageSize

       The maximum number of processes to return in a single page of the response.
       A page may contain fewer results than this value.
       
      int32 page_size = 3;
      Returns:
      This builder for chaining.
    • getPageToken

      public String getPageToken()
       The page token received from a previous `BatchSearchLinkProcesses` call.
       Use it to get the next page.
      
       When requesting subsequent pages of a response, remember that
       all parameters must match the values you provided
       in the original request.
       
      string page_token = 4;
      Specified by:
      getPageToken in interface BatchSearchLinkProcessesRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       The page token received from a previous `BatchSearchLinkProcesses` call.
       Use it to get the next page.
      
       When requesting subsequent pages of a response, remember that
       all parameters must match the values you provided
       in the original request.
       
      string page_token = 4;
      Specified by:
      getPageTokenBytes in interface BatchSearchLinkProcessesRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • setPageToken

      public BatchSearchLinkProcessesRequest.Builder setPageToken(String value)
       The page token received from a previous `BatchSearchLinkProcesses` call.
       Use it to get the next page.
      
       When requesting subsequent pages of a response, remember that
       all parameters must match the values you provided
       in the original request.
       
      string page_token = 4;
      Parameters:
      value - The pageToken to set.
      Returns:
      This builder for chaining.
    • clearPageToken

      public BatchSearchLinkProcessesRequest.Builder clearPageToken()
       The page token received from a previous `BatchSearchLinkProcesses` call.
       Use it to get the next page.
      
       When requesting subsequent pages of a response, remember that
       all parameters must match the values you provided
       in the original request.
       
      string page_token = 4;
      Returns:
      This builder for chaining.
    • setPageTokenBytes

      public BatchSearchLinkProcessesRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
       The page token received from a previous `BatchSearchLinkProcesses` call.
       Use it to get the next page.
      
       When requesting subsequent pages of a response, remember that
       all parameters must match the values you provided
       in the original request.
       
      string page_token = 4;
      Parameters:
      value - The bytes for pageToken to set.
      Returns:
      This builder for chaining.