Class ListPrivateConnectionPeeringRoutesResponse.Builder (0.40.0)

public static final class ListPrivateConnectionPeeringRoutesResponse.Builder extends GeneratedMessageV3.Builder<ListPrivateConnectionPeeringRoutesResponse.Builder> implements ListPrivateConnectionPeeringRoutesResponseOrBuilder

Response message for VmwareEngine.ListPrivateConnectionPeeringRoutes

Protobuf type google.cloud.vmwareengine.v1.ListPrivateConnectionPeeringRoutesResponse

Static Methods

getDescriptor()

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

Methods

addAllPeeringRoutes(Iterable<? extends PeeringRoute> values)

public ListPrivateConnectionPeeringRoutesResponse.Builder addAllPeeringRoutes(Iterable<? extends PeeringRoute> values)

A list of peering routes.

repeated .google.cloud.vmwareengine.v1.PeeringRoute peering_routes = 1;

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

addPeeringRoutes(PeeringRoute value)

public ListPrivateConnectionPeeringRoutesResponse.Builder addPeeringRoutes(PeeringRoute value)

A list of peering routes.

repeated .google.cloud.vmwareengine.v1.PeeringRoute peering_routes = 1;

Parameter
Name Description
value PeeringRoute
Returns
Type Description
ListPrivateConnectionPeeringRoutesResponse.Builder

addPeeringRoutes(PeeringRoute.Builder builderForValue)

public ListPrivateConnectionPeeringRoutesResponse.Builder addPeeringRoutes(PeeringRoute.Builder builderForValue)

A list of peering routes.

repeated .google.cloud.vmwareengine.v1.PeeringRoute peering_routes = 1;

Parameter
Name Description
builderForValue PeeringRoute.Builder
Returns
Type Description
ListPrivateConnectionPeeringRoutesResponse.Builder

addPeeringRoutes(int index, PeeringRoute value)

public ListPrivateConnectionPeeringRoutesResponse.Builder addPeeringRoutes(int index, PeeringRoute value)

A list of peering routes.

repeated .google.cloud.vmwareengine.v1.PeeringRoute peering_routes = 1;

Parameters
Name Description
index int
value PeeringRoute
Returns
Type Description
ListPrivateConnectionPeeringRoutesResponse.Builder

addPeeringRoutes(int index, PeeringRoute.Builder builderForValue)

public ListPrivateConnectionPeeringRoutesResponse.Builder addPeeringRoutes(int index, PeeringRoute.Builder builderForValue)

A list of peering routes.

repeated .google.cloud.vmwareengine.v1.PeeringRoute peering_routes = 1;

Parameters
Name Description
index int
builderForValue PeeringRoute.Builder
Returns
Type Description
ListPrivateConnectionPeeringRoutesResponse.Builder

addPeeringRoutesBuilder()

public PeeringRoute.Builder addPeeringRoutesBuilder()

A list of peering routes.

repeated .google.cloud.vmwareengine.v1.PeeringRoute peering_routes = 1;

Returns
Type Description
PeeringRoute.Builder

addPeeringRoutesBuilder(int index)

public PeeringRoute.Builder addPeeringRoutesBuilder(int index)

A list of peering routes.

repeated .google.cloud.vmwareengine.v1.PeeringRoute peering_routes = 1;

Parameter
Name Description
index int
Returns
Type Description
PeeringRoute.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListPrivateConnectionPeeringRoutesResponse build()
Returns
Type Description
ListPrivateConnectionPeeringRoutesResponse

buildPartial()

public ListPrivateConnectionPeeringRoutesResponse buildPartial()
Returns
Type Description
ListPrivateConnectionPeeringRoutesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListPrivateConnectionPeeringRoutesResponse.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
ListPrivateConnectionPeeringRoutesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPeeringRoutes()

public ListPrivateConnectionPeeringRoutesResponse.Builder clearPeeringRoutes()

