Class ListDataProductsResponse.Builder (1.86.0)

public static final class ListDataProductsResponse.Builder extends GeneratedMessage.Builder<ListDataProductsResponse.Builder> implements ListDataProductsResponseOrBuilder

Response message for listing data products.

Protobuf type google.cloud.dataplex.v1.ListDataProductsResponse

Static Methods

getDescriptor()

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

Methods

addAllDataProducts(Iterable<? extends DataProduct> values)

public ListDataProductsResponse.Builder addAllDataProducts(Iterable<? extends DataProduct> values)

The data products for the requested filter criteria.

repeated .google.cloud.dataplex.v1.DataProduct data_products = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dataplex.v1.DataProduct>
Returns
Type Description
ListDataProductsResponse.Builder

addAllUnreachable(Iterable<String> values)

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

Unordered list. Locations that the service couldn't reach.

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

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListDataProductsResponse.Builder

This builder for chaining.

addDataProducts(DataProduct value)

public ListDataProductsResponse.Builder addDataProducts(DataProduct value)

The data products for the requested filter criteria.

repeated .google.cloud.dataplex.v1.DataProduct data_products = 1;

Parameter
Name Description
value DataProduct
Returns
Type Description
ListDataProductsResponse.Builder

addDataProducts(DataProduct.Builder builderForValue)

public ListDataProductsResponse.Builder addDataProducts(DataProduct.Builder builderForValue)

The data products for the requested filter criteria.

repeated .google.cloud.dataplex.v1.DataProduct data_products = 1;

Parameter
Name Description
builderForValue DataProduct.Builder
Returns
Type Description
ListDataProductsResponse.Builder

addDataProducts(int index, DataProduct value)

public ListDataProductsResponse.Builder addDataProducts(int index, DataProduct value)

The data products for the requested filter criteria.

repeated .google.cloud.dataplex.v1.DataProduct data_products = 1;

Parameters
Name Description
index int
value DataProduct
Returns
Type Description
ListDataProductsResponse.Builder

addDataProducts(int index, DataProduct.Builder builderForValue)

public ListDataProductsResponse.Builder addDataProducts(int index, DataProduct.Builder builderForValue)

The data products for the requested filter criteria.

repeated .google.cloud.dataplex.v1.DataProduct data_products = 1;

Parameters
Name Description
index int
builderForValue DataProduct.Builder
Returns
Type Description
ListDataProductsResponse.Builder

addDataProductsBuilder()

public DataProduct.Builder addDataProductsBuilder()

The data products for the requested filter criteria.

repeated .google.cloud.dataplex.v1.DataProduct data_products = 1;

Returns
Type Description
DataProduct.Builder

addDataProductsBuilder(int index)

public DataProduct.Builder addDataProductsBuilder(int index)

The data products for the requested filter criteria.

repeated .google.cloud.dataplex.v1.DataProduct data_products = 1;

Parameter
Name Description
index int
Returns
Type Description
DataProduct.Builder

addUnreachable(String value)

public ListDataProductsResponse.Builder addUnreachable(String value)

Unordered list. Locations that the service couldn't reach.

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

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListDataProductsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListDataProductsResponse.Builder addUnreachableBytes(ByteString value)

Unordered list. Locations that the service couldn't reach.

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

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListDataProductsResponse.Builder

This builder for chaining.

build()

public ListDataProductsResponse build()
Returns
Type Description
ListDataProductsResponse

buildPartial()

public ListDataProductsResponse buildPartial()
Returns
Type Description
ListDataProductsResponse

clear()

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

clearDataProducts()

public ListDataProductsResponse.Builder clearDataProducts()

The data products for the requested filter criteria.

repeated .google.cloud.dataplex.v1.DataProduct data_products = 1;

Returns
Type Description
ListDataProductsResponse.Builder

clearNextPageToken()

public ListDataProductsResponse.Builder clearNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is empty, then there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ListDataProductsResponse.Builder

This builder for chaining.

clearUnreachable()

public ListDataProductsResponse.Builder clearUnreachable()

Unordered list. Locations that the service couldn't reach.

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

