Class SearchLinksResponse.Builder (0.6.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.datacatalog.lineage.v1.Link>
Returns
TypeDescription
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
NameDescription
valueLink
Returns
TypeDescription
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
NameDescription
builderForValueLink.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueLink
Returns
TypeDescription
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
NameDescription
indexint
builderForValueLink.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Link.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SearchLinksResponse build()
Returns
TypeDescription
SearchLinksResponse

buildPartial()

public SearchLinksResponse buildPartial()
Returns
TypeDescription
SearchLinksResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchLinksResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SearchLinksResponse.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public SearchLinksResponse getDefaultInstanceForType()
Returns
TypeDescription
SearchLinksResponse

getDescriptorForType()

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

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SearchLinksResponse other)

public SearchLinksResponse.Builder mergeFrom(SearchLinksResponse other)
Parameter
NameDescription
otherSearchLinksResponse
Returns
TypeDescription
SearchLinksResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchLinksResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
SearchLinksResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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