Class ListConnectorsResponse.Builder (2.46.0)

public static final class ListConnectorsResponse.Builder extends GeneratedMessageV3.Builder<ListConnectorsResponse.Builder> implements ListConnectorsResponseOrBuilder

Response for listing Serverless VPC Access connectors.

Protobuf type google.cloud.vpcaccess.v1.ListConnectorsResponse

Static Methods

getDescriptor()

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

Methods

addAllConnectors(Iterable<? extends Connector> values)

public ListConnectorsResponse.Builder addAllConnectors(Iterable<? extends Connector> values)

List of Serverless VPC Access connectors.

repeated .google.cloud.vpcaccess.v1.Connector connectors = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.vpcaccess.v1.Connector>
Returns
Type Description
ListConnectorsResponse.Builder

addConnectors(Connector value)

public ListConnectorsResponse.Builder addConnectors(Connector value)

List of Serverless VPC Access connectors.

repeated .google.cloud.vpcaccess.v1.Connector connectors = 1;

Parameter
Name Description
value Connector
Returns
Type Description
ListConnectorsResponse.Builder

addConnectors(Connector.Builder builderForValue)

public ListConnectorsResponse.Builder addConnectors(Connector.Builder builderForValue)

List of Serverless VPC Access connectors.

repeated .google.cloud.vpcaccess.v1.Connector connectors = 1;

Parameter
Name Description
builderForValue Connector.Builder
Returns
Type Description
ListConnectorsResponse.Builder

addConnectors(int index, Connector value)

public ListConnectorsResponse.Builder addConnectors(int index, Connector value)

List of Serverless VPC Access connectors.

repeated .google.cloud.vpcaccess.v1.Connector connectors = 1;

Parameters
Name Description
index int
value Connector
Returns
Type Description
ListConnectorsResponse.Builder

addConnectors(int index, Connector.Builder builderForValue)

public ListConnectorsResponse.Builder addConnectors(int index, Connector.Builder builderForValue)

List of Serverless VPC Access connectors.

repeated .google.cloud.vpcaccess.v1.Connector connectors = 1;

Parameters
Name Description
index int
builderForValue Connector.Builder
Returns
Type Description
ListConnectorsResponse.Builder

addConnectorsBuilder()

public Connector.Builder addConnectorsBuilder()

List of Serverless VPC Access connectors.

repeated .google.cloud.vpcaccess.v1.Connector connectors = 1;

Returns
Type Description
Connector.Builder

addConnectorsBuilder(int index)

public Connector.Builder addConnectorsBuilder(int index)

List of Serverless VPC Access connectors.

repeated .google.cloud.vpcaccess.v1.Connector connectors = 1;

Parameter
Name Description
index int
Returns
Type Description
Connector.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListConnectorsResponse build()
Returns
Type Description
ListConnectorsResponse

buildPartial()

public ListConnectorsResponse buildPartial()
Returns
Type Description
ListConnectorsResponse

clear()

public ListConnectorsResponse.Builder clear()
Returns
Type Description
ListConnectorsResponse.Builder
Overrides

clearConnectors()

public ListConnectorsResponse.Builder clearConnectors()

List of Serverless VPC Access connectors.

repeated .google.cloud.vpcaccess.v1.Connector connectors = 1;

Returns
Type Description
ListConnectorsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListConnectorsResponse.Builder clearNextPageToken()

Continuation token.

string next_page_token = 2;

Returns
Type Description
ListConnectorsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ListConnectorsResponse.Builder clone()
Returns
Type Description
ListConnectorsResponse.Builder
Overrides

getConnectors(int index)

public Connector getConnectors(int index)

List of Serverless VPC Access connectors.

repeated .google.cloud.vpcaccess.v1.Connector connectors = 1;

Parameter
Name Description
index int
Returns
Type Description
Connector

getConnectorsBuilder(int index)

public Connector.Builder getConnectorsBuilder(int index)

List of Serverless VPC Access connectors.

repeated .google.cloud.vpcaccess.v1.Connector connectors = 1;

Parameter
Name Description
index int
Returns
Type Description
Connector.Builder

getConnectorsBuilderList()

public List<Connector.Builder> getConnectorsBuilderList()

List of Serverless VPC Access connectors.

repeated .google.cloud.vpcaccess.v1.Connector connectors = 1;

Returns
Type Description
List<Builder>

getConnectorsCount()

public int getConnectorsCount()

List of Serverless VPC Access connectors.

repeated .google.cloud.vpcaccess.v1.Connector connectors = 1;

Returns
Type Description
int

getConnectorsList()

public List<Connector> getConnectorsList()

List of Serverless VPC Access connectors.

repeated .google.cloud.vpcaccess.v1.Connector connectors = 1;

Returns
Type Description
List<Connector>

getConnectorsOrBuilder(int index)

public ConnectorOrBuilder getConnectorsOrBuilder(int index)

List of Serverless VPC Access connectors.

repeated .google.cloud.vpcaccess.v1.Connector connectors = 1;

Parameter
Name Description
index int
Returns
Type Description
ConnectorOrBuilder

getConnectorsOrBuilderList()

public List<? extends ConnectorOrBuilder> getConnectorsOrBuilderList()

List of Serverless VPC Access connectors.

repeated .google.cloud.vpcaccess.v1.Connector connectors = 1;

Returns
Type Description
List<? extends com.google.cloud.vpcaccess.v1.ConnectorOrBuilder>

getDefaultInstanceForType()

public ListConnectorsResponse getDefaultInstanceForType()
Returns
Type Description
ListConnectorsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

Continuation token.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Continuation token.

string next_page_token = 2;

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeConnectors(int index)

public ListConnectorsResponse.Builder removeConnectors(int index)

List of Serverless VPC Access connectors.

repeated .google.cloud.vpcaccess.v1.Connector connectors = 1;

Parameter
Name Description
index int
Returns
Type Description
ListConnectorsResponse.Builder

setConnectors(int index, Connector value)

public ListConnectorsResponse.Builder setConnectors(int index, Connector value)

List of Serverless VPC Access connectors.

repeated .google.cloud.vpcaccess.v1.Connector connectors = 1;

Parameters
Name Description
index int
value Connector
Returns
Type Description
ListConnectorsResponse.Builder

setConnectors(int index, Connector.Builder builderForValue)

public ListConnectorsResponse.Builder setConnectors(int index, Connector.Builder builderForValue)

List of Serverless VPC Access connectors.

repeated .google.cloud.vpcaccess.v1.Connector connectors = 1;

Parameters
Name Description
index int
builderForValue Connector.Builder
Returns
Type Description
ListConnectorsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListConnectorsResponse.Builder setNextPageToken(String value)

Continuation token.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListConnectorsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListConnectorsResponse.Builder setNextPageTokenBytes(ByteString value)

Continuation token.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListConnectorsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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