Class ListDataExchangesResponse.Builder (0.40.0)

public static final class ListDataExchangesResponse.Builder extends GeneratedMessageV3.Builder<ListDataExchangesResponse.Builder> implements ListDataExchangesResponseOrBuilder

Message for response to the list of data exchanges.

Protobuf type google.cloud.bigquery.analyticshub.v1.ListDataExchangesResponse

Static Methods

getDescriptor()

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

Methods

addAllDataExchanges(Iterable<? extends DataExchange> values)

public ListDataExchangesResponse.Builder addAllDataExchanges(Iterable<? extends DataExchange> values)

The list of data exchanges.

repeated .google.cloud.bigquery.analyticshub.v1.DataExchange data_exchanges = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.bigquery.analyticshub.v1.DataExchange>
Returns
Type Description
ListDataExchangesResponse.Builder

addDataExchanges(DataExchange value)

public ListDataExchangesResponse.Builder addDataExchanges(DataExchange value)

The list of data exchanges.

repeated .google.cloud.bigquery.analyticshub.v1.DataExchange data_exchanges = 1;

Parameter
Name Description
value DataExchange
Returns
Type Description
ListDataExchangesResponse.Builder

addDataExchanges(DataExchange.Builder builderForValue)

public ListDataExchangesResponse.Builder addDataExchanges(DataExchange.Builder builderForValue)

The list of data exchanges.

repeated .google.cloud.bigquery.analyticshub.v1.DataExchange data_exchanges = 1;

Parameter
Name Description
builderForValue DataExchange.Builder
Returns
Type Description
ListDataExchangesResponse.Builder

addDataExchanges(int index, DataExchange value)

public ListDataExchangesResponse.Builder addDataExchanges(int index, DataExchange value)

The list of data exchanges.

repeated .google.cloud.bigquery.analyticshub.v1.DataExchange data_exchanges = 1;

Parameters
Name Description
index int
value DataExchange
Returns
Type Description
ListDataExchangesResponse.Builder

addDataExchanges(int index, DataExchange.Builder builderForValue)

public ListDataExchangesResponse.Builder addDataExchanges(int index, DataExchange.Builder builderForValue)

The list of data exchanges.

repeated .google.cloud.bigquery.analyticshub.v1.DataExchange data_exchanges = 1;

Parameters
Name Description
index int
builderForValue DataExchange.Builder
Returns
Type Description
ListDataExchangesResponse.Builder

addDataExchangesBuilder()

public DataExchange.Builder addDataExchangesBuilder()

The list of data exchanges.

repeated .google.cloud.bigquery.analyticshub.v1.DataExchange data_exchanges = 1;

Returns
Type Description
DataExchange.Builder

addDataExchangesBuilder(int index)

public DataExchange.Builder addDataExchangesBuilder(int index)

The list of data exchanges.

repeated .google.cloud.bigquery.analyticshub.v1.DataExchange data_exchanges = 1;

Parameter
Name Description
index int
Returns
Type Description
DataExchange.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListDataExchangesResponse build()
Returns
Type Description
ListDataExchangesResponse

buildPartial()

public ListDataExchangesResponse buildPartial()
Returns
Type Description
ListDataExchangesResponse

clear()

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

clearDataExchanges()

public ListDataExchangesResponse.Builder clearDataExchanges()

The list of data exchanges.

repeated .google.cloud.bigquery.analyticshub.v1.DataExchange data_exchanges = 1;

Returns
Type Description
ListDataExchangesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListDataExchangesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListDataExchangesResponse.Builder
Overrides

clearNextPageToken()

public ListDataExchangesResponse.Builder clearNextPageToken()

A token to request the next page of results.

string next_page_token = 2;

Returns
Type Description
ListDataExchangesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDataExchanges(int index)

public DataExchange getDataExchanges(int index)

The list of data exchanges.

repeated .google.cloud.bigquery.analyticshub.v1.DataExchange data_exchanges = 1;

Parameter
Name Description
index int
Returns
Type Description
DataExchange

getDataExchangesBuilder(int index)

public DataExchange.Builder getDataExchangesBuilder(int index)

The list of data exchanges.

repeated .google.cloud.bigquery.analyticshub.v1.DataExchange data_exchanges = 1;

Parameter
Name Description
index int
Returns
Type Description
DataExchange.Builder

getDataExchangesBuilderList()

public List<DataExchange.Builder> getDataExchangesBuilderList()

The list of data exchanges.

repeated .google.cloud.bigquery.analyticshub.v1.DataExchange data_exchanges = 1;

Returns
Type Description
List<Builder>

getDataExchangesCount()

public int getDataExchangesCount()

The list of data exchanges.

repeated .google.cloud.bigquery.analyticshub.v1.DataExchange data_exchanges = 1;

Returns
Type Description
int

getDataExchangesList()

public List<DataExchange> getDataExchangesList()

The list of data exchanges.

repeated .google.cloud.bigquery.analyticshub.v1.DataExchange data_exchanges = 1;

Returns
Type Description
List<DataExchange>

getDataExchangesOrBuilder(int index)

public DataExchangeOrBuilder getDataExchangesOrBuilder(int index)

The list of data exchanges.

repeated .google.cloud.bigquery.analyticshub.v1.DataExchange data_exchanges = 1;

Parameter
Name Description
index int
Returns
Type Description
DataExchangeOrBuilder

getDataExchangesOrBuilderList()

public List<? extends DataExchangeOrBuilder> getDataExchangesOrBuilderList()

The list of data exchanges.

repeated .google.cloud.bigquery.analyticshub.v1.DataExchange data_exchanges = 1;

Returns
Type Description
List<? extends com.google.cloud.bigquery.analyticshub.v1.DataExchangeOrBuilder>

getDefaultInstanceForType()

public ListDataExchangesResponse getDefaultInstanceForType()
Returns
Type Description
ListDataExchangesResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token to request the next page of results.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to request the next page of results.

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(ListDataExchangesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListDataExchangesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListDataExchangesResponse.Builder
Overrides

removeDataExchanges(int index)

public ListDataExchangesResponse.Builder removeDataExchanges(int index)

The list of data exchanges.

repeated .google.cloud.bigquery.analyticshub.v1.DataExchange data_exchanges = 1;

Parameter
Name Description
index int
Returns
Type Description
ListDataExchangesResponse.Builder

setDataExchanges(int index, DataExchange value)

public ListDataExchangesResponse.Builder setDataExchanges(int index, DataExchange value)

The list of data exchanges.

repeated .google.cloud.bigquery.analyticshub.v1.DataExchange data_exchanges = 1;

Parameters
Name Description
index int
value DataExchange
Returns
Type Description
ListDataExchangesResponse.Builder

setDataExchanges(int index, DataExchange.Builder builderForValue)

public ListDataExchangesResponse.Builder setDataExchanges(int index, DataExchange.Builder builderForValue)

The list of data exchanges.

repeated .google.cloud.bigquery.analyticshub.v1.DataExchange data_exchanges = 1;

Parameters
Name Description
index int
builderForValue DataExchange.Builder
Returns
Type Description
ListDataExchangesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListDataExchangesResponse.Builder setNextPageToken(String value)

A token to request the next page of results.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListDataExchangesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListDataExchangesResponse.Builder setNextPageTokenBytes(ByteString value)

A token to request the next page of results.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListDataExchangesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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