Class BatchSearchLinkProcessesRequest.Builder (0.14.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
TypeDescription
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
NameDescription
valuesIterable<String>

The links to add.

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

The links to add.

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

The bytes of the links to add.

Returns
TypeDescription
BatchSearchLinkProcessesRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchSearchLinkProcessesRequest build()
Returns
TypeDescription
BatchSearchLinkProcessesRequest

buildPartial()

public BatchSearchLinkProcessesRequest buildPartial()
Returns
TypeDescription
BatchSearchLinkProcessesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public BatchSearchLinkProcessesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
BatchSearchLinkProcessesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clearParent()

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public BatchSearchLinkProcessesRequest getDefaultInstanceForType()
Returns
TypeDescription
BatchSearchLinkProcessesRequest

getDescriptorForType()

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

The index of the element to return.

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

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for pageToken.

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

Returns
TypeDescription
String

The parent.

getParentBytes()

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

Returns
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchSearchLinkProcessesRequest other)

public BatchSearchLinkProcessesRequest.Builder mergeFrom(BatchSearchLinkProcessesRequest other)
Parameter
NameDescription
otherBatchSearchLinkProcessesRequest
Returns
TypeDescription
BatchSearchLinkProcessesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public BatchSearchLinkProcessesRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BatchSearchLinkProcessesRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The index to set the value at.

valueString

The links to set.

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

The pageSize to set.

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

The pageToken to set.

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

The bytes for pageToken to set.

Returns
TypeDescription
BatchSearchLinkProcessesRequest.Builder

This builder for chaining.

setParent(String value)

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

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
BatchSearchLinkProcessesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public BatchSearchLinkProcessesRequest.Builder setParentBytes(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) = { ... }

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BatchSearchLinkProcessesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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