Class SearchLinksResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SearchLinksResponse.Builder>
com.google.cloud.datacatalog.lineage.v1.SearchLinksResponse.Builder
- All Implemented Interfaces:
SearchLinksResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SearchLinksResponse
public static final class SearchLinksResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SearchLinksResponse.Builder>
implements SearchLinksResponseOrBuilder
Response message for [SearchLinks][google.cloud.datacatalog.lineage.v1.Lineage.SearchLinks].Protobuf type
google.cloud.datacatalog.lineage.v1.SearchLinksResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllLinks(Iterable<? extends Link> values) The list of links for a given asset.The list of links for a given asset.addLinks(int index, Link.Builder builderForValue) The list of links for a given asset.The list of links for a given asset.addLinks(Link.Builder builderForValue) The list of links for a given asset.The list of links for a given asset.addLinksBuilder(int index) The list of links for a given asset.build()clear()The list of links for a given asset.The token to specify as `page_token` in the subsequent call to get the next page.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetLinks(int index) The list of links for a given asset.getLinksBuilder(int index) The list of links for a given asset.The list of links for a given asset.intThe list of links for a given asset.The list of links for a given asset.getLinksOrBuilder(int index) The list of links for a given asset.List<? extends LinkOrBuilder>The list of links for a given asset.The token to specify as `page_token` in the subsequent call to get the next page.com.google.protobuf.ByteStringThe token to specify as `page_token` in the subsequent call to get the next page.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(SearchLinksResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeLinks(int index) The list of links for a given asset.The list of links for a given asset.setLinks(int index, Link.Builder builderForValue) The list of links for a given asset.setNextPageToken(String value) The token to specify as `page_token` in the subsequent call to get the next page.setNextPageTokenBytes(com.google.protobuf.ByteString value) The token to specify as `page_token` in the subsequent call to get the next page.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<SearchLinksResponse.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<SearchLinksResponse.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<SearchLinksResponse.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<SearchLinksResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SearchLinksResponse.Builder>
-
mergeFrom
public SearchLinksResponse.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<SearchLinksResponse.Builder>- Throws:
IOException
-
getLinksList
The list of links for a given asset. Can be empty if the asset has no relations of requested type (source or target).
repeated .google.cloud.datacatalog.lineage.v1.Link links = 1;- Specified by:
getLinksListin interfaceSearchLinksResponseOrBuilder
-
getLinksCount
public int getLinksCount()The list of links for a given asset. Can be empty if the asset has no relations of requested type (source or target).
repeated .google.cloud.datacatalog.lineage.v1.Link links = 1;- Specified by:
getLinksCountin interfaceSearchLinksResponseOrBuilder
-
getLinks
The list of links for a given asset. Can be empty if the asset has no relations of requested type (source or target).
repeated .google.cloud.datacatalog.lineage.v1.Link links = 1;- Specified by:
getLinksin interfaceSearchLinksResponseOrBuilder
-
setLinks
The list of links for a given asset. Can be empty if the asset has no relations of requested type (source or target).
repeated .google.cloud.datacatalog.lineage.v1.Link links = 1; -
setLinks
The list of links for a given asset. Can be empty if the asset has no relations of requested type (source or target).
repeated .google.cloud.datacatalog.lineage.v1.Link links = 1; -
addLinks
The list of links for a given asset. Can be empty if the asset has no relations of requested type (source or target).
repeated .google.cloud.datacatalog.lineage.v1.Link links = 1; -
addLinks
The list of links for a given asset. Can be empty if the asset has no relations of requested type (source or target).
repeated .google.cloud.datacatalog.lineage.v1.Link links = 1; -
addLinks
The list of links for a given asset. Can be empty if the asset has no relations of requested type (source or target).
repeated .google.cloud.datacatalog.lineage.v1.Link links = 1; -
addLinks
The list of links for a given asset. Can be empty if the asset has no relations of requested type (source or target).
repeated .google.cloud.datacatalog.lineage.v1.Link links = 1; -
addAllLinks
The list of links for a given asset. Can be empty if the asset has no relations of requested type (source or target).
repeated .google.cloud.datacatalog.lineage.v1.Link links = 1; -
clearLinks
The list of links for a given asset. Can be empty if the asset has no relations of requested type (source or target).
repeated .google.cloud.datacatalog.lineage.v1.Link links = 1; -
removeLinks
The list of links for a given asset. Can be empty if the asset has no relations of requested type (source or target).
repeated .google.cloud.datacatalog.lineage.v1.Link links = 1; -
getLinksBuilder
The list of links for a given asset. Can be empty if the asset has no relations of requested type (source or target).
repeated .google.cloud.datacatalog.lineage.v1.Link links = 1; -
getLinksOrBuilder
The list of links for a given asset. Can be empty if the asset has no relations of requested type (source or target).
repeated .google.cloud.datacatalog.lineage.v1.Link links = 1;- Specified by:
getLinksOrBuilderin interfaceSearchLinksResponseOrBuilder
-
getLinksOrBuilderList
The list of links for a given asset. Can be empty if the asset has no relations of requested type (source or target).
repeated .google.cloud.datacatalog.lineage.v1.Link links = 1;- Specified by:
getLinksOrBuilderListin interfaceSearchLinksResponseOrBuilder
-
addLinksBuilder
The list of links for a given asset. Can be empty if the asset has no relations of requested type (source or target).
repeated .google.cloud.datacatalog.lineage.v1.Link links = 1; -
addLinksBuilder
The list of links for a given asset. Can be empty if the asset has no relations of requested type (source or target).
repeated .google.cloud.datacatalog.lineage.v1.Link links = 1; -
getLinksBuilderList
The list of links for a given asset. Can be empty if the asset has no relations of requested type (source or target).
repeated .google.cloud.datacatalog.lineage.v1.Link links = 1; -
getNextPageToken
The token to specify as `page_token` in the subsequent call to get the next page. Omitted if there are no more pages in the response.
string next_page_token = 2;- Specified by:
getNextPageTokenin interfaceSearchLinksResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()The token to specify as `page_token` in the subsequent call to get the next page. Omitted if there are no more pages in the response.
string next_page_token = 2;- Specified by:
getNextPageTokenBytesin interfaceSearchLinksResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
The token to specify as `page_token` in the subsequent call to get the next page. Omitted if there are no more pages in the response.
string next_page_token = 2;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
The token to specify as `page_token` in the subsequent call to get the next page. Omitted if there are no more pages in the response.
string next_page_token = 2;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
The token to specify as `page_token` in the subsequent call to get the next page. Omitted if there are no more pages in the response.
string next_page_token = 2;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-