Class ConnectionProto.ListConnectionsResponse.Builder (2.30.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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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>

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

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

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

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

addConnectionsBuilder()

public ConnectionProto.Connection.Builder addConnectionsBuilder()

List of connections.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ConnectionProto.ListConnectionsResponse build()

buildPartial()

public ConnectionProto.ListConnectionsResponse buildPartial()

clear()

public ConnectionProto.ListConnectionsResponse.Builder clear()
Overrides

clearConnections()

public ConnectionProto.ListConnectionsResponse.Builder clearConnections()

List of connections.

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

clearField(Descriptors.FieldDescriptor field)

public ConnectionProto.ListConnectionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
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
Overrides

clone()

public ConnectionProto.ListConnectionsResponse.Builder clone()
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

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ConnectionProto.ListConnectionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
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

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

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

setField(Descriptors.FieldDescriptor field, Object value)

public ConnectionProto.ListConnectionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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