Class ListPrivateConnectionPeeringRoutesResponse.Builder (0.29.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.vmwareengine.v1.PeeringRoute>
Returns
TypeDescription
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
NameDescription
valuePeeringRoute
Returns
TypeDescription
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
NameDescription
builderForValuePeeringRoute.Builder
Returns
TypeDescription
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
NameDescription
indexint
valuePeeringRoute
Returns
TypeDescription
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
NameDescription
indexint
builderForValuePeeringRoute.Builder
Returns
TypeDescription
ListPrivateConnectionPeeringRoutesResponse.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 ListPrivateConnectionPeeringRoutesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListPrivateConnectionPeeringRoutesResponse.Builder
Overrides

build()

public ListPrivateConnectionPeeringRoutesResponse build()
Returns
TypeDescription
ListPrivateConnectionPeeringRoutesResponse

buildPartial()

public ListPrivateConnectionPeeringRoutesResponse buildPartial()
Returns
TypeDescription
ListPrivateConnectionPeeringRoutesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPeeringRoutes()

public ListPrivateConnectionPeeringRoutesResponse.Builder clearPeeringRoutes()

A list of peering routes.

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

Returns
TypeDescription
ListPrivateConnectionPeeringRoutesResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListPrivateConnectionPeeringRoutesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListPrivateConnectionPeeringRoutesResponse

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

public ListPrivateConnectionPeeringRoutesResponse.Builder mergeFrom(ListPrivateConnectionPeeringRoutesResponse other)
Parameter
NameDescription
otherListPrivateConnectionPeeringRoutesResponse
Returns
TypeDescription
ListPrivateConnectionPeeringRoutesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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