Class BatchSearchLinkProcessesRequest.Builder (0.38.0)

public static final class BatchSearchLinkProcessesRequest.Builder extends GeneratedMessageV3.Builder<BatchSearchLinkProcessesRequest.Builder> implements BatchSearchLinkProcessesRequestOrBuilder

Request message for BatchSearchLinkProcesses.

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

Static Methods

getDescriptor()

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

Methods

public BatchSearchLinkProcessesRequest.Builder addAllLinks(Iterable<String> values)

Required. An array of links to check for their associated LineageProcesses.

The maximum number of items in this array is 100. If the request contains more than 100 links, it returns the INVALID_ARGUMENT error.

Format: projects/{project}/locations/{location}/links/{link}.

repeated string links = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<String>

The links to add.

Returns
Type Description
BatchSearchLinkProcessesRequest.Builder

This builder for chaining.

public BatchSearchLinkProcessesRequest.Builder addLinks(String value)

Required. An array of links to check for their associated LineageProcesses.

The maximum number of items in this array is 100. If the request contains more than 100 links, it returns the INVALID_ARGUMENT error.

Format: projects/{project}/locations/{location}/links/{link}.

repeated string links = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The links to add.

Returns
Type Description
BatchSearchLinkProcessesRequest.Builder

This builder for chaining.

addLinksBytes(ByteString value)

public BatchSearchLinkProcessesRequest.Builder addLinksBytes(ByteString value)

Required. An array of links to check for their associated LineageProcesses.

The maximum number of items in this array is 100. If the request contains more than 100 links, it returns the INVALID_ARGUMENT error.

Format: projects/{project}/locations/{location}/links/{link}.

repeated string links = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes of the links to add.

Returns
Type Description
BatchSearchLinkProcessesRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchSearchLinkProcessesRequest build()
Returns
Type Description
BatchSearchLinkProcessesRequest

buildPartial()

public BatchSearchLinkProcessesRequest buildPartial()
Returns
Type Description
BatchSearchLinkProcessesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

Required. An array of links to check for their associated LineageProcesses.

The maximum number of items in this array is 100. If the request contains more than 100 links, it returns the INVALID_ARGUMENT error.

Format: projects/{project}/locations/{location}/links/{link}.

repeated string links = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BatchSearchLinkProcessesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public BatchSearchLinkProcessesRequest.Builder clearPageSize()

The maximum number of processes to return in a single page of the response. A page may contain fewer results than this value.

int32 page_size = 3;

Returns
Type Description
BatchSearchLinkProcessesRequest.Builder

This builder for chaining.

clearPageToken()

public BatchSearchLinkProcessesRequest.Builder clearPageToken()

The page token received from a previous BatchSearchLinkProcesses 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 = 4;

Returns
Type Description
BatchSearchLinkProcessesRequest.Builder

This builder for chaining.

clearParent()

public BatchSearchLinkProcessesRequest.Builder clearParent()

Required. The project and location where you want to search.

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

Returns
Type Description
BatchSearchLinkProcessesRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public BatchSearchLinkProcessesRequest getDefaultInstanceForType()
Returns
Type Description
BatchSearchLinkProcessesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides
public String getLinks(int index)

Required. An array of links to check for their associated LineageProcesses.

The maximum number of items in this array is 100. If the request contains more than 100 links, it returns the INVALID_ARGUMENT error.

Format: projects/{project}/locations/{location}/links/{link}.

repeated string links = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The links at the given index.

getLinksBytes(int index)

public ByteString getLinksBytes(int index)

Required. An array of links to check for their associated LineageProcesses.

The maximum number of items in this array is 100. If the request contains more than 100 links, it returns the INVALID_ARGUMENT error.

Format: projects/{project}/locations/{location}/links/{link}.

repeated string links = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the links at the given index.

getLinksCount()

public int getLinksCount()

Required. An array of links to check for their associated LineageProcesses.

The maximum number of items in this array is 100. If the request contains more than 100 links, it returns the INVALID_ARGUMENT error.

Format: projects/{project}/locations/{location}/links/{link}.

repeated string links = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of links.

public ProtocolStringList getLinksList()

Required. An array of links to check for their associated LineageProcesses.

The maximum number of items in this array is 100. If the request contains more than 100 links, it returns the INVALID_ARGUMENT error.

Format: projects/{project}/locations/{location}/links/{link}.

repeated string links = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProtocolStringList

A list containing the links.

getPageSize()

public int getPageSize()

The maximum number of processes to return in a single page of the response. A page may contain fewer results than this value.

int32 page_size = 3;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

The page token received from a previous BatchSearchLinkProcesses 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 = 4;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

The page token received from a previous BatchSearchLinkProcesses 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 = 4;

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The project and location where you want to search.

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 where you want to search.

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

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchSearchLinkProcessesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public BatchSearchLinkProcessesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchSearchLinkProcessesRequest.Builder
Overrides
public BatchSearchLinkProcessesRequest.Builder setLinks(int index, String value)

Required. An array of links to check for their associated LineageProcesses.

The maximum number of items in this array is 100. If the request contains more than 100 links, it returns the INVALID_ARGUMENT error.

Format: projects/{project}/locations/{location}/links/{link}.

repeated string links = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int

The index to set the value at.

value String

The links to set.

Returns
Type Description
BatchSearchLinkProcessesRequest.Builder

This builder for chaining.

setPageSize(int value)

public BatchSearchLinkProcessesRequest.Builder setPageSize(int value)

The maximum number of processes to return in a single page of the response. A page may contain fewer results than this value.

int32 page_size = 3;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
BatchSearchLinkProcessesRequest.Builder

This builder for chaining.

setPageToken(String value)

public BatchSearchLinkProcessesRequest.Builder setPageToken(String value)

The page token received from a previous BatchSearchLinkProcesses 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 = 4;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
BatchSearchLinkProcessesRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public BatchSearchLinkProcessesRequest.Builder setPageTokenBytes(ByteString value)

The page token received from a previous BatchSearchLinkProcesses 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 = 4;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
BatchSearchLinkProcessesRequest.Builder

This builder for chaining.

setParent(String value)

public BatchSearchLinkProcessesRequest.Builder setParent(String value)

Required. The project and location where you want to search.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
BatchSearchLinkProcessesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public BatchSearchLinkProcessesRequest.Builder setParentBytes(ByteString value)

Required. The project and location where you want to search.

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
BatchSearchLinkProcessesRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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