Class ListPersistentResourcesResponse.Builder (3.34.0)

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

Response message for PersistentResourceService.ListPersistentResources

Protobuf type google.cloud.aiplatform.v1beta1.ListPersistentResourcesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllPersistentResources(Iterable<? extends PersistentResource> values)

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

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1beta1.PersistentResource>
Returns
TypeDescription
ListPersistentResourcesResponse.Builder

addPersistentResources(PersistentResource value)

public ListPersistentResourcesResponse.Builder addPersistentResources(PersistentResource value)

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

Parameter
NameDescription
valuePersistentResource
Returns
TypeDescription
ListPersistentResourcesResponse.Builder

addPersistentResources(PersistentResource.Builder builderForValue)

public ListPersistentResourcesResponse.Builder addPersistentResources(PersistentResource.Builder builderForValue)

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

Parameter
NameDescription
builderForValuePersistentResource.Builder
Returns
TypeDescription
ListPersistentResourcesResponse.Builder

addPersistentResources(int index, PersistentResource value)

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

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

Parameters
NameDescription
indexint
valuePersistentResource
Returns
TypeDescription
ListPersistentResourcesResponse.Builder

addPersistentResources(int index, PersistentResource.Builder builderForValue)

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

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

Parameters
NameDescription
indexint
builderForValuePersistentResource.Builder
Returns
TypeDescription
ListPersistentResourcesResponse.Builder

addPersistentResourcesBuilder()

public PersistentResource.Builder addPersistentResourcesBuilder()

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

Returns
TypeDescription
PersistentResource.Builder

addPersistentResourcesBuilder(int index)

public PersistentResource.Builder addPersistentResourcesBuilder(int index)

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

Parameter
NameDescription
indexint
Returns
TypeDescription
PersistentResource.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListPersistentResourcesResponse build()
Returns
TypeDescription
ListPersistentResourcesResponse

buildPartial()

public ListPersistentResourcesResponse buildPartial()
Returns
TypeDescription
ListPersistentResourcesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListPersistentResourcesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListPersistentResourcesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPersistentResources()

public ListPersistentResourcesResponse.Builder clearPersistentResources()

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

Returns
TypeDescription
ListPersistentResourcesResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListPersistentResourcesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListPersistentResourcesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getPersistentResources(int index)

public PersistentResource getPersistentResources(int index)

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

Parameter
NameDescription
indexint
Returns
TypeDescription
PersistentResource

getPersistentResourcesBuilder(int index)

public PersistentResource.Builder getPersistentResourcesBuilder(int index)

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

Parameter
NameDescription
indexint
Returns
TypeDescription
PersistentResource.Builder

getPersistentResourcesBuilderList()

public List<PersistentResource.Builder> getPersistentResourcesBuilderList()

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

Returns
TypeDescription
List<Builder>

getPersistentResourcesCount()

public int getPersistentResourcesCount()

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

Returns
TypeDescription
int

getPersistentResourcesList()

public List<PersistentResource> getPersistentResourcesList()

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

Returns
TypeDescription
List<PersistentResource>

getPersistentResourcesOrBuilder(int index)

public PersistentResourceOrBuilder getPersistentResourcesOrBuilder(int index)

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

Parameter
NameDescription
indexint
Returns
TypeDescription
PersistentResourceOrBuilder

getPersistentResourcesOrBuilderList()

public List<? extends PersistentResourceOrBuilder> getPersistentResourcesOrBuilderList()

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

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1beta1.PersistentResourceOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListPersistentResourcesResponse other)

public ListPersistentResourcesResponse.Builder mergeFrom(ListPersistentResourcesResponse other)
Parameter
NameDescription
otherListPersistentResourcesResponse
Returns
TypeDescription
ListPersistentResourcesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ListPersistentResourcesResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListPersistentResourcesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removePersistentResources(int index)

public ListPersistentResourcesResponse.Builder removePersistentResources(int index)

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ListPersistentResourcesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListPersistentResourcesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
ListPersistentResourcesResponse.Builder

This builder for chaining.

setPersistentResources(int index, PersistentResource value)

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

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

Parameters
NameDescription
indexint
valuePersistentResource
Returns
TypeDescription
ListPersistentResourcesResponse.Builder

setPersistentResources(int index, PersistentResource.Builder builderForValue)

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

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

Parameters
NameDescription
indexint
builderForValuePersistentResource.Builder
Returns
TypeDescription
ListPersistentResourcesResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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