Class ListModelVersionCheckpointsRequest.Builder (3.84.0)

public static final class ListModelVersionCheckpointsRequest.Builder extends GeneratedMessage.Builder<ListModelVersionCheckpointsRequest.Builder> implements ListModelVersionCheckpointsRequestOrBuilder

Request message for ModelService.ListModelVersionCheckpoints.

Protobuf type google.cloud.aiplatform.v1beta1.ListModelVersionCheckpointsRequest

Static Methods

getDescriptor()

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

Methods

build()

public ListModelVersionCheckpointsRequest build()
Returns
Type Description
ListModelVersionCheckpointsRequest

buildPartial()

public ListModelVersionCheckpointsRequest buildPartial()
Returns
Type Description
ListModelVersionCheckpointsRequest

clear()

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

clearName()

public ListModelVersionCheckpointsRequest.Builder clearName()

Required. The name of the model version to list checkpoints for. projects/{project}/locations/{location}/models/{model}@{version} Example: projects/{project}/locations/{location}/models/{model}@2 or projects/{project}/locations/{location}/models/{model}@golden If no version ID or alias is specified, the latest version will be used.

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

Returns
Type Description
ListModelVersionCheckpointsRequest.Builder

This builder for chaining.

clearPageSize()

public ListModelVersionCheckpointsRequest.Builder clearPageSize()

Optional. The standard list page size.

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

Returns
Type Description
ListModelVersionCheckpointsRequest.Builder

This builder for chaining.

clearPageToken()

public ListModelVersionCheckpointsRequest.Builder clearPageToken()

Optional. The standard list page token. Typically obtained via next_page_token of the previous ListModelVersionCheckpoints call.

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

Returns
Type Description
ListModelVersionCheckpointsRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListModelVersionCheckpointsRequest getDefaultInstanceForType()
Returns
Type Description
ListModelVersionCheckpointsRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The name of the model version to list checkpoints for. projects/{project}/locations/{location}/models/{model}@{version} Example: projects/{project}/locations/{location}/models/{model}@2 or projects/{project}/locations/{location}/models/{model}@golden If no version ID or alias is specified, the latest version will be used.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the model version to list checkpoints for. projects/{project}/locations/{location}/models/{model}@{version} Example: projects/{project}/locations/{location}/models/{model}@2 or projects/{project}/locations/{location}/models/{model}@golden If no version ID or alias is specified, the latest version will be used.

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

Returns
Type Description
ByteString

The bytes for name.

getPageSize()

public int getPageSize()

Optional. The standard list page size.

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

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. The standard list page token. Typically obtained via next_page_token of the previous ListModelVersionCheckpoints call.

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

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. The standard list page token. Typically obtained via next_page_token of the previous ListModelVersionCheckpoints call.

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

Returns
Type Description
ByteString

The bytes for pageToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListModelVersionCheckpointsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public ListModelVersionCheckpointsRequest.Builder setName(String value)

Required. The name of the model version to list checkpoints for. projects/{project}/locations/{location}/models/{model}@{version} Example: projects/{project}/locations/{location}/models/{model}@2 or projects/{project}/locations/{location}/models/{model}@golden If no version ID or alias is specified, the latest version will be used.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ListModelVersionCheckpointsRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ListModelVersionCheckpointsRequest.Builder setNameBytes(ByteString value)

Required. The name of the model version to list checkpoints for. projects/{project}/locations/{location}/models/{model}@{version} Example: projects/{project}/locations/{location}/models/{model}@2 or projects/{project}/locations/{location}/models/{model}@golden If no version ID or alias is specified, the latest version will be used.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ListModelVersionCheckpointsRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListModelVersionCheckpointsRequest.Builder setPageSize(int value)

Optional. The standard list page size.

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

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListModelVersionCheckpointsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListModelVersionCheckpointsRequest.Builder setPageToken(String value)

Optional. The standard list page token. Typically obtained via next_page_token of the previous ListModelVersionCheckpoints call.

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

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListModelVersionCheckpointsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListModelVersionCheckpointsRequest.Builder setPageTokenBytes(ByteString value)

Optional. The standard list page token. Typically obtained via next_page_token of the previous ListModelVersionCheckpoints call.

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

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListModelVersionCheckpointsRequest.Builder

This builder for chaining.