Class ListPersistentResourcesResponse (3.28.0)

public final class ListPersistentResourcesResponse extends GeneratedMessageV3 implements ListPersistentResourcesResponseOrBuilder

Response message for PersistentResourceService.ListPersistentResources

Protobuf type google.cloud.aiplatform.v1beta1.ListPersistentResourcesResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListPersistentResourcesResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

PERSISTENT_RESOURCES_FIELD_NUMBER

public static final int PERSISTENT_RESOURCES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListPersistentResourcesResponse getDefaultInstance()
Returns
TypeDescription
ListPersistentResourcesResponse

getDescriptor()

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

newBuilder()

public static ListPersistentResourcesResponse.Builder newBuilder()
Returns
TypeDescription
ListPersistentResourcesResponse.Builder

newBuilder(ListPersistentResourcesResponse prototype)

public static ListPersistentResourcesResponse.Builder newBuilder(ListPersistentResourcesResponse prototype)
Parameter
NameDescription
prototypeListPersistentResourcesResponse
Returns
TypeDescription
ListPersistentResourcesResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListPersistentResourcesResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListPersistentResourcesResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListPersistentResourcesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListPersistentResourcesResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListPersistentResourcesResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListPersistentResourcesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListPersistentResourcesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListPersistentResourcesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListPersistentResourcesResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListPersistentResourcesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListPersistentResourcesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListPersistentResourcesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListPersistentResourcesResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListPersistentResourcesResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListPersistentResourcesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListPersistentResourcesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListPersistentResourcesResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListPersistentResourcesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListPersistentResourcesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListPersistentResourcesResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListPersistentResourcesResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListPersistentResourcesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListPersistentResourcesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListPersistentResourcesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListPersistentResourcesResponse> parser()
Returns
TypeDescription
Parser<ListPersistentResourcesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListPersistentResourcesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListPersistentResourcesResponse

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.

getParserForType()

public Parser<ListPersistentResourcesResponse> getParserForType()
Returns
TypeDescription
Parser<ListPersistentResourcesResponse>
Overrides

getPersistentResources(int index)

public PersistentResource getPersistentResources(int index)

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

Parameter
NameDescription
indexint
Returns
TypeDescription
PersistentResource

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>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListPersistentResourcesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListPersistentResourcesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListPersistentResourcesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListPersistentResourcesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListPersistentResourcesResponse.Builder toBuilder()
Returns
TypeDescription
ListPersistentResourcesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException