Class ListPeeringRoutesRequest.Builder (0.33.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListPeeringRoutesRequest build()
Returns
TypeDescription
ListPeeringRoutesRequest

buildPartial()

public ListPeeringRoutesRequest buildPartial()
Returns
TypeDescription
ListPeeringRoutesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListPeeringRoutesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ListPeeringRoutesRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListPeeringRoutesRequest getDefaultInstanceForType()
Returns
TypeDescription
ListPeeringRoutesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListPeeringRoutesRequest other)

public ListPeeringRoutesRequest.Builder mergeFrom(ListPeeringRoutesRequest other)
Parameter
NameDescription
otherListPeeringRoutesRequest
Returns
TypeDescription
ListPeeringRoutesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListPeeringRoutesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListPeeringRoutesRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

The filter to set.

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

The bytes for filter to set.

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

The pageSize to set.

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

The pageToken to set.

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

The bytes for pageToken to set.

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

The parent to set.

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

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListPeeringRoutesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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