Class ListMeshRouteViewsRequest.Builder (0.39.0)

public static final class ListMeshRouteViewsRequest.Builder extends GeneratedMessage.Builder<ListMeshRouteViewsRequest.Builder> implements ListMeshRouteViewsRequestOrBuilder

Request used with the ListMeshRouteViews method.

Protobuf type google.cloud.networkservices.v1.ListMeshRouteViewsRequest

Static Methods

getDescriptor()

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

Methods

build()

public ListMeshRouteViewsRequest build()
Returns
Type Description
ListMeshRouteViewsRequest

buildPartial()

public ListMeshRouteViewsRequest buildPartial()
Returns
Type Description
ListMeshRouteViewsRequest

clear()

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

clearPageSize()

public ListMeshRouteViewsRequest.Builder clearPageSize()

Maximum number of MeshRouteViews to return per call.

int32 page_size = 2;

Returns
Type Description
ListMeshRouteViewsRequest.Builder

This builder for chaining.

clearPageToken()

public ListMeshRouteViewsRequest.Builder clearPageToken()

The value returned by the last ListMeshRouteViewsResponse Indicates that this is a continuation of a prior ListMeshRouteViews call, and that the system should return the next page of data.

string page_token = 3;

Returns
Type Description
ListMeshRouteViewsRequest.Builder

This builder for chaining.

clearParent()

public ListMeshRouteViewsRequest.Builder clearParent()

Required. The Mesh to which a Route is associated. Format: projects/{project}/locations/{location}/meshes/{mesh}

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

Returns
Type Description
ListMeshRouteViewsRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListMeshRouteViewsRequest getDefaultInstanceForType()
Returns
Type Description
ListMeshRouteViewsRequest

getDescriptorForType()

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

getPageSize()

public int getPageSize()

Maximum number of MeshRouteViews to return per call.

int32 page_size = 2;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

The value returned by the last ListMeshRouteViewsResponse Indicates that this is a continuation of a prior ListMeshRouteViews call, and that the system should return the next page of data.

string page_token = 3;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

The value returned by the last ListMeshRouteViewsResponse Indicates that this is a continuation of a prior ListMeshRouteViews call, and that the system should return the next page of data.

string page_token = 3;

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The Mesh to which a Route is associated. Format: projects/{project}/locations/{location}/meshes/{mesh}

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The Mesh to which a Route is associated. Format: projects/{project}/locations/{location}/meshes/{mesh}

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setPageSize(int value)

public ListMeshRouteViewsRequest.Builder setPageSize(int value)

Maximum number of MeshRouteViews to return per call.

int32 page_size = 2;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListMeshRouteViewsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListMeshRouteViewsRequest.Builder setPageToken(String value)

The value returned by the last ListMeshRouteViewsResponse Indicates that this is a continuation of a prior ListMeshRouteViews call, and that the system should return the next page of data.

string page_token = 3;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListMeshRouteViewsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListMeshRouteViewsRequest.Builder setPageTokenBytes(ByteString value)

The value returned by the last ListMeshRouteViewsResponse Indicates that this is a continuation of a prior ListMeshRouteViews call, and that the system should return the next page of data.

string page_token = 3;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListMeshRouteViewsRequest.Builder

This builder for chaining.

setParent(String value)

public ListMeshRouteViewsRequest.Builder setParent(String value)

Required. The Mesh to which a Route is associated. Format: projects/{project}/locations/{location}/meshes/{mesh}

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListMeshRouteViewsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListMeshRouteViewsRequest.Builder setParentBytes(ByteString value)

Required. The Mesh to which a Route is associated. Format: projects/{project}/locations/{location}/meshes/{mesh}

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

This builder for chaining.