Class ListDataExchangesResponse.Builder (0.12.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.bigquery.analyticshub.v1.DataExchange>
Returns
TypeDescription
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
NameDescription
valueDataExchange
Returns
TypeDescription
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
NameDescription
builderForValueDataExchange.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueDataExchange
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDataExchange.Builder
Returns
TypeDescription
ListDataExchangesResponse.Builder

addDataExchangesBuilder()

public DataExchange.Builder addDataExchangesBuilder()

The list of data exchanges.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DataExchange.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListDataExchangesResponse build()
Returns
TypeDescription
ListDataExchangesResponse

buildPartial()

public ListDataExchangesResponse buildPartial()
Returns
TypeDescription
ListDataExchangesResponse

clear()

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

clearDataExchanges()

public ListDataExchangesResponse.Builder clearDataExchanges()

The list of data exchanges.

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

Returns
TypeDescription
ListDataExchangesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListDataExchangesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListDataExchangesResponse.Builder
Overrides

clearNextPageToken()

public ListDataExchangesResponse.Builder clearNextPageToken()

A token to request the next page of results.

string next_page_token = 2;

Returns
TypeDescription
ListDataExchangesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ListDataExchangesResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DataExchange.Builder

getDataExchangesBuilderList()

public List<DataExchange.Builder> getDataExchangesBuilderList()

The list of data exchanges.

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

Returns
TypeDescription
List<Builder>

getDataExchangesCount()

public int getDataExchangesCount()

The list of data exchanges.

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

Returns
TypeDescription
int

getDataExchangesList()

public List<DataExchange> getDataExchangesList()

The list of data exchanges.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DataExchangeOrBuilder

getDataExchangesOrBuilderList()

public List<? extends DataExchangeOrBuilder> getDataExchangesOrBuilderList()

The list of data exchanges.

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

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

getDefaultInstanceForType()

public ListDataExchangesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListDataExchangesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

A token to request the next page of results.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to request the next page of results.

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

public ListDataExchangesResponse.Builder mergeFrom(ListDataExchangesResponse other)
Parameter
NameDescription
otherListDataExchangesResponse
Returns
TypeDescription
ListDataExchangesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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