Class BatchSearchLinkProcessesRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BatchSearchLinkProcessesRequest.Builder>
com.google.cloud.datacatalog.lineage.v1.BatchSearchLinkProcessesRequest.Builder
- All Implemented Interfaces:
BatchSearchLinkProcessesRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BatchSearchLinkProcessesRequest
public static final class BatchSearchLinkProcessesRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BatchSearchLinkProcessesRequest.Builder>
implements BatchSearchLinkProcessesRequestOrBuilder
Request message for [BatchSearchLinkProcesses][google.cloud.datacatalog.lineage.v1.Lineage.BatchSearchLinkProcesses].Protobuf type
google.cloud.datacatalog.lineage.v1.BatchSearchLinkProcessesRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllLinks(Iterable<String> values) Required.Required.addLinksBytes(com.google.protobuf.ByteString value) Required.build()clear()Required.The maximum number of processes to return in a single page of the response.The page token received from a previous `BatchSearchLinkProcesses` call.Required.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetLinks(int index) Required.com.google.protobuf.ByteStringgetLinksBytes(int index) Required.intRequired.com.google.protobuf.ProtocolStringListRequired.intThe maximum number of processes to return in a single page of the response.The page token received from a previous `BatchSearchLinkProcesses` call.com.google.protobuf.ByteStringThe page token received from a previous `BatchSearchLinkProcesses` call.Required.com.google.protobuf.ByteStringRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Required.setPageSize(int value) The maximum number of processes to return in a single page of the response.setPageToken(String value) The page token received from a previous `BatchSearchLinkProcesses` call.setPageTokenBytes(com.google.protobuf.ByteString value) The page token received from a previous `BatchSearchLinkProcesses` call.Required.setParentBytes(com.google.protobuf.ByteString value) Required.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<BatchSearchLinkProcessesRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<BatchSearchLinkProcessesRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<BatchSearchLinkProcessesRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchSearchLinkProcessesRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BatchSearchLinkProcessesRequest.Builder>
-
mergeFrom
public BatchSearchLinkProcessesRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchSearchLinkProcessesRequest.Builder>- Throws:
IOException
-
getParent
Required. The project and location where you want to search.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentin interfaceBatchSearchLinkProcessesRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()Required. The project and location where you want to search.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentBytesin interfaceBatchSearchLinkProcessesRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
Required. The project and location where you want to search.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
clearParent
Required. The project and location where you want to search.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setParentBytes
Required. The project and location where you want to search.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-
getLinksList
public com.google.protobuf.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];- Specified by:
getLinksListin interfaceBatchSearchLinkProcessesRequestOrBuilder- Returns:
- A list containing the links.
-
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];- Specified by:
getLinksCountin interfaceBatchSearchLinkProcessesRequestOrBuilder- Returns:
- The count of links.
-
getLinks
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];- Specified by:
getLinksin interfaceBatchSearchLinkProcessesRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The links at the given index.
-
getLinksBytes
public com.google.protobuf.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];- Specified by:
getLinksBytesin interfaceBatchSearchLinkProcessesRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the links at the given index.
-
setLinks
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:
index- The index to set the value at.value- The links to set.- Returns:
- This builder for chaining.
-
addLinks
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:
value- The links to add.- Returns:
- This builder for chaining.
-
addAllLinks
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:
values- The links to add.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
addLinksBytes
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:
value- The bytes of the links to add.- Returns:
- This builder for chaining.
-
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;- Specified by:
getPageSizein interfaceBatchSearchLinkProcessesRequestOrBuilder- Returns:
- The pageSize.
-
setPageSize
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;- Parameters:
value- The pageSize to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;- Specified by:
getPageTokenin interfaceBatchSearchLinkProcessesRequestOrBuilder- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.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;- Specified by:
getPageTokenBytesin interfaceBatchSearchLinkProcessesRequestOrBuilder- Returns:
- The bytes for pageToken.
-
setPageToken
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;- Parameters:
value- The pageToken to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setPageTokenBytes
public BatchSearchLinkProcessesRequest.Builder setPageTokenBytes(com.google.protobuf.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;- Parameters:
value- The bytes for pageToken to set.- Returns:
- This builder for chaining.
-