Class ListAnnotationsResponse (3.24.0)

public final class ListAnnotationsResponse extends GeneratedMessageV3 implements ListAnnotationsResponseOrBuilder

Response message for DatasetService.ListAnnotations.

Protobuf type google.cloud.aiplatform.v1.ListAnnotationsResponse

Static Fields

ANNOTATIONS_FIELD_NUMBER

public static final int ANNOTATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListAnnotationsResponse getDefaultInstance()
Returns
TypeDescription
ListAnnotationsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListAnnotationsResponse prototype)

public static ListAnnotationsResponse.Builder newBuilder(ListAnnotationsResponse prototype)
Parameter
NameDescription
prototypeListAnnotationsResponse
Returns
TypeDescription
ListAnnotationsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAnnotations(int index)

public Annotation getAnnotations(int index)

A list of Annotations that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Annotation

getAnnotationsCount()

public int getAnnotationsCount()

A list of Annotations that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;

Returns
TypeDescription
int

getAnnotationsList()

public List<Annotation> getAnnotationsList()

A list of Annotations that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;

Returns
TypeDescription
List<Annotation>

getAnnotationsOrBuilder(int index)

public AnnotationOrBuilder getAnnotationsOrBuilder(int index)

A list of Annotations that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AnnotationOrBuilder

getAnnotationsOrBuilderList()

public List<? extends AnnotationOrBuilder> getAnnotationsOrBuilderList()

A list of Annotations that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.Annotation annotations = 1;

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1.AnnotationOrBuilder>

getDefaultInstanceForType()

public ListAnnotationsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListAnnotationsResponse

getNextPageToken()

public String getNextPageToken()

The standard List next-page token.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The standard List next-page token.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

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 ListAnnotationsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListAnnotationsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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