Class SearchLineageStreamingResponse.Builder (0.85.0)

public static final class SearchLineageStreamingResponse.Builder extends GeneratedMessage.Builder<SearchLineageStreamingResponse.Builder> implements SearchLineageStreamingResponseOrBuilder

Response message for SearchLineageStreaming.

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

Static Methods

getDescriptor()

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

Methods

public SearchLineageStreamingResponse.Builder addAllLinks(Iterable<? extends LineageLink> values)

Output only. The lineage links that match the search criteria. Can be empty if no links match.

repeated .google.cloud.datacatalog.lineage.v1.LineageLink links = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.datacatalog.lineage.v1.LineageLink>
Returns
Type Description
SearchLineageStreamingResponse.Builder

addAllUnreachable(Iterable<String> values)

public SearchLineageStreamingResponse.Builder addAllUnreachable(Iterable<String> values)

Unordered list. Unreachable resources. If non-empty, the result set might be incomplete.

Currently, only locations are supported.

Format: projects/[PROJECT_NUMBER]/locations/[LOCATION] Example: projects/123456789/locations/us-east1

repeated string unreachable = 2 [(.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
SearchLineageStreamingResponse.Builder

This builder for chaining.

public SearchLineageStreamingResponse.Builder addLinks(LineageLink value)

Output only. The lineage links that match the search criteria. Can be empty if no links match.

repeated .google.cloud.datacatalog.lineage.v1.LineageLink links = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value LineageLink
Returns
Type Description
SearchLineageStreamingResponse.Builder
public SearchLineageStreamingResponse.Builder addLinks(LineageLink.Builder builderForValue)

Output only. The lineage links that match the search criteria. Can be empty if no links match.

repeated .google.cloud.datacatalog.lineage.v1.LineageLink links = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

Output only. The lineage links that match the search criteria. Can be empty if no links match.

repeated .google.cloud.datacatalog.lineage.v1.LineageLink links = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

Output only. The lineage links that match the search criteria. Can be empty if no links match.

repeated .google.cloud.datacatalog.lineage.v1.LineageLink links = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue LineageLink.Builder
Returns
Type Description
SearchLineageStreamingResponse.Builder

addLinksBuilder()

public LineageLink.Builder addLinksBuilder()

Output only. The lineage links that match the search criteria. Can be empty if no links match.

repeated .google.cloud.datacatalog.lineage.v1.LineageLink links = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
LineageLink.Builder

addLinksBuilder(int index)

public LineageLink.Builder addLinksBuilder(int index)

Output only. The lineage links that match the search criteria. Can be empty if no links match.

repeated .google.cloud.datacatalog.lineage.v1.LineageLink links = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
LineageLink.Builder

addUnreachable(String value)

public SearchLineageStreamingResponse.Builder addUnreachable(String value)

Unordered list. Unreachable resources. If non-empty, the result set might be incomplete.

Currently, only locations are supported.

Format: projects/[PROJECT_NUMBER]/locations/[LOCATION] Example: projects/123456789/locations/us-east1

repeated string unreachable = 2 [(.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
SearchLineageStreamingResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public SearchLineageStreamingResponse.Builder addUnreachableBytes(ByteString value)

Unordered list. Unreachable resources. If non-empty, the result set might be incomplete.

Currently, only locations are supported.

Format: projects/[PROJECT_NUMBER]/locations/[LOCATION] Example: projects/123456789/locations/us-east1

repeated string unreachable = 2 [(.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
SearchLineageStreamingResponse.Builder

This builder for chaining.

build()

public SearchLineageStreamingResponse build()
Returns
Type Description
SearchLineageStreamingResponse

buildPartial()

public SearchLineageStreamingResponse buildPartial()
Returns
Type Description
SearchLineageStreamingResponse

clear()

public SearchLineageStreamingResponse.Builder clear()
Returns
Type Description
SearchLineageStreamingResponse.Builder
Overrides
public SearchLineageStreamingResponse.Builder clearLinks()

Output only. The lineage links that match the search criteria. Can be empty if no links match.

repeated .google.cloud.datacatalog.lineage.v1.LineageLink links = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SearchLineageStreamingResponse.Builder

clearUnreachable()

public SearchLineageStreamingResponse.Builder clearUnreachable()

Unordered list. Unreachable resources. If non-empty, the result set might be incomplete.

Currently, only locations are supported.

Format: projects/[PROJECT_NUMBER]/locations/[LOCATION] Example: projects/123456789/locations/us-east1

repeated string unreachable = 2 [(.google.api.field_behavior) = UNORDERED_LIST];

Returns
Type Description
SearchLineageStreamingResponse.Builder

This builder for chaining.

getDefaultInstanceForType()

public SearchLineageStreamingResponse getDefaultInstanceForType()
Returns
Type Description
SearchLineageStreamingResponse

getDescriptorForType()

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

Output only. The lineage links that match the search criteria. Can be empty if no links match.

repeated .google.cloud.datacatalog.lineage.v1.LineageLink links = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
LineageLink

getLinksBuilder(int index)

public LineageLink.Builder getLinksBuilder(int index)

Output only. The lineage links that match the search criteria. Can be empty if no links match.

repeated .google.cloud.datacatalog.lineage.v1.LineageLink links = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
LineageLink.Builder

getLinksBuilderList()

public List<LineageLink.Builder> getLinksBuilderList()

Output only. The lineage links that match the search criteria. Can be empty if no links match.

repeated .google.cloud.datacatalog.lineage.v1.LineageLink links = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getLinksCount()

public int getLinksCount()

Output only. The lineage links that match the search criteria. Can be empty if no links match.

repeated .google.cloud.datacatalog.lineage.v1.LineageLink links = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int
public List<LineageLink> getLinksList()

Output only. The lineage links that match the search criteria. Can be empty if no links match.

repeated .google.cloud.datacatalog.lineage.v1.LineageLink links = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<LineageLink>

getLinksOrBuilder(int index)

public LineageLinkOrBuilder getLinksOrBuilder(int index)

Output only. The lineage links that match the search criteria. Can be empty if no links match.

repeated .google.cloud.datacatalog.lineage.v1.LineageLink links = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
LineageLinkOrBuilder

getLinksOrBuilderList()

public List<? extends LineageLinkOrBuilder> getLinksOrBuilderList()

Output only. The lineage links that match the search criteria. Can be empty if no links match.

repeated .google.cloud.datacatalog.lineage.v1.LineageLink links = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

getUnreachable(int index)

public String getUnreachable(int index)

Unordered list. Unreachable resources. If non-empty, the result set might be incomplete.

Currently, only locations are supported.

Format: projects/[PROJECT_NUMBER]/locations/[LOCATION] Example: projects/123456789/locations/us-east1

repeated string unreachable = 2 [(.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Unordered list. Unreachable resources. If non-empty, the result set might be incomplete.

Currently, only locations are supported.

Format: projects/[PROJECT_NUMBER]/locations/[LOCATION] Example: projects/123456789/locations/us-east1

repeated string unreachable = 2 [(.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Unordered list. Unreachable resources. If non-empty, the result set might be incomplete.

Currently, only locations are supported.

Format: projects/[PROJECT_NUMBER]/locations/[LOCATION] Example: projects/123456789/locations/us-east1

repeated string unreachable = 2 [(.google.api.field_behavior) = UNORDERED_LIST];

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Unordered list. Unreachable resources. If non-empty, the result set might be incomplete.

Currently, only locations are supported.

Format: projects/[PROJECT_NUMBER]/locations/[LOCATION] Example: projects/123456789/locations/us-east1

repeated string unreachable = 2 [(.google.api.field_behavior) = UNORDERED_LIST];

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SearchLineageStreamingResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public SearchLineageStreamingResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SearchLineageStreamingResponse.Builder
Overrides
public SearchLineageStreamingResponse.Builder removeLinks(int index)

Output only. The lineage links that match the search criteria. Can be empty if no links match.

repeated .google.cloud.datacatalog.lineage.v1.LineageLink links = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
SearchLineageStreamingResponse.Builder
public SearchLineageStreamingResponse.Builder setLinks(int index, LineageLink value)

Output only. The lineage links that match the search criteria. Can be empty if no links match.

repeated .google.cloud.datacatalog.lineage.v1.LineageLink links = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

Output only. The lineage links that match the search criteria. Can be empty if no links match.

repeated .google.cloud.datacatalog.lineage.v1.LineageLink links = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue LineageLink.Builder
Returns
Type Description
SearchLineageStreamingResponse.Builder

setUnreachable(int index, String value)

public SearchLineageStreamingResponse.Builder setUnreachable(int index, String value)

Unordered list. Unreachable resources. If non-empty, the result set might be incomplete.

Currently, only locations are supported.

Format: projects/[PROJECT_NUMBER]/locations/[LOCATION] Example: projects/123456789/locations/us-east1

repeated string unreachable = 2 [(.google.api.field_behavior) = UNORDERED_LIST];

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
SearchLineageStreamingResponse.Builder

This builder for chaining.