Class ListNotesResponse.Builder (2.37.0)

public static final class ListNotesResponse.Builder extends GeneratedMessageV3.Builder<ListNotesResponse.Builder> implements ListNotesResponseOrBuilder

Response for listing notes.

Protobuf type grafeas.v1.ListNotesResponse

Static Methods

getDescriptor()

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

Methods

addAllNotes(Iterable<? extends Note> values)

public ListNotesResponse.Builder addAllNotes(Iterable<? extends Note> values)

The notes requested.

repeated .grafeas.v1.Note notes = 1;

Parameter
NameDescription
valuesIterable<? extends io.grafeas.v1.Note>
Returns
TypeDescription
ListNotesResponse.Builder

addNotes(int index, Note value)

public ListNotesResponse.Builder addNotes(int index, Note value)

The notes requested.

repeated .grafeas.v1.Note notes = 1;

Parameters
NameDescription
indexint
valueNote
Returns
TypeDescription
ListNotesResponse.Builder

addNotes(int index, Note.Builder builderForValue)

public ListNotesResponse.Builder addNotes(int index, Note.Builder builderForValue)

The notes requested.

repeated .grafeas.v1.Note notes = 1;

Parameters
NameDescription
indexint
builderForValueNote.Builder
Returns
TypeDescription
ListNotesResponse.Builder

addNotes(Note value)

public ListNotesResponse.Builder addNotes(Note value)

The notes requested.

repeated .grafeas.v1.Note notes = 1;

Parameter
NameDescription
valueNote
Returns
TypeDescription
ListNotesResponse.Builder

addNotes(Note.Builder builderForValue)

public ListNotesResponse.Builder addNotes(Note.Builder builderForValue)

The notes requested.

repeated .grafeas.v1.Note notes = 1;

Parameter
NameDescription
builderForValueNote.Builder
Returns
TypeDescription
ListNotesResponse.Builder

addNotesBuilder()