Class ListNotesResponse.Builder (2.9.0)

publicstaticfinalclass ListNotesResponse.BuilderextendsGeneratedMessageV3.Builder<ListNotesResponse.Builder>implementsListNotesResponseOrBuilder

Response for listing notes.

Protobuf type grafeas.v1beta1.ListNotesResponse

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description

Methods

addAllNotes(Iterable<? extends Note> values)

publicListNotesResponse.BuilderaddAllNotes(Iterable<?extendsNote>values)

The notes requested.

repeated .grafeas.v1beta1.Note notes = 1;

Parameter
Name Description
values Iterable<? extends io.grafeas.v1beta1.Note>
Returns
Type Description

addNotes(int index, Note value)

publicListNotesResponse.BuilderaddNotes(intindex,Notevalue)

The notes requested.

repeated .grafeas.v1beta1.Note notes = 1;

Parameters
Name Description
index int
value Note
Returns
Type Description

addNotes(int index, Note.Builder builderForValue)

publicListNotesResponse.BuilderaddNotes(intindex,Note.BuilderbuilderForValue)

The notes requested.

repeated .grafeas.v1beta1.Note notes = 1;

Parameters
Name Description
index int
builderForValue Note.Builder
Returns
Type Description

addNotes(Note value)

publicListNotesResponse.BuilderaddNotes(Notevalue)

The notes requested.

repeated .grafeas.v1beta1.Note notes = 1;

Parameter
Name Description
value Note
Returns
Type Description

addNotes(Note.Builder builderForValue)

publicListNotesResponse.BuilderaddNotes(Note.BuilderbuilderForValue)

The notes requested.

repeated .grafeas.v1beta1.Note notes = 1;

Parameter
Name Description
builderForValue Note.Builder
Returns
Type Description

addNotesBuilder()

publicNote.BuilderaddNotesBuilder()

The notes requested.

repeated .grafeas.v1beta1.Note notes = 1;

Returns
Type Description

addNotesBuilder(int index)

publicNote.BuilderaddNotesBuilder(intindex)

The notes requested.

repeated .grafeas.v1beta1.Note notes = 1;

Parameter
Name Description
index int
Returns
Type Description

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicListNotesResponse.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
value Object
Returns
Type Description
Overrides

build()

publicListNotesResponsebuild()
Returns
Type Description

buildPartial()

publicListNotesResponsebuildPartial()
Returns
Type Description

clear()

publicListNotesResponse.Builderclear()
Returns
Type Description
Overrides

clearField(Descriptors.FieldDescriptor field)

publicListNotesResponse.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
Returns
Type Description
Overrides

clearNextPageToken()

publicListNotesResponse.BuilderclearNextPageToken()

The next pagination token in the list response. It should be used as page_token for the following request. An empty value means no more results.

string next_page_token = 2;

Returns
Type Description
ListNotesResponse.Builder

This builder for chaining.

clearNotes()

publicListNotesResponse.BuilderclearNotes()

The notes requested.

repeated .grafeas.v1beta1.Note notes = 1;

Returns
Type Description

clearOneof(Descriptors.OneofDescriptor oneof)

publicListNotesResponse.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
Returns
Type Description
Overrides

clone()

publicListNotesResponse.Builderclone()
Returns
Type Description
Overrides

getDefaultInstanceForType()

publicListNotesResponsegetDefaultInstanceForType()
Returns
Type Description

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Overrides

getNextPageToken()

publicStringgetNextPageToken()

The next pagination token in the list response. It should be used as page_token for the following request. An empty value means no more results.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

publicByteStringgetNextPageTokenBytes()

The next pagination token in the list response. It should be used as page_token for the following request. An empty value means no more results.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getNotes(int index)

publicNotegetNotes(intindex)

The notes requested.

repeated .grafeas.v1beta1.Note notes = 1;

Parameter
Name Description
index int
Returns
Type Description

getNotesBuilder(int index)

publicNote.BuildergetNotesBuilder(intindex)

The notes requested.

repeated .grafeas.v1beta1.Note notes = 1;

Parameter
Name Description
index int
Returns
Type Description

getNotesBuilderList()

publicList<Note.Builder>getNotesBuilderList()

The notes requested.

repeated .grafeas.v1beta1.Note notes = 1;

Returns
Type Description

getNotesCount()

publicintgetNotesCount()

The notes requested.

repeated .grafeas.v1beta1.Note notes = 1;

Returns
Type Description
int

getNotesList()

publicList<Note>getNotesList()

The notes requested.

repeated .grafeas.v1beta1.Note notes = 1;

Returns
Type Description

getNotesOrBuilder(int index)

publicNoteOrBuildergetNotesOrBuilder(intindex)

The notes requested.

repeated .grafeas.v1beta1.Note notes = 1;

Parameter
Name Description
index int
Returns
Type Description

getNotesOrBuilderList()

publicList<?extendsNoteOrBuilder>getNotesOrBuilderList()

The notes requested.

repeated .grafeas.v1beta1.Note notes = 1;

Returns
Type Description
List<? extends io.grafeas.v1beta1.NoteOrBuilder>

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicListNotesResponse.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Overrides Exceptions
Type Description

mergeFrom(Message other)

publicListNotesResponse.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
Overrides

mergeFrom(ListNotesResponse other)

publicListNotesResponse.BuildermergeFrom(ListNotesResponseother)
Parameter
Name Description
Returns
Type Description

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalListNotesResponse.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Overrides

removeNotes(int index)

publicListNotesResponse.BuilderremoveNotes(intindex)

The notes requested.

repeated .grafeas.v1beta1.Note notes = 1;

Parameter
Name Description
index int
Returns
Type Description

setField(Descriptors.FieldDescriptor field, Object value)

publicListNotesResponse.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
value Object
Returns
Type Description
Overrides

setNextPageToken(String value)

publicListNotesResponse.BuildersetNextPageToken(Stringvalue)

The next pagination token in the list response. It should be used as page_token for the following request. An empty value means no more results.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListNotesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

publicListNotesResponse.BuildersetNextPageTokenBytes(ByteStringvalue)

The next pagination token in the list response. It should be used as page_token for the following request. An empty value means no more results.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListNotesResponse.Builder

This builder for chaining.

setNotes(int index, Note value)

publicListNotesResponse.BuildersetNotes(intindex,Notevalue)

The notes requested.

repeated .grafeas.v1beta1.Note notes = 1;

Parameters
Name Description
index int
value Note
Returns
Type Description

setNotes(int index, Note.Builder builderForValue)

publicListNotesResponse.BuildersetNotes(intindex,Note.BuilderbuilderForValue)

The notes requested.

repeated .grafeas.v1beta1.Note notes = 1;

Parameters
Name Description
index int
builderForValue Note.Builder
Returns
Type Description

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

publicListNotesResponse.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
index int
value Object
Returns
Type Description
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalListNotesResponse.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.