Class 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.GeneratedMessageV3.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 Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SearchLinksRequest.Builder>
      • clear

        public 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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public SearchLinksRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<SearchLinksRequest.Builder>
      • setField

        public SearchLinksRequest.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                   Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<SearchLinksRequest.Builder>
      • clearField

        public SearchLinksRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<SearchLinksRequest.Builder>
      • clearOneof

        public SearchLinksRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SearchLinksRequest.Builder>
      • setRepeatedField

        public SearchLinksRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                           int index,
                                                           Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SearchLinksRequest.Builder>
      • addRepeatedField

        public SearchLinksRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                           Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SearchLinksRequest.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>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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
      • getParent

        public String getParent()
         Required. The project and location you want search in the format `projects/*/locations/*`
         
        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 the format `projects/*/locations/*`
         
        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 the format `projects/*/locations/*`
         
        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 the format `projects/*/locations/*`
         
        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 the format `projects/*/locations/*`
         
        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.
      • setUnknownFields

        public final SearchLinksRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SearchLinksRequest.Builder>
      • mergeUnknownFields

        public final SearchLinksRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SearchLinksRequest.Builder>