Class ListCutoverJobsRequest.Builder (1.83.0)

public static final class ListCutoverJobsRequest.Builder extends GeneratedMessage.Builder<ListCutoverJobsRequest.Builder> implements ListCutoverJobsRequestOrBuilder

Request message for 'ListCutoverJobsRequest' request.

Protobuf type google.cloud.vmmigration.v1.ListCutoverJobsRequest

Static Methods

getDescriptor()

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

Methods

build()

public ListCutoverJobsRequest build()
Returns
Type Description
ListCutoverJobsRequest

buildPartial()

public ListCutoverJobsRequest buildPartial()
Returns
Type Description
ListCutoverJobsRequest

clear()

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

clearFilter()

public ListCutoverJobsRequest.Builder clearFilter()

Optional. The filter request.

string filter = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListCutoverJobsRequest.Builder

This builder for chaining.

clearOrderBy()

public ListCutoverJobsRequest.Builder clearOrderBy()

Optional. the order by fields for the result.

string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListCutoverJobsRequest.Builder

This builder for chaining.

clearPageSize()

public ListCutoverJobsRequest.Builder clearPageSize()

Optional. The maximum number of cutover jobs to return. The service may return fewer than this value. If unspecified, at most 500 cutover jobs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

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

Returns
Type Description
ListCutoverJobsRequest.Builder

This builder for chaining.

clearPageToken()

public ListCutoverJobsRequest.Builder clearPageToken()

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

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

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

Returns
Type Description
ListCutoverJobsRequest.Builder

This builder for chaining.

clearParent()

public ListCutoverJobsRequest.Builder clearParent()

Required. The parent, which owns this collection of migrating VMs.

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

Returns
Type Description
ListCutoverJobsRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListCutoverJobsRequest getDefaultInstanceForType()
Returns
Type Description
ListCutoverJobsRequest

getDescriptorForType()

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

getFilter()

public String getFilter()

Optional. The filter request.

string filter = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

Optional. The filter request.

string filter = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for filter.

getOrderBy()

public String getOrderBy()

Optional. the order by fields for the result.

string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The orderBy.

getOrderByBytes()

public ByteString getOrderByBytes()

Optional. the order by fields for the result.

string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for orderBy.

getPageSize()

public int getPageSize()

Optional. The maximum number of cutover jobs to return. The service may return fewer than this value. If unspecified, at most 500 cutover jobs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

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

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

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

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

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

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

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

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

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

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The parent, which owns this collection of migrating VMs.

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, which owns this collection of migrating VMs.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setFilter(String value)

public ListCutoverJobsRequest.Builder setFilter(String value)

Optional. The filter request.

string filter = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
ListCutoverJobsRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ListCutoverJobsRequest.Builder setFilterBytes(ByteString value)

Optional. The filter request.

string filter = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
ListCutoverJobsRequest.Builder

This builder for chaining.

setOrderBy(String value)

public ListCutoverJobsRequest.Builder setOrderBy(String value)

Optional. the order by fields for the result.

string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The orderBy to set.

Returns
Type Description
ListCutoverJobsRequest.Builder

This builder for chaining.

setOrderByBytes(ByteString value)

public ListCutoverJobsRequest.Builder setOrderByBytes(ByteString value)

Optional. the order by fields for the result.

string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for orderBy to set.

Returns
Type Description
ListCutoverJobsRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListCutoverJobsRequest.Builder setPageSize(int value)

Optional. The maximum number of cutover jobs to return. The service may return fewer than this value. If unspecified, at most 500 cutover jobs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

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

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListCutoverJobsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListCutoverJobsRequest.Builder setPageToken(String value)

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

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

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

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListCutoverJobsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListCutoverJobsRequest.Builder setPageTokenBytes(ByteString value)

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

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

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

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListCutoverJobsRequest.Builder

This builder for chaining.

setParent(String value)

public ListCutoverJobsRequest.Builder setParent(String value)

Required. The parent, which owns this collection of migrating VMs.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListCutoverJobsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListCutoverJobsRequest.Builder setParentBytes(ByteString value)

Required. The parent, which owns this collection of migrating VMs.

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

This builder for chaining.