Class ListOrgDataExchangesResponse.Builder (0.4.0)

public static final class ListOrgDataExchangesResponse.Builder extends GeneratedMessageV3.Builder<ListOrgDataExchangesResponse.Builder> implements ListOrgDataExchangesResponseOrBuilder

Message for response to listing data exchanges in an organization and location.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllDataExchanges(Iterable<? extends DataExchange> values)

public ListOrgDataExchangesResponse.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
ListOrgDataExchangesResponse.Builder

addDataExchanges(DataExchange value)

public ListOrgDataExchangesResponse.Builder addDataExchanges(DataExchange value)

The list of data exchanges.

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

Parameter
NameDescription
valueDataExchange
Returns
TypeDescription
ListOrgDataExchangesResponse.Builder

addDataExchanges(DataExchange.Builder builderForValue)

public ListOrgDataExchangesResponse.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
ListOrgDataExchangesResponse.Builder

addDataExchanges(int index, DataExchange value)

public ListOrgDataExchangesResponse.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
ListOrgDataExchangesResponse.Builder

addDataExchanges(int index, DataExchange.Builder builderForValue)

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

build()

public ListOrgDataExchangesResponse build()
Returns
TypeDescription
ListOrgDataExchangesResponse

buildPartial()

public ListOrgDataExchangesResponse buildPartial()
Returns
TypeDescription
ListOrgDataExchangesResponse

clear()

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

clearDataExchanges()

public ListOrgDataExchangesResponse.Builder clearDataExchanges()

The list of data exchanges.

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

Returns
TypeDescription
ListOrgDataExchangesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListOrgDataExchangesResponse.Builder clearNextPageToken()

A token to request the next page of results.

string next_page_token = 2;

Returns
TypeDescription
ListOrgDataExchangesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ListOrgDataExchangesResponse.Builder clone()
Returns
TypeDescription
ListOrgDataExchangesResponse.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 ListOrgDataExchangesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListOrgDataExchangesResponse

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

public ListOrgDataExchangesResponse.Builder mergeFrom(ListOrgDataExchangesResponse other)
Parameter
NameDescription
otherListOrgDataExchangesResponse
Returns
TypeDescription
ListOrgDataExchangesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListOrgDataExchangesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListOrgDataExchangesResponse.Builder
Overrides

removeDataExchanges(int index)

public ListOrgDataExchangesResponse.Builder removeDataExchanges(int index)

The list of data exchanges.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ListOrgDataExchangesResponse.Builder

setDataExchanges(int index, DataExchange value)

public ListOrgDataExchangesResponse.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
ListOrgDataExchangesResponse.Builder

setDataExchanges(int index, DataExchange.Builder builderForValue)

public ListOrgDataExchangesResponse.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
ListOrgDataExchangesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListOrgDataExchangesResponse.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
ListOrgDataExchangesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListOrgDataExchangesResponse.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
ListOrgDataExchangesResponse.Builder

This builder for chaining.

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

public ListOrgDataExchangesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListOrgDataExchangesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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