Class ListNotesResponse.Builder (2.14.0)

Stay organized with collections Save and categorize content based on your preferences.
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()

public Note.Builder addNotesBuilder()

The notes requested.

repeated .grafeas.v1.Note notes = 1;

Returns
TypeDescription
Note.Builder

addNotesBuilder(int index)

public Note.Builder addNotesBuilder(int index)

The notes requested.

repeated .grafeas.v1.Note notes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Note.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListNotesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListNotesResponse.Builder
Overrides

build()

public ListNotesResponse build()
Returns
TypeDescription
ListNotesResponse