Class ConnectionProto.ListConnectionsResponse.Builder (2.44.0)

public static final class ConnectionProto.ListConnectionsResponse.Builder extends GeneratedMessageV3.Builder<ConnectionProto.ListConnectionsResponse.Builder> implements ConnectionProto.ListConnectionsResponseOrBuilder

The response for ConnectionService.ListConnections.

Protobuf type google.cloud.bigquery.connection.v1beta1.ListConnectionsResponse

Static Methods

getDescriptor()

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

Methods

addAllConnections(Iterable<? extends ConnectionProto.Connection> values)

public ConnectionProto.ListConnectionsResponse.Builder addAllConnections(Iterable<? extends ConnectionProto.Connection> values)

List of connections.

repeated .google.cloud.bigquery.connection.v1beta1.Connection connections = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection>
Returns
Type Description
ConnectionProto.ListConnectionsResponse.Builder

addConnections(ConnectionProto.Connection value)

public ConnectionProto.ListConnectionsResponse.Builder addConnections(ConnectionProto.Connection value)

List of connections.

repeated .google.cloud.bigquery.connection.v1beta1.Connection connections = 2;

Parameter
Name Description
value ConnectionProto.Connection
Returns
Type Description
ConnectionProto.ListConnectionsResponse.Builder

addConnections(ConnectionProto.Connection.Builder builderForValue)

public ConnectionProto.ListConnectionsResponse.Builder addConnections(ConnectionProto.Connection.Builder builderForValue)

List of connections.

repeated .google.cloud.bigquery.connection.v1beta1.Connection connections = 2;

Parameter
Name Description
builderForValue ConnectionProto.Connection.Builder
Returns
Type Description
ConnectionProto.ListConnectionsResponse.Builder

addConnections(int index, ConnectionProto.Connection value)

public ConnectionProto.ListConnectionsResponse.Builder addConnections(int index, ConnectionProto.Connection value)

List of connections.

repeated .google.cloud.bigquery.connection.v1beta1.Connection connections = 2;

Parameters
Name Description
index int
value ConnectionProto.Connection
Returns
Type Description
ConnectionProto.ListConnectionsResponse.Builder

addConnections(int index, ConnectionProto.Connection.Builder builderForValue)

public ConnectionProto.ListConnectionsResponse.Builder addConnections(int index, ConnectionProto.Connection.Builder builderForValue)

List of connections.

repeated .google.cloud.bigquery.connection.v1beta1.Connection connections = 2;

Parameters
Name Description
index int
builderForValue ConnectionProto.Connection.Builder
Returns
Type Description
ConnectionProto.ListConnectionsResponse.Builder

addConnectionsBuilder()

public ConnectionProto.Connection.Builder addConnectionsBuilder()

List of connections.

repeated .google.cloud.bigquery.connection.v1beta1.Connection connections = 2;

Returns
Type Description
ConnectionProto.Connection.Builder

addConnectionsBuilder(int index)

public ConnectionProto.Connection.Builder addConnectionsBuilder(int index)

List of connections.

repeated .google.cloud.bigquery.connection.v1beta1.Connection connections = 2;

Parameter
Name Description
index int
Returns
Type Description
ConnectionProto.Connection.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ConnectionProto.ListConnectionsResponse build()
Returns
Type Description
ConnectionProto.ListConnectionsResponse

buildPartial()

public ConnectionProto.ListConnectionsResponse buildPartial()
Returns
Type Description
ConnectionProto.ListConnectionsResponse

clear()

public ConnectionProto.ListConnectionsResponse.Builder clear()
Returns
Type Description
ConnectionProto.ListConnectionsResponse.Builder
Overrides

clearConnections()

public ConnectionProto.ListConnectionsResponse.Builder clearConnections()

List of connections.

repeated .google.cloud.bigquery.connection.v1beta1.Connection connections = 2;

Returns
Type Description
ConnectionProto.ListConnectionsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ConnectionProto.ListConnectionsResponse.Builder clearNextPageToken()

Next page token.

string next_page_token = 1;

Returns
Type Description
ConnectionProto.ListConnectionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ConnectionProto.ListConnectionsResponse.Builder clone()
Returns
Type Description
ConnectionProto.ListConnectionsResponse.Builder
Overrides

getConnections(int index)

public ConnectionProto.Connection getConnections(int index)

List of connections.

repeated .google.cloud.bigquery.connection.v1beta1.Connection connections = 2;

Parameter
Name Description
index int
Returns
Type Description
ConnectionProto.Connection

getConnectionsBuilder(int index)

public ConnectionProto.Connection.Builder getConnectionsBuilder(int index)

List of connections.

repeated .google.cloud.bigquery.connection.v1beta1.Connection connections = 2;

Parameter
Name Description
index int
Returns
Type Description
ConnectionProto.Connection.Builder

getConnectionsBuilderList()

public List<ConnectionProto.Connection.Builder> getConnectionsBuilderList()

List of connections.

repeated .google.cloud.bigquery.connection.v1beta1.Connection connections = 2;

Returns
Type Description
List<Builder>

getConnectionsCount()

public int getConnectionsCount()

List of connections.

repeated .google.cloud.bigquery.connection.v1beta1.Connection connections = 2;

Returns
Type Description
int

getConnectionsList()

public List<ConnectionProto.Connection> getConnectionsList()

List of connections.

repeated .google.cloud.bigquery.connection.v1beta1.Connection connections = 2;

Returns
Type Description
List<Connection>

getConnectionsOrBuilder(int index)

public ConnectionProto.ConnectionOrBuilder getConnectionsOrBuilder(int index)

List of connections.

repeated .google.cloud.bigquery.connection.v1beta1.Connection connections = 2;

Parameter
Name Description
index int
Returns
Type Description
ConnectionProto.ConnectionOrBuilder

getConnectionsOrBuilderList()

public List<? extends ConnectionProto.ConnectionOrBuilder> getConnectionsOrBuilderList()

List of connections.

repeated .google.cloud.bigquery.connection.v1beta1.Connection connections = 2;

Returns
Type Description
List<? extends com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.ConnectionOrBuilder>

getDefaultInstanceForType()

public ConnectionProto.ListConnectionsResponse getDefaultInstanceForType()
Returns
Type Description
ConnectionProto.ListConnectionsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

Next page token.

string next_page_token = 1;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Next page token.

string next_page_token = 1;

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(ConnectionProto.ListConnectionsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeConnections(int index)

public ConnectionProto.ListConnectionsResponse.Builder removeConnections(int index)

List of connections.

repeated .google.cloud.bigquery.connection.v1beta1.Connection connections = 2;

Parameter
Name Description
index int
Returns
Type Description
ConnectionProto.ListConnectionsResponse.Builder

setConnections(int index, ConnectionProto.Connection value)

public ConnectionProto.ListConnectionsResponse.Builder setConnections(int index, ConnectionProto.Connection value)

List of connections.

repeated .google.cloud.bigquery.connection.v1beta1.Connection connections = 2;

Parameters
Name Description
index int
value ConnectionProto.Connection
Returns
Type Description
ConnectionProto.ListConnectionsResponse.Builder

setConnections(int index, ConnectionProto.Connection.Builder builderForValue)

public ConnectionProto.ListConnectionsResponse.Builder setConnections(int index, ConnectionProto.Connection.Builder builderForValue)

List of connections.

repeated .google.cloud.bigquery.connection.v1beta1.Connection connections = 2;

Parameters
Name Description
index int
builderForValue ConnectionProto.Connection.Builder
Returns
Type Description
ConnectionProto.ListConnectionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ConnectionProto.ListConnectionsResponse.Builder setNextPageToken(String value)

Next page token.

string next_page_token = 1;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ConnectionProto.ListConnectionsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ConnectionProto.ListConnectionsResponse.Builder setNextPageTokenBytes(ByteString value)

Next page token.

string next_page_token = 1;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ConnectionProto.ListConnectionsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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