Class ListPersistentResourcesResponse.Builder (3.56.0)

public static final class ListPersistentResourcesResponse.Builder extends GeneratedMessageV3.Builder<ListPersistentResourcesResponse.Builder> implements ListPersistentResourcesResponseOrBuilder

Response message for PersistentResourceService.ListPersistentResources

Protobuf type google.cloud.aiplatform.v1.ListPersistentResourcesResponse

Static Methods

getDescriptor()

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

Methods

addAllPersistentResources(Iterable<? extends PersistentResource> values)

public ListPersistentResourcesResponse.Builder addAllPersistentResources(Iterable<? extends PersistentResource> values)

repeated .google.cloud.aiplatform.v1.PersistentResource persistent_resources = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1.PersistentResource>
Returns
Type Description
ListPersistentResourcesResponse.Builder

addPersistentResources(PersistentResource value)

public ListPersistentResourcesResponse.Builder addPersistentResources(PersistentResource value)

repeated .google.cloud.aiplatform.v1.PersistentResource persistent_resources = 1;

Parameter
Name Description
value PersistentResource
Returns
Type Description
ListPersistentResourcesResponse.Builder

addPersistentResources(PersistentResource.Builder builderForValue)

public ListPersistentResourcesResponse.Builder addPersistentResources(PersistentResource.Builder builderForValue)

repeated .google.cloud.aiplatform.v1.PersistentResource persistent_resources = 1;

Parameter
Name Description
builderForValue PersistentResource.Builder
Returns
Type Description
ListPersistentResourcesResponse.Builder

addPersistentResources(int index, PersistentResource value)

public ListPersistentResourcesResponse.Builder addPersistentResources(int index, PersistentResource value)

repeated .google.cloud.aiplatform.v1.PersistentResource persistent_resources = 1;

Parameters
Name Description
index int
value PersistentResource
Returns
Type Description
ListPersistentResourcesResponse.Builder

addPersistentResources(int index, PersistentResource.Builder builderForValue)

public ListPersistentResourcesResponse.Builder addPersistentResources(int index, PersistentResource.Builder builderForValue)

repeated .google.cloud.aiplatform.v1.PersistentResource persistent_resources = 1;

Parameters
Name Description
index int
builderForValue PersistentResource.Builder
Returns
Type Description
ListPersistentResourcesResponse.Builder

addPersistentResourcesBuilder()

public PersistentResource.Builder addPersistentResourcesBuilder()

repeated .google.cloud.aiplatform.v1.PersistentResource persistent_resources = 1;

Returns
Type Description
PersistentResource.Builder

addPersistentResourcesBuilder(int index)

public PersistentResource.Builder addPersistentResourcesBuilder(int index)

repeated .google.cloud.aiplatform.v1.PersistentResource persistent_resources = 1;

Parameter
Name Description
index int
Returns
Type Description
PersistentResource.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListPersistentResourcesResponse build()
Returns
Type Description
ListPersistentResourcesResponse

buildPartial()

public ListPersistentResourcesResponse buildPartial()
Returns
Type Description
ListPersistentResourcesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListPersistentResourcesResponse.Builder clearNextPageToken()

A token to retrieve next page of results. Pass to ListPersistentResourcesRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
Type Description
ListPersistentResourcesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPersistentResources()

public ListPersistentResourcesResponse.Builder clearPersistentResources()

repeated .google.cloud.aiplatform.v1.PersistentResource persistent_resources = 1;

Returns
Type Description
ListPersistentResourcesResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListPersistentResourcesResponse getDefaultInstanceForType()
Returns
Type Description
ListPersistentResourcesResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token to retrieve next page of results. Pass to ListPersistentResourcesRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve next page of results. Pass to ListPersistentResourcesRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getPersistentResources(int index)

public PersistentResource getPersistentResources(int index)

repeated .google.cloud.aiplatform.v1.PersistentResource persistent_resources = 1;

Parameter
Name Description
index int
Returns
Type Description
PersistentResource

getPersistentResourcesBuilder(int index)

public PersistentResource.Builder getPersistentResourcesBuilder(int index)

repeated .google.cloud.aiplatform.v1.PersistentResource persistent_resources = 1;

Parameter
Name Description
index int
Returns
Type Description
PersistentResource.Builder

getPersistentResourcesBuilderList()

public List<PersistentResource.Builder> getPersistentResourcesBuilderList()

repeated .google.cloud.aiplatform.v1.PersistentResource persistent_resources = 1;

Returns
Type Description
List<Builder>

getPersistentResourcesCount()

public int getPersistentResourcesCount()

repeated .google.cloud.aiplatform.v1.PersistentResource persistent_resources = 1;

Returns
Type Description
int

getPersistentResourcesList()

public List<PersistentResource> getPersistentResourcesList()

repeated .google.cloud.aiplatform.v1.PersistentResource persistent_resources = 1;

Returns
Type Description
List<PersistentResource>

getPersistentResourcesOrBuilder(int index)

public PersistentResourceOrBuilder getPersistentResourcesOrBuilder(int index)

repeated .google.cloud.aiplatform.v1.PersistentResource persistent_resources = 1;

Parameter
Name Description
index int
Returns
Type Description
PersistentResourceOrBuilder

getPersistentResourcesOrBuilderList()

public List<? extends PersistentResourceOrBuilder> getPersistentResourcesOrBuilderList()

repeated .google.cloud.aiplatform.v1.PersistentResource persistent_resources = 1;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1.PersistentResourceOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListPersistentResourcesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removePersistentResources(int index)

public ListPersistentResourcesResponse.Builder removePersistentResources(int index)

repeated .google.cloud.aiplatform.v1.PersistentResource persistent_resources = 1;

Parameter
Name Description
index int
Returns
Type Description
ListPersistentResourcesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListPersistentResourcesResponse.Builder setNextPageToken(String value)

A token to retrieve next page of results. Pass to ListPersistentResourcesRequest.page_token to obtain that page.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListPersistentResourcesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListPersistentResourcesResponse.Builder setNextPageTokenBytes(ByteString value)

A token to retrieve next page of results. Pass to ListPersistentResourcesRequest.page_token to obtain that page.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListPersistentResourcesResponse.Builder

This builder for chaining.

setPersistentResources(int index, PersistentResource value)

public ListPersistentResourcesResponse.Builder setPersistentResources(int index, PersistentResource value)

repeated .google.cloud.aiplatform.v1.PersistentResource persistent_resources = 1;

Parameters
Name Description
index int
value PersistentResource
Returns
Type Description
ListPersistentResourcesResponse.Builder

setPersistentResources(int index, PersistentResource.Builder builderForValue)

public ListPersistentResourcesResponse.Builder setPersistentResources(int index, PersistentResource.Builder builderForValue)

repeated .google.cloud.aiplatform.v1.PersistentResource persistent_resources = 1;

Parameters
Name Description
index int
builderForValue PersistentResource.Builder
Returns
Type Description
ListPersistentResourcesResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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