Class ListSpecialistPoolsRequest.Builder (3.43.0)

public static final class ListSpecialistPoolsRequest.Builder extends GeneratedMessageV3.Builder<ListSpecialistPoolsRequest.Builder> implements ListSpecialistPoolsRequestOrBuilder

Request message for SpecialistPoolService.ListSpecialistPools.

Protobuf type google.cloud.aiplatform.v1.ListSpecialistPoolsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListSpecialistPoolsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListSpecialistPoolsRequest.Builder
Overrides

build()

public ListSpecialistPoolsRequest build()
Returns
Type Description
ListSpecialistPoolsRequest

buildPartial()

public ListSpecialistPoolsRequest buildPartial()
Returns
Type Description
ListSpecialistPoolsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListSpecialistPoolsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListSpecialistPoolsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ListSpecialistPoolsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListSpecialistPoolsRequest.Builder
Overrides

clearPageSize()

public ListSpecialistPoolsRequest.Builder clearPageSize()

The standard list page size.

int32 page_size = 2;

Returns
Type Description
ListSpecialistPoolsRequest.Builder

This builder for chaining.

clearPageToken()

public ListSpecialistPoolsRequest.Builder clearPageToken()

The standard list page token. Typically obtained by ListSpecialistPoolsResponse.next_page_token of the previous SpecialistPoolService.ListSpecialistPools call. Return first page if empty.

string page_token = 3;

Returns
Type Description
ListSpecialistPoolsRequest.Builder

This builder for chaining.

clearParent()

public ListSpecialistPoolsRequest.Builder clearParent()

Required. The name of the SpecialistPool's parent resource. Format: projects/{project}/locations/{location}

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

Returns
Type Description
ListSpecialistPoolsRequest.Builder

This builder for chaining.

clearReadMask()

public ListSpecialistPoolsRequest.Builder clearReadMask()

Mask specifying which fields to read. FieldMask represents a set of

.google.protobuf.FieldMask read_mask = 4;

Returns
Type Description
ListSpecialistPoolsRequest.Builder

clone()

public ListSpecialistPoolsRequest.Builder clone()
Returns
Type Description
ListSpecialistPoolsRequest.Builder
Overrides

getDefaultInstanceForType()

public ListSpecialistPoolsRequest getDefaultInstanceForType()
Returns
Type Description
ListSpecialistPoolsRequest

getDescriptorForType()

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

getPageSize()

public int getPageSize()

The standard list page size.

int32 page_size = 2;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

The standard list page token. Typically obtained by ListSpecialistPoolsResponse.next_page_token of the previous SpecialistPoolService.ListSpecialistPools call. Return first page if empty.

string page_token = 3;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

The standard list page token. Typically obtained by ListSpecialistPoolsResponse.next_page_token of the previous SpecialistPoolService.ListSpecialistPools call. Return first page if empty.

string page_token = 3;

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The name of the SpecialistPool's parent resource. Format: projects/{project}/locations/{location}

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The name of the SpecialistPool's parent resource. Format: projects/{project}/locations/{location}

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

Returns
Type Description
ByteString

The bytes for parent.

getReadMask()

public FieldMask getReadMask()

Mask specifying which fields to read. FieldMask represents a set of

.google.protobuf.FieldMask read_mask = 4;

Returns
Type Description
FieldMask

The readMask.

getReadMaskBuilder()

public FieldMask.Builder getReadMaskBuilder()

Mask specifying which fields to read. FieldMask represents a set of

.google.protobuf.FieldMask read_mask = 4;

Returns
Type Description
Builder

getReadMaskOrBuilder()

public FieldMaskOrBuilder getReadMaskOrBuilder()

Mask specifying which fields to read. FieldMask represents a set of

.google.protobuf.FieldMask read_mask = 4;

Returns
Type Description
FieldMaskOrBuilder

hasReadMask()

public boolean hasReadMask()

Mask specifying which fields to read. FieldMask represents a set of

.google.protobuf.FieldMask read_mask = 4;

Returns
Type Description
boolean

Whether the readMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListSpecialistPoolsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeReadMask(FieldMask value)

public ListSpecialistPoolsRequest.Builder mergeReadMask(FieldMask value)

Mask specifying which fields to read. FieldMask represents a set of

.google.protobuf.FieldMask read_mask = 4;

Parameter
Name Description
value FieldMask
Returns
Type Description
ListSpecialistPoolsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListSpecialistPoolsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListSpecialistPoolsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListSpecialistPoolsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListSpecialistPoolsRequest.Builder
Overrides

setPageSize(int value)

public ListSpecialistPoolsRequest.Builder setPageSize(int value)

The standard list page size.

int32 page_size = 2;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListSpecialistPoolsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListSpecialistPoolsRequest.Builder setPageToken(String value)

The standard list page token. Typically obtained by ListSpecialistPoolsResponse.next_page_token of the previous SpecialistPoolService.ListSpecialistPools call. Return first page if empty.

string page_token = 3;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListSpecialistPoolsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListSpecialistPoolsRequest.Builder setPageTokenBytes(ByteString value)

The standard list page token. Typically obtained by ListSpecialistPoolsResponse.next_page_token of the previous SpecialistPoolService.ListSpecialistPools call. Return first page if empty.

string page_token = 3;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListSpecialistPoolsRequest.Builder

This builder for chaining.

setParent(String value)

public ListSpecialistPoolsRequest.Builder setParent(String value)

Required. The name of the SpecialistPool's parent resource. Format: projects/{project}/locations/{location}

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListSpecialistPoolsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListSpecialistPoolsRequest.Builder setParentBytes(ByteString value)

Required. The name of the SpecialistPool's parent resource. Format: projects/{project}/locations/{location}

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

This builder for chaining.

setReadMask(FieldMask value)

public ListSpecialistPoolsRequest.Builder setReadMask(FieldMask value)

Mask specifying which fields to read. FieldMask represents a set of

.google.protobuf.FieldMask read_mask = 4;

Parameter
Name Description
value FieldMask
Returns
Type Description
ListSpecialistPoolsRequest.Builder

setReadMask(FieldMask.Builder builderForValue)

public ListSpecialistPoolsRequest.Builder setReadMask(FieldMask.Builder builderForValue)

Mask specifying which fields to read. FieldMask represents a set of

.google.protobuf.FieldMask read_mask = 4;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ListSpecialistPoolsRequest.Builder

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

public ListSpecialistPoolsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListSpecialistPoolsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListSpecialistPoolsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListSpecialistPoolsRequest.Builder
Overrides