Class ListNotesResponse.Builder (2.36.0)

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

Response for listing notes.

Protobuf type grafeas.v1beta1.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.v1beta1.Note notes = 1;

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

addNotes(int index, Note value)

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

The notes requested.

repeated .grafeas.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.Note notes = 1;

Parameter
NameDescription
builderForValueNote.Builder
Returns
TypeDescription
ListNotesResponse.Builder

addNotesBuilder()

public Note.Builder addNotesBuilder()

The notes requested.

repeated .grafeas.v1beta1.Note notes = 1;

Returns
TypeDescription
Note.Builder

addNotesBuilder(int index)

public Note.Builder addNotesBuilder(int index)

The notes requested.

repeated .grafeas.v1beta1.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

buildPartial()

public ListNotesResponse buildPartial()
Returns
TypeDescription
ListNotesResponse

clear()

public ListNotesResponse.Builder clear()
Returns
TypeDescription
ListNotesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListNotesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListNotesResponse.Builder
Overrides

clearNextPageToken()

public ListNotesResponse.Builder clearNextPageToken()

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
TypeDescription
ListNotesResponse.Builder

This builder for chaining.

clearNotes()

public ListNotesResponse.Builder clearNotes()

The notes requested.

repeated .grafeas.v1beta1.Note notes = 1;

Returns
TypeDescription
ListNotesResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ListNotesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListNotesResponse.Builder
Overrides

clone()

public ListNotesResponse.Builder clone()
Returns
TypeDescription
ListNotesResponse.Builder
Overrides

getDefaultInstanceForType()

public ListNotesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListNotesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

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
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

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
TypeDescription
ByteString

The bytes for nextPageToken.

getNotes(int index)

public Note getNotes(int index)

The notes requested.

repeated .grafeas.v1beta1.Note notes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Note

getNotesBuilder(int index)

public Note.Builder getNotesBuilder(int index)

The notes requested.

repeated .grafeas.v1beta1.Note notes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Note.Builder

getNotesBuilderList()

public List<Note.Builder> getNotesBuilderList()

The notes requested.

repeated .grafeas.v1beta1.Note notes = 1;

Returns
TypeDescription
List<Builder>

getNotesCount()

public int getNotesCount()

The notes requested.

repeated .grafeas.v1beta1.Note notes = 1;

Returns
TypeDescription
int

getNotesList()

public List<Note> getNotesList()

The notes requested.

repeated .grafeas.v1beta1.Note notes = 1;

Returns
TypeDescription
List<Note>

getNotesOrBuilder(int index)

public NoteOrBuilder getNotesOrBuilder(int index)

The notes requested.

repeated .grafeas.v1beta1.Note notes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NoteOrBuilder

getNotesOrBuilderList()

public List<? extends NoteOrBuilder> getNotesOrBuilderList()

The notes requested.

repeated .grafeas.v1beta1.Note notes = 1;

Returns
TypeDescription
List<? extends io.grafeas.v1beta1.NoteOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListNotesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListNotesResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListNotesResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListNotesResponse.Builder
Overrides

mergeFrom(ListNotesResponse other)

public ListNotesResponse.Builder mergeFrom(ListNotesResponse other)
Parameter
NameDescription
otherListNotesResponse
Returns
TypeDescription
ListNotesResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListNotesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListNotesResponse.Builder
Overrides

removeNotes(int index)

public ListNotesResponse.Builder removeNotes(int index)

The notes requested.

repeated .grafeas.v1beta1.Note notes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListNotesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListNotesResponse.Builder setNextPageToken(String value)

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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListNotesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListNotesResponse.Builder setNextPageTokenBytes(ByteString value)

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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListNotesResponse.Builder

This builder for chaining.

setNotes(int index, Note value)

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

The notes requested.

repeated .grafeas.v1beta1.Note notes = 1;

Parameters
NameDescription
indexint
valueNote
Returns
TypeDescription
ListNotesResponse.Builder

setNotes(int index, Note.Builder builderForValue)

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

The notes requested.

repeated .grafeas.v1beta1.Note notes = 1;

Parameters
NameDescription
indexint
builderForValueNote.Builder
Returns
TypeDescription
ListNotesResponse.Builder

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

public ListNotesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListNotesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListNotesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListNotesResponse.Builder
Overrides