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
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
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
Returns
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
Returns
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
Returns
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
Returns
addConnectionsBuilder()
public ConnectionProto.Connection.Builder addConnectionsBuilder()
List of connections.
repeated .google.cloud.bigquery.connection.v1beta1.Connection connections = 2;
Returns
addConnectionsBuilder(int index)
public ConnectionProto.Connection.Builder addConnectionsBuilder(int index)
List of connections.
repeated .google.cloud.bigquery.connection.v1beta1.Connection connections = 2;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConnectionProto.ListConnectionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ConnectionProto.ListConnectionsResponse build()
Returns
buildPartial()
public ConnectionProto.ListConnectionsResponse buildPartial()
Returns
clear()
public ConnectionProto.ListConnectionsResponse.Builder clear()
Returns
Overrides
clearConnections()
public ConnectionProto.ListConnectionsResponse.Builder clearConnections()
List of connections.
repeated .google.cloud.bigquery.connection.v1beta1.Connection connections = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public ConnectionProto.ListConnectionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ConnectionProto.ListConnectionsResponse.Builder clearNextPageToken()
Next page token.
string next_page_token = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ConnectionProto.ListConnectionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ConnectionProto.ListConnectionsResponse.Builder clone()
Returns
Overrides
getConnections(int index)
public ConnectionProto.Connection getConnections(int index)
List of connections.
repeated .google.cloud.bigquery.connection.v1beta1.Connection connections = 2;
Parameter
Returns
getConnectionsBuilder(int index)
public ConnectionProto.Connection.Builder getConnectionsBuilder(int index)
List of connections.
repeated .google.cloud.bigquery.connection.v1beta1.Connection connections = 2;
Parameter
Returns
getConnectionsBuilderList()
public List<ConnectionProto.Connection.Builder> getConnectionsBuilderList()
List of connections.
repeated .google.cloud.bigquery.connection.v1beta1.Connection connections = 2;
Returns
getConnectionsCount()
public int getConnectionsCount()
List of connections.
repeated .google.cloud.bigquery.connection.v1beta1.Connection connections = 2;
Returns
getConnectionsList()
public List<ConnectionProto.Connection> getConnectionsList()
List of connections.
repeated .google.cloud.bigquery.connection.v1beta1.Connection connections = 2;
Returns
getConnectionsOrBuilder(int index)
public ConnectionProto.ConnectionOrBuilder getConnectionsOrBuilder(int index)
List of connections.
repeated .google.cloud.bigquery.connection.v1beta1.Connection connections = 2;
Parameter
Returns
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ConnectionProto.ListConnectionsResponse other)
public ConnectionProto.ListConnectionsResponse.Builder mergeFrom(ConnectionProto.ListConnectionsResponse other)
Parameter
Returns
public ConnectionProto.ListConnectionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ConnectionProto.ListConnectionsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConnectionProto.ListConnectionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeConnections(int index)
public ConnectionProto.ListConnectionsResponse.Builder removeConnections(int index)
List of connections.
repeated .google.cloud.bigquery.connection.v1beta1.Connection connections = 2;
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ConnectionProto.ListConnectionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConnectionProto.ListConnectionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ConnectionProto.ListConnectionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides