Class ListGatewayAdvertisedRoutesRequest.Builder (1.87.0)

public static final class ListGatewayAdvertisedRoutesRequest.Builder extends GeneratedMessage.Builder<ListGatewayAdvertisedRoutesRequest.Builder> implements ListGatewayAdvertisedRoutesRequestOrBuilder

The request for HubService.ListGatewayAdvertisedRoutes.

Protobuf type google.cloud.networkconnectivity.v1beta.ListGatewayAdvertisedRoutesRequest

Static Methods

getDescriptor()

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

Methods

build()

public ListGatewayAdvertisedRoutesRequest build()
Returns
Type Description
ListGatewayAdvertisedRoutesRequest

buildPartial()

public ListGatewayAdvertisedRoutesRequest buildPartial()
Returns
Type Description
ListGatewayAdvertisedRoutesRequest

clear()

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

clearFilter()

public ListGatewayAdvertisedRoutesRequest.Builder clearFilter()

An expression that filters the list of results.

string filter = 4;

Returns
Type Description
ListGatewayAdvertisedRoutesRequest.Builder

This builder for chaining.

clearOrderBy()

public ListGatewayAdvertisedRoutesRequest.Builder clearOrderBy()

Sort the results by a certain order.

string order_by = 5;

Returns
Type Description
ListGatewayAdvertisedRoutesRequest.Builder

This builder for chaining.

clearPageSize()

public ListGatewayAdvertisedRoutesRequest.Builder clearPageSize()

Optional. The maximum number of results per page that should be returned.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListGatewayAdvertisedRoutesRequest.Builder

This builder for chaining.

clearPageToken()

public ListGatewayAdvertisedRoutesRequest.Builder clearPageToken()

Optional. A page token, received from a previous ListGatewayAdvertisedRoutes call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListGatewayAdvertisedRoutes must match the call that provided the page token.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListGatewayAdvertisedRoutesRequest.Builder

This builder for chaining.

clearParent()

public ListGatewayAdvertisedRoutesRequest.Builder clearParent()

Required. The parent resource's name.

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

Returns
Type Description
ListGatewayAdvertisedRoutesRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListGatewayAdvertisedRoutesRequest getDefaultInstanceForType()
Returns
Type Description
ListGatewayAdvertisedRoutesRequest

getDescriptorForType()

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

getFilter()

public String getFilter()

An expression that filters the list of results.

string filter = 4;

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

An expression that filters the list of results.

string filter = 4;

Returns
Type Description
ByteString

The bytes for filter.

getOrderBy()

public String getOrderBy()

Sort the results by a certain order.

string order_by = 5;

Returns
Type Description
String

The orderBy.

getOrderByBytes()

public ByteString getOrderByBytes()

Sort the results by a certain order.

string order_by = 5;

Returns
Type Description
ByteString

The bytes for orderBy.

getPageSize()

public int getPageSize()

Optional. The maximum number of results per page that should be returned.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. A page token, received from a previous ListGatewayAdvertisedRoutes call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListGatewayAdvertisedRoutes must match the call that provided the page token.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. A page token, received from a previous ListGatewayAdvertisedRoutes call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListGatewayAdvertisedRoutes must match the call that provided the page token.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The parent resource's name.

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource's name.

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

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListGatewayAdvertisedRoutesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setFilter(String value)

public ListGatewayAdvertisedRoutesRequest.Builder setFilter(String value)

An expression that filters the list of results.

string filter = 4;

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
ListGatewayAdvertisedRoutesRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ListGatewayAdvertisedRoutesRequest.Builder setFilterBytes(ByteString value)

An expression that filters the list of results.

string filter = 4;

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
ListGatewayAdvertisedRoutesRequest.Builder

This builder for chaining.

setOrderBy(String value)

public ListGatewayAdvertisedRoutesRequest.Builder setOrderBy(String value)

Sort the results by a certain order.

string order_by = 5;

Parameter
Name Description
value String

The orderBy to set.

Returns
Type Description
ListGatewayAdvertisedRoutesRequest.Builder

This builder for chaining.

setOrderByBytes(ByteString value)

public ListGatewayAdvertisedRoutesRequest.Builder setOrderByBytes(ByteString value)

Sort the results by a certain order.

string order_by = 5;

Parameter
Name Description
value ByteString

The bytes for orderBy to set.

Returns
Type Description
ListGatewayAdvertisedRoutesRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListGatewayAdvertisedRoutesRequest.Builder setPageSize(int value)

Optional. The maximum number of results per page that should be returned.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListGatewayAdvertisedRoutesRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListGatewayAdvertisedRoutesRequest.Builder setPageToken(String value)

Optional. A page token, received from a previous ListGatewayAdvertisedRoutes call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListGatewayAdvertisedRoutes must match the call that provided the page token.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListGatewayAdvertisedRoutesRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListGatewayAdvertisedRoutesRequest.Builder setPageTokenBytes(ByteString value)

Optional. A page token, received from a previous ListGatewayAdvertisedRoutes call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListGatewayAdvertisedRoutes must match the call that provided the page token.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListGatewayAdvertisedRoutesRequest.Builder

This builder for chaining.

setParent(String value)

public ListGatewayAdvertisedRoutesRequest.Builder setParent(String value)

Required. The parent resource's name.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListGatewayAdvertisedRoutesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListGatewayAdvertisedRoutesRequest.Builder setParentBytes(ByteString value)

Required. The parent resource's name.

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
ListGatewayAdvertisedRoutesRequest.Builder

This builder for chaining.