Class ListPeeringRoutesResponse.Builder (0.48.0)

public static final class ListPeeringRoutesResponse.Builder extends GeneratedMessageV3.Builder<ListPeeringRoutesResponse.Builder> implements ListPeeringRoutesResponseOrBuilder

Response message for VmwareEngine.ListPeeringRoutes

Protobuf type google.cloud.vmwareengine.v1.ListPeeringRoutesResponse

Static Methods

getDescriptor()

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

Methods

addAllPeeringRoutes(Iterable<? extends PeeringRoute> values)

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

addPeeringRoutes(PeeringRoute value)

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

addPeeringRoutes(PeeringRoute.Builder builderForValue)

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

addPeeringRoutes(int index, PeeringRoute value)

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

addPeeringRoutes(int index, PeeringRoute.Builder builderForValue)

public ListPeeringRoutesResponse.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
ListPeeringRoutesResponse.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 ListPeeringRoutesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListPeeringRoutesResponse.Builder
Overrides

build()

public ListPeeringRoutesResponse build()
Returns
Type Description
ListPeeringRoutesResponse

buildPartial()

public ListPeeringRoutesResponse buildPartial()
Returns
Type Description
ListPeeringRoutesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPeeringRoutes()

public ListPeeringRoutesResponse.Builder clearPeeringRoutes()

A list of peering routes.

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

Returns
Type Description
ListPeeringRoutesResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListPeeringRoutesResponse getDefaultInstanceForType()
Returns
Type Description
ListPeeringRoutesResponse

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removePeeringRoutes(int index)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

setPeeringRoutes(int index, PeeringRoute value)

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

setPeeringRoutes(int index, PeeringRoute.Builder builderForValue)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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