Class ListSpecialistPoolsRequest.Builder (3.35.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListSpecialistPoolsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListSpecialistPoolsRequest.Builder
Overrides

build()

public ListSpecialistPoolsRequest build()
Returns
TypeDescription
ListSpecialistPoolsRequest

buildPartial()

public ListSpecialistPoolsRequest buildPartial()
Returns
TypeDescription
ListSpecialistPoolsRequest

clear()

public ListSpecialistPoolsRequest.Builder clear()
Returns
TypeDescription
ListSpecialistPoolsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListSpecialistPoolsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListSpecialistPoolsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ListSpecialistPoolsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListSpecialistPoolsRequest.Builder
Overrides

clearPageSize()

public ListSpecialistPoolsRequest.Builder clearPageSize()

The standard list page size.

int32 page_size = 2;

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

clone()

public ListSpecialistPoolsRequest.Builder clone()
Returns
TypeDescription
ListSpecialistPoolsRequest.Builder
Overrides

getDefaultInstanceForType()

public ListSpecialistPoolsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListSpecialistPoolsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPageSize()

public int getPageSize()

The standard list page size.

int32 page_size = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Builder

getReadMaskOrBuilder()

public FieldMaskOrBuilder getReadMaskOrBuilder()

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

.google.protobuf.FieldMask read_mask = 4;

Returns
TypeDescription
FieldMaskOrBuilder

hasReadMask()

public boolean hasReadMask()

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

.google.protobuf.FieldMask read_mask = 4;

Returns
TypeDescription
boolean

Whether the readMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListSpecialistPoolsRequest other)

public ListSpecialistPoolsRequest.Builder mergeFrom(ListSpecialistPoolsRequest other)
Parameter
NameDescription
otherListSpecialistPoolsRequest
Returns
TypeDescription
ListSpecialistPoolsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListSpecialistPoolsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSpecialistPoolsRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListSpecialistPoolsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
ListSpecialistPoolsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListSpecialistPoolsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListSpecialistPoolsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListSpecialistPoolsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListSpecialistPoolsRequest.Builder
Overrides

setPageSize(int value)

public ListSpecialistPoolsRequest.Builder setPageSize(int value)

The standard list page size.

int32 page_size = 2;

Parameter
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
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
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
ListSpecialistPoolsRequest.Builder

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

public ListSpecialistPoolsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListSpecialistPoolsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListSpecialistPoolsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListSpecialistPoolsRequest.Builder
Overrides