Class ListConnectorsResponse.Builder (2.24.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.vpcaccess.v1.Connector>
Returns
TypeDescription
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
NameDescription
valueConnector
Returns
TypeDescription
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
NameDescription
builderForValueConnector.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueConnector
Returns
TypeDescription
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
NameDescription
indexint
builderForValueConnector.Builder
Returns
TypeDescription
ListConnectorsResponse.Builder

addConnectorsBuilder()

public Connector.Builder addConnectorsBuilder()

List of Serverless VPC Access connectors.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListConnectorsResponse build()
Returns
TypeDescription
ListConnectorsResponse

buildPartial()

public ListConnectorsResponse buildPartial()
Returns
TypeDescription
ListConnectorsResponse

clear()

public ListConnectorsResponse.Builder clear()
Returns
TypeDescription
ListConnectorsResponse.Builder
Overrides

clearConnectors()

public ListConnectorsResponse.Builder clearConnectors()

List of Serverless VPC Access connectors.

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

Returns
TypeDescription
ListConnectorsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListConnectorsResponse.Builder clearNextPageToken()

Continuation token.

string next_page_token = 2;

Returns
TypeDescription
ListConnectorsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ListConnectorsResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Connector.Builder

getConnectorsBuilderList()

public List<Connector.Builder> getConnectorsBuilderList()

List of Serverless VPC Access connectors.

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

Returns
TypeDescription
List<Builder>

getConnectorsCount()

public int getConnectorsCount()

List of Serverless VPC Access connectors.

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

Returns
TypeDescription
int

getConnectorsList()

public List<Connector> getConnectorsList()

List of Serverless VPC Access connectors.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ConnectorOrBuilder

getConnectorsOrBuilderList()

public List<? extends ConnectorOrBuilder> getConnectorsOrBuilderList()

List of Serverless VPC Access connectors.

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

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

getDefaultInstanceForType()

public ListConnectorsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListConnectorsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

Continuation token.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Continuation token.

string next_page_token = 2;

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

public ListConnectorsResponse.Builder mergeFrom(ListConnectorsResponse other)
Parameter
NameDescription
otherListConnectorsResponse
Returns
TypeDescription
ListConnectorsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListConnectorsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueConnector
Returns
TypeDescription
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
NameDescription
indexint
builderForValueConnector.Builder
Returns
TypeDescription
ListConnectorsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListConnectorsResponse.Builder setNextPageToken(String value)

Continuation token.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListConnectorsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListConnectorsResponse.Builder setNextPageTokenBytes(ByteString value)

Continuation token.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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