Class ListPeeringRoutesResponse.Builder (0.31.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.vmwareengine.v1.PeeringRoute>
Returns
TypeDescription
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
NameDescription
valuePeeringRoute
Returns
TypeDescription
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
NameDescription
builderForValuePeeringRoute.Builder
Returns
TypeDescription
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
NameDescription
indexint
valuePeeringRoute
Returns
TypeDescription
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
NameDescription
indexint
builderForValuePeeringRoute.Builder
Returns
TypeDescription
ListPeeringRoutesResponse.Builder

addPeeringRoutesBuilder()

public PeeringRoute.Builder addPeeringRoutesBuilder()

A list of peering routes.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListPeeringRoutesResponse build()
Returns
TypeDescription
ListPeeringRoutesResponse

buildPartial()

public ListPeeringRoutesResponse buildPartial()
Returns
TypeDescription
ListPeeringRoutesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListPeeringRoutesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListPeeringRoutesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPeeringRoutes()

public ListPeeringRoutesResponse.Builder clearPeeringRoutes()

A list of peering routes.

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

Returns
TypeDescription
ListPeeringRoutesResponse.Builder

clone()

public ListPeeringRoutesResponse.Builder clone()
Returns
TypeDescription
ListPeeringRoutesResponse.Builder
Overrides

getDefaultInstanceForType()

public ListPeeringRoutesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListPeeringRoutesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
PeeringRoute.Builder

getPeeringRoutesBuilderList()

public List<PeeringRoute.Builder> getPeeringRoutesBuilderList()

A list of peering routes.

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

Returns
TypeDescription
List<Builder>

getPeeringRoutesCount()

public int getPeeringRoutesCount()

A list of peering routes.

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

Returns
TypeDescription
int

getPeeringRoutesList()

public List<PeeringRoute> getPeeringRoutesList()

A list of peering routes.

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

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

getPeeringRoutesOrBuilderList()

public List<? extends PeeringRouteOrBuilder> getPeeringRoutesOrBuilderList()

A list of peering routes.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListPeeringRoutesResponse other)

public ListPeeringRoutesResponse.Builder mergeFrom(ListPeeringRoutesResponse other)
Parameter
NameDescription
otherListPeeringRoutesResponse
Returns
TypeDescription
ListPeeringRoutesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ListPeeringRoutesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
indexint
valuePeeringRoute
Returns
TypeDescription
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
NameDescription
indexint
builderForValuePeeringRoute.Builder
Returns
TypeDescription
ListPeeringRoutesResponse.Builder

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

public ListPeeringRoutesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListPeeringRoutesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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