Class SearchLinksRequest.Builder (0.4.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SearchLinksRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SearchLinksRequest.Builder
Overrides

build()

public SearchLinksRequest build()
Returns
TypeDescription
SearchLinksRequest

buildPartial()

public SearchLinksRequest buildPartial()
Returns
TypeDescription
SearchLinksRequest

clear()

public SearchLinksRequest.Builder clear()
Returns
TypeDescription
SearchLinksRequest.Builder
Overrides

clearCriteria()

public SearchLinksRequest.Builder clearCriteria()
Returns
TypeDescription
SearchLinksRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public SearchLinksRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SearchLinksRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchLinksRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
SearchLinksRequest.Builder

clone()

public SearchLinksRequest.Builder clone()
Returns
TypeDescription
SearchLinksRequest.Builder
Overrides

getCriteriaCase()

public SearchLinksRequest.CriteriaCase getCriteriaCase()
Returns
TypeDescription
SearchLinksRequest.CriteriaCase

getDefaultInstanceForType()

public SearchLinksRequest getDefaultInstanceForType()
Returns
TypeDescription
SearchLinksRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the target field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SearchLinksRequest other)

public SearchLinksRequest.Builder mergeFrom(SearchLinksRequest other)
Parameter
NameDescription
otherSearchLinksRequest
Returns
TypeDescription
SearchLinksRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SearchLinksRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchLinksRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SearchLinksRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueEntityReference
Returns
TypeDescription
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
NameDescription
valueEntityReference
Returns
TypeDescription
SearchLinksRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchLinksRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SearchLinksRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SearchLinksRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
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
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueEntityReference
Returns
TypeDescription
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
NameDescription
builderForValueEntityReference.Builder
Returns
TypeDescription
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
NameDescription
valueEntityReference
Returns
TypeDescription
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
NameDescription
builderForValueEntityReference.Builder
Returns
TypeDescription
SearchLinksRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final SearchLinksRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SearchLinksRequest.Builder
Overrides