A list of peering routes.

repeated .google.cloud.vmwareengine.v1.PeeringRoute peering_routes = 1;

Returns
Type Description
ListPrivateConnectionPeeringRoutesResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListPrivateConnectionPeeringRoutesResponse getDefaultInstanceForType()
Returns
Type Description
ListPrivateConnectionPeeringRoutesResponse

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.

getPeeringRoutes(int index)

public PeeringRoute getPeeringRoutes(int index)

A list of peering routes.

repeated .google.cloud.vmwareengine.v1.PeeringRoute peering_routes = 1;

Parameter
Name Description
index int
Returns
Type Description
PeeringRoute

getPeeringRoutesBuilder(int index)

public PeeringRoute.Builder getPeeringRoutesBuilder(int index)

A list of peering routes.

repeated .google.cloud.vmwareengine.v1.PeeringRoute peering_routes = 1;

Parameter
Name Description
index int
Returns
Type Description
PeeringRoute.Builder

getPeeringRoutesBuilderList()

public List<PeeringRoute.Builder> getPeeringRoutesBuilderList()

A list of peering routes.

repeated .google.cloud.vmwareengine.v1.PeeringRoute peering_routes = 1;

Returns
Type Description
List<Builder>

getPeeringRoutesCount()

public int getPeeringRoutesCount()

A list of peering routes.

repeated .google.cloud.vmwareengine.v1.PeeringRoute peering_routes = 1;

Returns
Type Description
int

getPeeringRoutesList()

public List<PeeringRoute> getPeeringRoutesList()

A list of peering routes.

repeated .google.cloud.vmwareengine.v1.PeeringRoute peering_routes = 1;

Returns
Type Description
List<PeeringRoute>

getPeeringRoutesOrBuilder(int index)

public PeeringRouteOrBuilder getPeeringRoutesOrBuilder(int index)

A list of peering routes.

repeated .google.cloud.vmwareengine.v1.PeeringRoute peering_routes = 1;

Parameter
Name Description
index int
Returns
Type Description
PeeringRouteOrBuilder

getPeeringRoutesOrBuilderList()

public List<? extends PeeringRouteOrBuilder> getPeeringRoutesOrBuilderList()

A list of peering routes.

repeated .google.cloud.vmwareengine.v1.PeeringRoute peering_routes = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListPrivateConnectionPeeringRoutesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removePeeringRoutes(int index)

public ListPrivateConnectionPeeringRoutesResponse.Builder removePeeringRoutes(int index)

A list of peering routes.

repeated .google.cloud.vmwareengine.v1.PeeringRoute peering_routes = 1;

Parameter
Name Description
index int
Returns
Type Description
ListPrivateConnectionPeeringRoutesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListPrivateConnectionPeeringRoutesResponse.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
ListPrivateConnectionPeeringRoutesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListPrivateConnectionPeeringRoutesResponse.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
ListPrivateConnectionPeeringRoutesResponse.Builder

This builder for chaining.

setPeeringRoutes(int index, PeeringRoute value)

public ListPrivateConnectionPeeringRoutesResponse.Builder setPeeringRoutes(int index, PeeringRoute value)

A list of peering routes.

repeated .google.cloud.vmwareengine.v1.PeeringRoute peering_routes = 1;

Parameters
Name Description
index int
value PeeringRoute
Returns
Type Description
ListPrivateConnectionPeeringRoutesResponse.Builder

setPeeringRoutes(int index, PeeringRoute.Builder builderForValue)

public ListPrivateConnectionPeeringRoutesResponse.Builder setPeeringRoutes(int index, PeeringRoute.Builder builderForValue)

A list of peering routes.

repeated .google.cloud.vmwareengine.v1.PeeringRoute peering_routes = 1;

Parameters
Name Description
index int
builderForValue PeeringRoute.Builder
Returns
Type Description
ListPrivateConnectionPeeringRoutesResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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