Class ListInstancesRequest.Builder (1.76.0)

publicstaticfinalclass ListInstancesRequest.BuilderextendsGeneratedMessageV3.Builder<ListInstancesRequest.Builder>implementsListInstancesRequestOrBuilder

Request for listing notebook instances.

Protobuf type google.cloud.notebooks.v1beta1.ListInstancesRequest

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicListInstancesRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListInstancesRequest.Builder
Overrides

build()

publicListInstancesRequestbuild()
Returns
Type Description
ListInstancesRequest

buildPartial()

publicListInstancesRequestbuildPartial()
Returns
Type Description
ListInstancesRequest

clear()

publicListInstancesRequest.Builderclear()
Returns
Type Description
ListInstancesRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

publicListInstancesRequest.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListInstancesRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

publicListInstancesRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListInstancesRequest.Builder
Overrides

clearPageSize()

publicListInstancesRequest.BuilderclearPageSize()

Maximum return size of the list call.

int32 page_size = 2;

Returns
Type Description
ListInstancesRequest.Builder

This builder for chaining.

clearPageToken()

publicListInstancesRequest.BuilderclearPageToken()

A previous returned page token that can be used to continue listing from the last result.

string page_token = 3;

Returns
Type Description
ListInstancesRequest.Builder

This builder for chaining.

clearParent()

publicListInstancesRequest.BuilderclearParent()

Required. Format: parent=projects/{project_id}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ListInstancesRequest.Builder

This builder for chaining.

clone()

publicListInstancesRequest.Builderclone()
Returns
Type Description
ListInstancesRequest.Builder
Overrides

getDefaultInstanceForType()

publicListInstancesRequestgetDefaultInstanceForType()
Returns
Type Description
ListInstancesRequest

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPageSize()

publicintgetPageSize()

Maximum return size of the list call.

int32 page_size = 2;

Returns
Type Description
int

The pageSize.

getPageToken()

publicStringgetPageToken()

A previous returned page token that can be used to continue listing from the last result.

string page_token = 3;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

publicByteStringgetPageTokenBytes()

A previous returned page token that can be used to continue listing from the last result.

string page_token = 3;

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

publicStringgetParent()

Required. Format: parent=projects/{project_id}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The parent.

getParentBytes()

publicByteStringgetParentBytes()

Required. Format: parent=projects/{project_id}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListInstancesRequest other)

publicListInstancesRequest.BuildermergeFrom(ListInstancesRequestother)
Parameter
Name Description
other ListInstancesRequest
Returns
Type Description
ListInstancesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicListInstancesRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListInstancesRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicListInstancesRequest.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
ListInstancesRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalListInstancesRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListInstancesRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

publicListInstancesRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListInstancesRequest.Builder
Overrides

setPageSize(int value)

publicListInstancesRequest.BuildersetPageSize(intvalue)

Maximum return size of the list call.

int32 page_size = 2;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListInstancesRequest.Builder

This builder for chaining.

setPageToken(String value)

publicListInstancesRequest.BuildersetPageToken(Stringvalue)

A previous returned page token that can be used to continue listing from the last result.

string page_token = 3;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListInstancesRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

publicListInstancesRequest.BuildersetPageTokenBytes(ByteStringvalue)

A previous returned page token that can be used to continue listing from the last result.

string page_token = 3;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListInstancesRequest.Builder

This builder for chaining.

setParent(String value)

publicListInstancesRequest.BuildersetParent(Stringvalue)

Required. Format: parent=projects/{project_id}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListInstancesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

publicListInstancesRequest.BuildersetParentBytes(ByteStringvalue)

Required. Format: parent=projects/{project_id}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ListInstancesRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicListInstancesRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListInstancesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalListInstancesRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListInstancesRequest.Builder
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.