Class SearchLinksRequest (0.44.0)

public final class SearchLinksRequest extends GeneratedMessageV3 implements SearchLinksRequestOrBuilder

Request message for SearchLinks.

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

Static Fields

PAGE_SIZE_FIELD_NUMBER

public static final int PAGE_SIZE_FIELD_NUMBER
Field Value
Type Description
int

PAGE_TOKEN_FIELD_NUMBER

public static final int PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_FIELD_NUMBER

public static final int SOURCE_FIELD_NUMBER
Field Value
Type Description
int

TARGET_FIELD_NUMBER

public static final int TARGET_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SearchLinksRequest getDefaultInstance()
Returns
Type Description
SearchLinksRequest

getDescriptor()

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

newBuilder()

public static SearchLinksRequest.Builder newBuilder()
Returns
Type Description
SearchLinksRequest.Builder

newBuilder(SearchLinksRequest prototype)

public static SearchLinksRequest.Builder newBuilder(SearchLinksRequest prototype)
Parameter
Name Description
prototype SearchLinksRequest
Returns
Type Description
SearchLinksRequest.Builder

parseDelimitedFrom(InputStream input)

public static SearchLinksRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SearchLinksRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchLinksRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchLinksRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SearchLinksRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SearchLinksRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SearchLinksRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchLinksRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SearchLinksRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SearchLinksRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SearchLinksRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchLinksRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SearchLinksRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SearchLinksRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchLinksRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchLinksRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SearchLinksRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SearchLinksRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchLinksRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchLinksRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SearchLinksRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SearchLinksRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SearchLinksRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchLinksRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SearchLinksRequest> parser()
Returns
Type Description
Parser<SearchLinksRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCriteriaCase()

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

getDefaultInstanceForType()

public SearchLinksRequest getDefaultInstanceForType()
Returns
Type Description
SearchLinksRequest

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.

getParserForType()

public Parser<SearchLinksRequest> getParserForType()
Returns
Type Description
Parser<SearchLinksRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SearchLinksRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SearchLinksRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException