Class SearchLinksRequest.Builder

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

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

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

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

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

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

      public SearchLinksRequest.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<SearchLinksRequest.Builder>
      Throws:
      IOException
    • getCriteriaCase

      public SearchLinksRequest.CriteriaCase getCriteriaCase()
      Specified by:
      getCriteriaCase in interface SearchLinksRequestOrBuilder
    • clearCriteria

      public SearchLinksRequest.Builder clearCriteria()
    • getParent

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

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

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

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

      public SearchLinksRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The project and location you want search in.
       
      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.
    • hasSource

      public boolean hasSource()
       Optional. Send asset information in the **source** field to retrieve all
       links that lead from the specified asset to downstream assets.
       
      .google.cloud.datacatalog.lineage.v1.EntityReference source = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasSource in interface SearchLinksRequestOrBuilder
      Returns:
      Whether the source field is set.
    • getSource

      public EntityReference getSource()
       Optional. Send asset information in the **source** field to retrieve all
       links that lead from the specified asset to downstream assets.
       
      .google.cloud.datacatalog.lineage.v1.EntityReference source = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSource in interface SearchLinksRequestOrBuilder
      Returns:
      The source.
    • setSource

      public SearchLinksRequest.Builder setSource(EntityReference value)
       Optional. Send asset information in the **source** field to retrieve all
       links that lead from the specified asset to downstream assets.
       
      .google.cloud.datacatalog.lineage.v1.EntityReference source = 4 [(.google.api.field_behavior) = OPTIONAL];
    • setSource

      public SearchLinksRequest.Builder setSource(EntityReference.Builder builderForValue)
       Optional. Send asset information in the **source** field to retrieve all
       links that lead from the specified asset to downstream assets.
       
      .google.cloud.datacatalog.lineage.v1.EntityReference source = 4 [(.google.api.field_behavior) = OPTIONAL];
    • mergeSource

      public SearchLinksRequest.Builder mergeSource(EntityReference value)
       Optional. Send asset information in the **source** field to retrieve all
       links that lead from the specified asset to downstream assets.
       
      .google.cloud.datacatalog.lineage.v1.EntityReference source = 4 [(.google.api.field_behavior) = OPTIONAL];
    • clearSource

      public SearchLinksRequest.Builder clearSource()
       Optional. Send asset information in the **source** field to retrieve all
       links that lead from the specified asset to downstream assets.
       
      .google.cloud.datacatalog.lineage.v1.EntityReference source = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getSourceBuilder

      public EntityReference.Builder getSourceBuilder()
       Optional. Send asset information in the **source** field to retrieve all
       links that lead from the specified asset to downstream assets.
       
      .google.cloud.datacatalog.lineage.v1.EntityReference source = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getSourceOrBuilder

      public EntityReferenceOrBuilder getSourceOrBuilder()
       Optional. Send asset information in the **source** field to retrieve all
       links that lead from the specified asset to downstream assets.
       
      .google.cloud.datacatalog.lineage.v1.EntityReference source = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSourceOrBuilder in interface SearchLinksRequestOrBuilder
    • hasTarget

      public boolean hasTarget()
       Optional. Send asset information in the **target** field to retrieve all
       links that lead from upstream assets to the specified asset.
       
      .google.cloud.datacatalog.lineage.v1.EntityReference target = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasTarget in interface SearchLinksRequestOrBuilder
      Returns:
      Whether the target field is set.
    • getTarget

      public EntityReference getTarget()
       Optional. Send asset information in the **target** field to retrieve all
       links that lead from upstream assets to the specified asset.
       
      .google.cloud.datacatalog.lineage.v1.EntityReference target = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTarget in interface SearchLinksRequestOrBuilder
      Returns:
      The target.
    • setTarget

      public SearchLinksRequest.Builder setTarget(EntityReference value)
       Optional. Send asset information in the **target** field to retrieve all
       links that lead from upstream assets to the specified asset.
       
      .google.cloud.datacatalog.lineage.v1.EntityReference target = 5 [(.google.api.field_behavior) = OPTIONAL];
    • setTarget

      public SearchLinksRequest.Builder setTarget(EntityReference.Builder builderForValue)
       Optional. Send asset information in the **target** field to retrieve all
       links that lead from upstream assets to the specified asset.
       
      .google.cloud.datacatalog.lineage.v1.EntityReference target = 5 [(.google.api.field_behavior) = OPTIONAL];
    • mergeTarget

      public SearchLinksRequest.Builder mergeTarget(EntityReference value)
       Optional. Send asset information in the **target** field to retrieve all
       links that lead from upstream assets to the specified asset.
       
      .google.cloud.datacatalog.lineage.v1.EntityReference target = 5 [(.google.api.field_behavior) = OPTIONAL];
    • clearTarget

      public SearchLinksRequest.Builder clearTarget()
       Optional. Send asset information in the **target** field to retrieve all
       links that lead from upstream assets to the specified asset.
       
      .google.cloud.datacatalog.lineage.v1.EntityReference target = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getTargetBuilder

      public EntityReference.Builder getTargetBuilder()
       Optional. Send asset information in the **target** field to retrieve all
       links that lead from upstream assets to the specified asset.
       
      .google.cloud.datacatalog.lineage.v1.EntityReference target = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getTargetOrBuilder

      public EntityReferenceOrBuilder getTargetOrBuilder()
       Optional. Send asset information in the **target** field to retrieve all
       links that lead from upstream assets to the specified asset.
       
      .google.cloud.datacatalog.lineage.v1.EntityReference target = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTargetOrBuilder in interface SearchLinksRequestOrBuilder
    • getPageSize

      public int getPageSize()
       Optional. The maximum number of links to return in a single page of the
       response. A page may contain fewer links than this value. If unspecified,
       at most 10 links are returned.
      
       Maximum value is 100; values greater than 100 are reduced to 100.
       
      int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPageSize in interface SearchLinksRequestOrBuilder
      Returns:
      The pageSize.
    • setPageSize

      public SearchLinksRequest.Builder setPageSize(int value)
       Optional. The maximum number of links to return in a single page of the
       response. A page may contain fewer links than this value. If unspecified,
       at most 10 links are returned.
      
       Maximum value is 100; values greater than 100 are reduced to 100.
       
      int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The pageSize to set.
      Returns:
      This builder for chaining.
    • clearPageSize

      public SearchLinksRequest.Builder clearPageSize()
       Optional. The maximum number of links to return in a single page of the
       response. A page may contain fewer links than this value. If unspecified,
       at most 10 links are returned.
      
       Maximum value is 100; values greater than 100 are reduced to 100.
       
      int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getPageToken

      public String getPageToken()
       Optional. The page token received from a previous `SearchLinksRequest`
       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 = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPageToken in interface SearchLinksRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       Optional. The page token received from a previous `SearchLinksRequest`
       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 = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPageTokenBytes in interface SearchLinksRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • setPageToken

      public SearchLinksRequest.Builder setPageToken(String value)
       Optional. The page token received from a previous `SearchLinksRequest`
       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 = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The pageToken to set.
      Returns:
      This builder for chaining.
    • clearPageToken

      public SearchLinksRequest.Builder clearPageToken()
       Optional. The page token received from a previous `SearchLinksRequest`
       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 = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setPageTokenBytes

      public SearchLinksRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
       Optional. The page token received from a previous `SearchLinksRequest`
       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 = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for pageToken to set.
      Returns:
      This builder for chaining.