Class ListPrivateConnectionsResponse.Builder (0.42.0)

public static final class ListPrivateConnectionsResponse.Builder extends GeneratedMessageV3.Builder<ListPrivateConnectionsResponse.Builder> implements ListPrivateConnectionsResponseOrBuilder

Response message for VmwareEngine.ListPrivateConnections

Protobuf type google.cloud.vmwareengine.v1.ListPrivateConnectionsResponse

Static Methods

getDescriptor()

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

Methods

addAllPrivateConnections(Iterable<? extends PrivateConnection> values)

public ListPrivateConnectionsResponse.Builder addAllPrivateConnections(Iterable<? extends PrivateConnection> values)

A list of private connections.

repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.vmwareengine.v1.PrivateConnection>
Returns
Type Description
ListPrivateConnectionsResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListPrivateConnectionsResponse.Builder addAllUnreachable(Iterable<String> values)

Unreachable resources.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListPrivateConnectionsResponse.Builder

This builder for chaining.

addPrivateConnections(PrivateConnection value)

public ListPrivateConnectionsResponse.Builder addPrivateConnections(PrivateConnection value)

A list of private connections.

repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;

Parameter
Name Description
value PrivateConnection
Returns
Type Description
ListPrivateConnectionsResponse.Builder

addPrivateConnections(PrivateConnection.Builder builderForValue)

public ListPrivateConnectionsResponse.Builder addPrivateConnections(PrivateConnection.Builder builderForValue)

A list of private connections.

repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;

Parameter
Name Description
builderForValue PrivateConnection.Builder
Returns
Type Description
ListPrivateConnectionsResponse.Builder

addPrivateConnections(int index, PrivateConnection value)

public ListPrivateConnectionsResponse.Builder addPrivateConnections(int index, PrivateConnection value)

A list of private connections.

repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;

Parameters
Name Description
index int
value PrivateConnection
Returns
Type Description
ListPrivateConnectionsResponse.Builder

addPrivateConnections(int index, PrivateConnection.Builder builderForValue)

public ListPrivateConnectionsResponse.Builder addPrivateConnections(int index, PrivateConnection.Builder builderForValue)

A list of private connections.

repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;

Parameters
Name Description
index int
builderForValue PrivateConnection.Builder
Returns
Type Description
ListPrivateConnectionsResponse.Builder

addPrivateConnectionsBuilder()

public PrivateConnection.Builder addPrivateConnectionsBuilder()

A list of private connections.

repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;

Returns
Type Description
PrivateConnection.Builder

addPrivateConnectionsBuilder(int index)

public PrivateConnection.Builder addPrivateConnectionsBuilder(int index)

A list of private connections.

repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;

Parameter
Name Description
index int
Returns
Type Description
PrivateConnection.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListPrivateConnectionsResponse.Builder addUnreachable(String value)

Unreachable resources.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListPrivateConnectionsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListPrivateConnectionsResponse.Builder addUnreachableBytes(ByteString value)

Unreachable resources.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListPrivateConnectionsResponse.Builder

This builder for chaining.

build()

public ListPrivateConnectionsResponse build()
Returns
Type Description
ListPrivateConnectionsResponse

buildPartial()

public ListPrivateConnectionsResponse buildPartial()
Returns
Type Description
ListPrivateConnectionsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListPrivateConnectionsResponse.Builder clearNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ListPrivateConnectionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPrivateConnections()

public ListPrivateConnectionsResponse.Builder clearPrivateConnections()

A list of private connections.

repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;

Returns
Type Description
ListPrivateConnectionsResponse.Builder

clearUnreachable()

public ListPrivateConnectionsResponse.Builder clearUnreachable()

Unreachable resources.

repeated string unreachable = 3;

Returns
Type Description
ListPrivateConnectionsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListPrivateConnectionsResponse getDefaultInstanceForType()
Returns
Type Description
ListPrivateConnectionsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getPrivateConnections(int index)

public PrivateConnection getPrivateConnections(int index)

A list of private connections.

repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;

Parameter
Name Description
index int
Returns
Type Description
PrivateConnection

getPrivateConnectionsBuilder(int index)

public PrivateConnection.Builder getPrivateConnectionsBuilder(int index)

A list of private connections.

repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;

Parameter
Name Description
index int
Returns
Type Description
PrivateConnection.Builder

getPrivateConnectionsBuilderList()

public List<PrivateConnection.Builder> getPrivateConnectionsBuilderList()

A list of private connections.

repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;

Returns
Type Description
List<Builder>

getPrivateConnectionsCount()

public int getPrivateConnectionsCount()

A list of private connections.

repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;

Returns
Type Description
int

getPrivateConnectionsList()

public List<PrivateConnection> getPrivateConnectionsList()

A list of private connections.

repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;

Returns
Type Description
List<PrivateConnection>

getPrivateConnectionsOrBuilder(int index)

public PrivateConnectionOrBuilder getPrivateConnectionsOrBuilder(int index)

A list of private connections.

repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;

Parameter
Name Description
index int
Returns
Type Description
PrivateConnectionOrBuilder

getPrivateConnectionsOrBuilderList()

public List<? extends PrivateConnectionOrBuilder> getPrivateConnectionsOrBuilderList()

A list of private connections.

repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;

Returns
Type Description
List<? extends com.google.cloud.vmwareengine.v1.PrivateConnectionOrBuilder>

getUnreachable(int index)

public String getUnreachable(int index)

Unreachable resources.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Unreachable resources.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Unreachable resources.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Unreachable resources.

repeated string unreachable = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListPrivateConnectionsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removePrivateConnections(int index)

public ListPrivateConnectionsResponse.Builder removePrivateConnections(int index)

A list of private connections.

repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;

Parameter
Name Description
index int
Returns
Type Description
ListPrivateConnectionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListPrivateConnectionsResponse.Builder setNextPageToken(String value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListPrivateConnectionsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListPrivateConnectionsResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListPrivateConnectionsResponse.Builder

This builder for chaining.

setPrivateConnections(int index, PrivateConnection value)

public ListPrivateConnectionsResponse.Builder setPrivateConnections(int index, PrivateConnection value)

A list of private connections.

repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;

Parameters
Name Description
index int
value PrivateConnection
Returns
Type Description
ListPrivateConnectionsResponse.Builder

setPrivateConnections(int index, PrivateConnection.Builder builderForValue)

public ListPrivateConnectionsResponse.Builder setPrivateConnections(int index, PrivateConnection.Builder builderForValue)

A list of private connections.

repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;

Parameters
Name Description
index int
builderForValue PrivateConnection.Builder
Returns
Type Description
ListPrivateConnectionsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListPrivateConnectionsResponse.Builder setUnreachable(int index, String value)

Unreachable resources.

repeated string unreachable = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListPrivateConnectionsResponse.Builder

This builder for chaining.