Class ConnectionProto.ListConnectionsResponse.Builder (2.21.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection>
Returns
TypeDescription
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
NameDescription
valueConnectionProto.Connection
Returns
TypeDescription
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
NameDescription
builderForValueConnectionProto.Connection.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueConnectionProto.Connection
Returns
TypeDescription
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
NameDescription
indexint
builderForValueConnectionProto.Connection.Builder
Returns
TypeDescription
ConnectionProto.ListConnectionsResponse.Builder

addConnectionsBuilder()

public ConnectionProto.Connection.Builder addConnectionsBuilder()

List of connections.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ConnectionProto.ListConnectionsResponse build()
Returns
TypeDescription
ConnectionProto.ListConnectionsResponse

buildPartial()

public ConnectionProto.ListConnectionsResponse buildPartial()
Returns
TypeDescription
ConnectionProto.ListConnectionsResponse

clear()

public ConnectionProto.ListConnectionsResponse.Builder clear()
Returns
TypeDescription
ConnectionProto.ListConnectionsResponse.Builder
Overrides

clearConnections()

public ConnectionProto.ListConnectionsResponse.Builder clearConnections()

List of connections.

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

Returns
TypeDescription
ConnectionProto.ListConnectionsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ConnectionProto.ListConnectionsResponse.Builder clearNextPageToken()

Next page token.

string next_page_token = 1;

Returns
TypeDescription
ConnectionProto.ListConnectionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ConnectionProto.ListConnectionsResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ConnectionProto.Connection.Builder

getConnectionsBuilderList()

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

List of connections.

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

Returns
TypeDescription
List<Builder>

getConnectionsCount()

public int getConnectionsCount()

List of connections.

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

Returns
TypeDescription
int

getConnectionsList()

public List<ConnectionProto.Connection> getConnectionsList()

List of connections.

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

Returns
TypeDescription
List<Connection>

getConnectionsOrBuilder(int index)

public ConnectionProto.ConnectionOrBuilder getConnectionsOrBuilder(int index)

List of connections.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ConnectionProto.ConnectionOrBuilder

getConnectionsOrBuilderList()

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

List of connections.

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

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

getDefaultInstanceForType()

public ConnectionProto.ListConnectionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ConnectionProto.ListConnectionsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

Next page token.

string next_page_token = 1;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Next page token.

string next_page_token = 1;

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

public ConnectionProto.ListConnectionsResponse.Builder mergeFrom(ConnectionProto.ListConnectionsResponse other)
Parameter
NameDescription
otherConnectionProto.ListConnectionsResponse
Returns
TypeDescription
ConnectionProto.ListConnectionsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ConnectionProto.ListConnectionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueConnectionProto.Connection
Returns
TypeDescription
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
NameDescription
indexint
builderForValueConnectionProto.Connection.Builder
Returns
TypeDescription
ConnectionProto.ListConnectionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ConnectionProto.ListConnectionsResponse.Builder setNextPageToken(String value)

Next page token.

string next_page_token = 1;

Parameter
NameDescription
valueString

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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