Class SearchLinksRequest.Builder (0.37.0)

public static final class SearchLinksRequest.Builder extends GeneratedMessageV3.Builder<SearchLinksRequest.Builder> implements SearchLinksRequestOrBuilder

Request message for SearchLinks.

Protobuf type google.cloud.datacatalog.lineage.v1.SearchLinksRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SearchLinksRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchLinksRequest.Builder
Overrides

build()

public SearchLinksRequest build()
Returns
Type Description
SearchLinksRequest

buildPartial()

public SearchLinksRequest buildPartial()
Returns
Type Description
SearchLinksRequest

clear()

public SearchLinksRequest.Builder clear()
Returns
Type Description
SearchLinksRequest.Builder
Overrides

clearCriteria()

public SearchLinksRequest.Builder clearCriteria()
Returns
Type Description
SearchLinksRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public SearchLinksRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SearchLinksRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchLinksRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SearchLinksRequest.Builder
Overrides

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
Type Description
SearchLinksRequest.Builder

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
Type Description
SearchLinksRequest.Builder

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
Type Description
SearchLinksRequest.Builder

This builder for chaining.

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];

Returns
Type Description
SearchLinksRequest.Builder

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];

Returns
Type Description
SearchLinksRequest.Builder

clone()

public SearchLinksRequest.Builder clone()
Returns
Type Description
SearchLinksRequest.Builder
Overrides

getCriteriaCase()

public SearchLinksRequest.CriteriaCase getCriteriaCase()
Returns
Type Description
SearchLinksRequest.CriteriaCase

getDefaultInstanceForType()

public SearchLinksRequest getDefaultInstanceForType()
Returns
Type Description
SearchLinksRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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];

Returns
Type Description
int

The pageSize.

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];

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public 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];

Returns
Type Description
ByteString

The bytes for pageToken.

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) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The project and location you want search in.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

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];

Returns
Type Description
EntityReference

The source.

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];

Returns
Type Description
EntityReference.Builder

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];

Returns
Type Description
EntityReferenceOrBuilder

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];

Returns
Type Description
EntityReference

The target.

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];

Returns
Type Description
EntityReference.Builder

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];

Returns
Type Description
EntityReferenceOrBuilder

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];

Returns
Type Description
boolean

Whether the source field is set.

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];

Returns
Type Description
boolean

Whether the target field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SearchLinksRequest other)

public SearchLinksRequest.Builder mergeFrom(SearchLinksRequest other)
Parameter
Name Description
other SearchLinksRequest
Returns
Type Description
SearchLinksRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SearchLinksRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchLinksRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SearchLinksRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SearchLinksRequest.Builder
Overrides

mergeSource(EntityReference value)

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];

Parameter
Name Description
value EntityReference
Returns
Type Description
SearchLinksRequest.Builder

mergeTarget(EntityReference value)

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];

Parameter
Name Description
value EntityReference
Returns
Type Description
SearchLinksRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchLinksRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SearchLinksRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SearchLinksRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchLinksRequest.Builder
Overrides

setPageSize(int value)

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];

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
SearchLinksRequest.Builder

This builder for chaining.

setPageToken(String value)

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];

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
SearchLinksRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public SearchLinksRequest.Builder setPageTokenBytes(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];

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
SearchLinksRequest.Builder

This builder for chaining.

setParent(String value)

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) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
SearchLinksRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public SearchLinksRequest.Builder setParentBytes(ByteString value)

Required. The project and location you want search in.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
SearchLinksRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SearchLinksRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SearchLinksRequest.Builder
Overrides

setSource(EntityReference value)

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];

Parameter
Name Description
value EntityReference
Returns
Type Description
SearchLinksRequest.Builder

setSource(EntityReference.Builder builderForValue)

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];

Parameter
Name Description
builderForValue EntityReference.Builder
Returns
Type Description
SearchLinksRequest.Builder

setTarget(EntityReference value)

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];

Parameter
Name Description
value EntityReference
Returns
Type Description
SearchLinksRequest.Builder

setTarget(EntityReference.Builder builderForValue)

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];

Parameter
Name Description
builderForValue EntityReference.Builder
Returns
Type Description
SearchLinksRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final SearchLinksRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SearchLinksRequest.Builder
Overrides