Returns
Type Description
ListDataProductsResponse.Builder

This builder for chaining.

getDataProducts(int index)

public DataProduct getDataProducts(int index)

The data products for the requested filter criteria.

repeated .google.cloud.dataplex.v1.DataProduct data_products = 1;

Parameter
Name Description
index int
Returns
Type Description
DataProduct

getDataProductsBuilder(int index)

public DataProduct.Builder getDataProductsBuilder(int index)

The data products for the requested filter criteria.

repeated .google.cloud.dataplex.v1.DataProduct data_products = 1;

Parameter
Name Description
index int
Returns
Type Description
DataProduct.Builder

getDataProductsBuilderList()

public List<DataProduct.Builder> getDataProductsBuilderList()

The data products for the requested filter criteria.

repeated .google.cloud.dataplex.v1.DataProduct data_products = 1;

Returns
Type Description
List<Builder>

getDataProductsCount()

public int getDataProductsCount()

The data products for the requested filter criteria.

repeated .google.cloud.dataplex.v1.DataProduct data_products = 1;

Returns
Type Description
int

getDataProductsList()

public List<DataProduct> getDataProductsList()

The data products for the requested filter criteria.

repeated .google.cloud.dataplex.v1.DataProduct data_products = 1;

Returns
Type Description
List<DataProduct>

getDataProductsOrBuilder(int index)

public DataProductOrBuilder getDataProductsOrBuilder(int index)

The data products for the requested filter criteria.

repeated .google.cloud.dataplex.v1.DataProduct data_products = 1;

Parameter
Name Description
index int
Returns
Type Description
DataProductOrBuilder

getDataProductsOrBuilderList()

public List<? extends DataProductOrBuilder> getDataProductsOrBuilderList()

The data products for the requested filter criteria.

repeated .google.cloud.dataplex.v1.DataProduct data_products = 1;

Returns
Type Description
List<? extends com.google.cloud.dataplex.v1.DataProductOrBuilder>

getDefaultInstanceForType()

public ListDataProductsResponse getDefaultInstanceForType()
Returns
Type Description
ListDataProductsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is empty, then there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is empty, then there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Unordered list. Locations that the service couldn't reach.

repeated string unreachable = 3 [(.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. Locations that the service couldn't reach.

repeated string unreachable = 3 [(.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. Locations that the service couldn't reach.

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

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Unordered list. Locations that the service couldn't reach.

repeated string unreachable = 3 [(.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(ListDataProductsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeDataProducts(int index)

public ListDataProductsResponse.Builder removeDataProducts(int index)

The data products for the requested filter criteria.

repeated .google.cloud.dataplex.v1.DataProduct data_products = 1;

Parameter
Name Description
index int
Returns
Type Description
ListDataProductsResponse.Builder

setDataProducts(int index, DataProduct value)

public ListDataProductsResponse.Builder setDataProducts(int index, DataProduct value)

The data products for the requested filter criteria.

repeated .google.cloud.dataplex.v1.DataProduct data_products = 1;

Parameters
Name Description
index int
value DataProduct
Returns
Type Description
ListDataProductsResponse.Builder

setDataProducts(int index, DataProduct.Builder builderForValue)

public ListDataProductsResponse.Builder setDataProducts(int index, DataProduct.Builder builderForValue)

The data products for the requested filter criteria.

repeated .google.cloud.dataplex.v1.DataProduct data_products = 1;

Parameters
Name Description
index int
builderForValue DataProduct.Builder
Returns
Type Description
ListDataProductsResponse.Builder

setNextPageToken(String value)

public ListDataProductsResponse.Builder setNextPageToken(String value)

A token, which can be sent as page_token to retrieve the next page. If this field is empty, then there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListDataProductsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListDataProductsResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as page_token to retrieve the next page. If this field is empty, then there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListDataProductsResponse.Builder

This builder for chaining.

setUnreachable(int index, String value)

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

Unordered list. Locations that the service couldn't reach.

repeated string unreachable = 3 [(.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
ListDataProductsResponse.Builder

This builder for chaining.