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
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
addConnectors(Connector value)
public ListConnectorsResponse.Builder addConnectors(Connector value)
List of Serverless VPC Access connectors.
repeated .google.cloud.vpcaccess.v1.Connector connectors = 1;
Parameter
Returns
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
Returns
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
Returns
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
Returns
addConnectorsBuilder()
public Connector.Builder addConnectorsBuilder()
List of Serverless VPC Access connectors.
repeated .google.cloud.vpcaccess.v1.Connector connectors = 1;
Returns
addConnectorsBuilder(int index)
public Connector.Builder addConnectorsBuilder(int index)
List of Serverless VPC Access connectors.
repeated .google.cloud.vpcaccess.v1.Connector connectors = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListConnectorsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListConnectorsResponse build()
Returns
buildPartial()
public ListConnectorsResponse buildPartial()
Returns
clear()
public ListConnectorsResponse.Builder clear()
Returns
Overrides
clearConnectors()
public ListConnectorsResponse.Builder clearConnectors()
List of Serverless VPC Access connectors.
repeated .google.cloud.vpcaccess.v1.Connector connectors = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListConnectorsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListConnectorsResponse.Builder clearNextPageToken()
Continuation token.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListConnectorsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListConnectorsResponse.Builder clone()
Returns
Overrides
getConnectors(int index)
public Connector getConnectors(int index)
List of Serverless VPC Access connectors.
repeated .google.cloud.vpcaccess.v1.Connector connectors = 1;
Parameter
Returns
getConnectorsBuilder(int index)
public Connector.Builder getConnectorsBuilder(int index)
List of Serverless VPC Access connectors.
repeated .google.cloud.vpcaccess.v1.Connector connectors = 1;
Parameter
Returns
getConnectorsBuilderList()
public List<Connector.Builder> getConnectorsBuilderList()
List of Serverless VPC Access connectors.
repeated .google.cloud.vpcaccess.v1.Connector connectors = 1;
Returns
getConnectorsCount()
public int getConnectorsCount()
List of Serverless VPC Access connectors.
repeated .google.cloud.vpcaccess.v1.Connector connectors = 1;
Returns
getConnectorsList()
public List<Connector> getConnectorsList()
List of Serverless VPC Access connectors.
repeated .google.cloud.vpcaccess.v1.Connector connectors = 1;
Returns
getConnectorsOrBuilder(int index)
public ConnectorOrBuilder getConnectorsOrBuilder(int index)
List of Serverless VPC Access connectors.
repeated .google.cloud.vpcaccess.v1.Connector connectors = 1;
Parameter
Returns
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListConnectorsResponse other)
public ListConnectorsResponse.Builder mergeFrom(ListConnectorsResponse other)
Parameter
Returns
public ListConnectorsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListConnectorsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListConnectorsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListConnectorsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListConnectorsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListConnectorsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides