Class SearchLinksResponse.Builder (0.38.0)

public static final class SearchLinksResponse.Builder extends GeneratedMessageV3.Builder<SearchLinksResponse.Builder> implements SearchLinksResponseOrBuilder

Response message for SearchLinks.

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

Static Methods

getDescriptor()

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

Methods

public SearchLinksResponse.Builder addAllLinks(Iterable<? extends Link> values)

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;

Parameter
Name Description
values Iterable<? extends com.google.cloud.datacatalog.lineage.v1.Link>
Returns
Type Description
SearchLinksResponse.Builder
public SearchLinksResponse.Builder addLinks(Link value)

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;

Parameter
Name Description
value Link
Returns
Type Description
SearchLinksResponse.Builder
public SearchLinksResponse.Builder addLinks(Link.Builder builderForValue)

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;

Parameter
Name Description
builderForValue Link.Builder
Returns
Type Description
SearchLinksResponse.Builder
public SearchLinksResponse.Builder addLinks(int index, Link value)

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;

Parameters
Name Description
index int
value Link
Returns
Type Description
SearchLinksResponse.Builder
public SearchLinksResponse.Builder addLinks(int index, Link.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue Link.Builder
Returns
Type Description
SearchLinksResponse.Builder

addLinksBuilder()

public Link.Builder 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;

Returns
Type Description
Link.Builder

addLinksBuilder(int index)

public Link.Builder addLinksBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
Link.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SearchLinksResponse build()
Returns
Type Description
SearchLinksResponse

buildPartial()

public SearchLinksResponse buildPartial()
Returns
Type Description
SearchLinksResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public SearchLinksResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SearchLinksResponse.Builder
Overrides
public SearchLinksResponse.Builder 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;

Returns
Type Description
SearchLinksResponse.Builder

clearNextPageToken()

public SearchLinksResponse.Builder 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
Type Description
SearchLinksResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public SearchLinksResponse getDefaultInstanceForType()
Returns
Type Description
SearchLinksResponse

getDescriptorForType()

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

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;

Parameter
Name Description
index int
Returns
Type Description
Link

getLinksBuilder(int index)

public Link.Builder getLinksBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
Link.Builder

getLinksBuilderList()

public List<Link.Builder> 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;

Returns
Type Description
List<Builder>

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;

Returns
Type Description
int
public List<Link> 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;

Returns
Type Description
List<Link>

getLinksOrBuilder(int index)

public LinkOrBuilder getLinksOrBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
LinkOrBuilder

getLinksOrBuilderList()

public List<? extends LinkOrBuilder> 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;

Returns
Type Description
List<? extends com.google.cloud.datacatalog.lineage.v1.LinkOrBuilder>

getNextPageToken()

public String 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;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public 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;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SearchLinksResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchLinksResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SearchLinksResponse.Builder
Overrides
public SearchLinksResponse.Builder removeLinks(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
SearchLinksResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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;

Parameters
Name Description
index int
value Link
Returns
Type Description
SearchLinksResponse.Builder
public SearchLinksResponse.Builder setLinks(int index, Link.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue Link.Builder
Returns
Type Description
SearchLinksResponse.Builder

setNextPageToken(String value)

public SearchLinksResponse.Builder setNextPageToken(String value)

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;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
SearchLinksResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public SearchLinksResponse.Builder setNextPageTokenBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
SearchLinksResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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