Class ListPeeringRoutesRequest.Builder (0.42.0)

public static final class ListPeeringRoutesRequest.Builder extends GeneratedMessageV3.Builder<ListPeeringRoutesRequest.Builder> implements ListPeeringRoutesRequestOrBuilder

Request message for VmwareEngine.ListPeeringRoutes

Protobuf type google.cloud.vmwareengine.v1.ListPeeringRoutesRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListPeeringRoutesRequest build()
Returns
Type Description
ListPeeringRoutesRequest

buildPartial()

public ListPeeringRoutesRequest buildPartial()
Returns
Type Description
ListPeeringRoutesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFilter()

public ListPeeringRoutesRequest.Builder clearFilter()

A filter expression that matches resources returned in the response. Currently, only filtering on the direction field is supported. To return routes imported from the peer network, provide "direction=INCOMING". To return routes exported from the VMware Engine network, provide "direction=OUTGOING". Other filter expressions return an error.

string filter = 6;

Returns
Type Description
ListPeeringRoutesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListPeeringRoutesRequest.Builder clearPageSize()

The maximum number of peering routes to return in one page. The service may return fewer than this value. The maximum value is coerced to 1000. The default value of this field is 500.

int32 page_size = 2;

Returns
Type Description
ListPeeringRoutesRequest.Builder

This builder for chaining.

clearPageToken()

public ListPeeringRoutesRequest.Builder clearPageToken()

A page token, received from a previous ListPeeringRoutes call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListPeeringRoutes must match the call that provided the page token.

string page_token = 3;

Returns
Type Description
ListPeeringRoutesRequest.Builder

This builder for chaining.

clearParent()

public ListPeeringRoutesRequest.Builder clearParent()

Required. The resource name of the network peering to retrieve peering routes from. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/networkPeerings/my-peering

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ListPeeringRoutesRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListPeeringRoutesRequest getDefaultInstanceForType()
Returns
Type Description
ListPeeringRoutesRequest

getDescriptorForType()

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

getFilter()

public String getFilter()

A filter expression that matches resources returned in the response. Currently, only filtering on the direction field is supported. To return routes imported from the peer network, provide "direction=INCOMING". To return routes exported from the VMware Engine network, provide "direction=OUTGOING". Other filter expressions return an error.

string filter = 6;

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

A filter expression that matches resources returned in the response. Currently, only filtering on the direction field is supported. To return routes imported from the peer network, provide "direction=INCOMING". To return routes exported from the VMware Engine network, provide "direction=OUTGOING". Other filter expressions return an error.

string filter = 6;

Returns
Type Description
ByteString

The bytes for filter.

getPageSize()

public int getPageSize()

The maximum number of peering routes to return in one page. The service may return fewer than this value. The maximum value is coerced to 1000. The default value of this field is 500.

int32 page_size = 2;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

A page token, received from a previous ListPeeringRoutes call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListPeeringRoutes must match the call that provided the page token.

string page_token = 3;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

A page token, received from a previous ListPeeringRoutes call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListPeeringRoutes must match the call that provided the page token.

string page_token = 3;

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The resource name of the network peering to retrieve peering routes from. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/networkPeerings/my-peering

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The resource name of the network peering to retrieve peering routes from. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/networkPeerings/my-peering

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListPeeringRoutesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFilter(String value)

public ListPeeringRoutesRequest.Builder setFilter(String value)

A filter expression that matches resources returned in the response. Currently, only filtering on the direction field is supported. To return routes imported from the peer network, provide "direction=INCOMING". To return routes exported from the VMware Engine network, provide "direction=OUTGOING". Other filter expressions return an error.

string filter = 6;

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
ListPeeringRoutesRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ListPeeringRoutesRequest.Builder setFilterBytes(ByteString value)

A filter expression that matches resources returned in the response. Currently, only filtering on the direction field is supported. To return routes imported from the peer network, provide "direction=INCOMING". To return routes exported from the VMware Engine network, provide "direction=OUTGOING". Other filter expressions return an error.

string filter = 6;

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
ListPeeringRoutesRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListPeeringRoutesRequest.Builder setPageSize(int value)

The maximum number of peering routes to return in one page. The service may return fewer than this value. The maximum value is coerced to 1000. The default value of this field is 500.

int32 page_size = 2;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListPeeringRoutesRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListPeeringRoutesRequest.Builder setPageToken(String value)

A page token, received from a previous ListPeeringRoutes call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListPeeringRoutes must match the call that provided the page token.

string page_token = 3;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListPeeringRoutesRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListPeeringRoutesRequest.Builder setPageTokenBytes(ByteString value)

A page token, received from a previous ListPeeringRoutes call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListPeeringRoutes must match the call that provided the page token.

string page_token = 3;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListPeeringRoutesRequest.Builder

This builder for chaining.

setParent(String value)

public ListPeeringRoutesRequest.Builder setParent(String value)

Required. The resource name of the network peering to retrieve peering routes from. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/networkPeerings/my-peering

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListPeeringRoutesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListPeeringRoutesRequest.Builder setParentBytes(ByteString value)

Required. The resource name of the network peering to retrieve peering routes from. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/networkPeerings/my-peering

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ListPeeringRoutesRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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