Class ListNoteOccurrencesResponse (2.42.0)

public final class ListNoteOccurrencesResponse extends GeneratedMessageV3 implements ListNoteOccurrencesResponseOrBuilder

Response for listing occurrences for a note.

Protobuf type grafeas.v1.ListNoteOccurrencesResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

OCCURRENCES_FIELD_NUMBER

public static final int OCCURRENCES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListNoteOccurrencesResponse getDefaultInstance()
Returns
TypeDescription
ListNoteOccurrencesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListNoteOccurrencesResponse prototype)

public static ListNoteOccurrencesResponse.Builder newBuilder(ListNoteOccurrencesResponse prototype)
Parameter
NameDescription
prototypeListNoteOccurrencesResponse
Returns
TypeDescription
ListNoteOccurrencesResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListNoteOccurrencesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListNoteOccurrencesResponse

getNextPageToken()

public String getNextPageToken()

Token to provide to skip to a particular spot in the list.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to provide to skip to a particular spot in the list.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getOccurrences(int index)

public Occurrence getOccurrences(int index)

The occurrences attached to the specified note.

repeated .grafeas.v1.Occurrence occurrences = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Occurrence

getOccurrencesCount()

public int getOccurrencesCount()

The occurrences attached to the specified note.

repeated .grafeas.v1.Occurrence occurrences = 1;

Returns
TypeDescription
int

getOccurrencesList()

public List<Occurrence> getOccurrencesList()

The occurrences attached to the specified note.

repeated .grafeas.v1.Occurrence occurrences = 1;

Returns
TypeDescription
List<Occurrence>

getOccurrencesOrBuilder(int index)

public OccurrenceOrBuilder getOccurrencesOrBuilder(int index)

The occurrences attached to the specified note.

repeated .grafeas.v1.Occurrence occurrences = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
OccurrenceOrBuilder

getOccurrencesOrBuilderList()

public List<? extends OccurrenceOrBuilder> getOccurrencesOrBuilderList()

The occurrences attached to the specified note.

repeated .grafeas.v1.Occurrence occurrences = 1;

Returns
TypeDescription
List<? extends io.grafeas.v1.OccurrenceOrBuilder>

getParserForType()

public Parser<ListNoteOccurrencesResponse> getParserForType()
Returns
TypeDescription
Parser<ListNoteOccurrencesResponse>
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 ListNoteOccurrencesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListNoteOccurrencesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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