Class BatchCreateNotesResponse.Builder (2.53.0)

public static final class BatchCreateNotesResponse.Builder extends GeneratedMessageV3.Builder<BatchCreateNotesResponse.Builder> implements BatchCreateNotesResponseOrBuilder

Response for creating notes in batch.

Protobuf type grafeas.v1.BatchCreateNotesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllNotes(Iterable<? extends Note> values)

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

The notes that were created.

repeated .grafeas.v1.Note notes = 1;

Parameter
Name Description
values Iterable<? extends io.grafeas.v1.Note>
Returns
Type Description
BatchCreateNotesResponse.Builder

addNotes(int index, Note value)

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

The notes that were created.

repeated .grafeas.v1.Note notes = 1;

Parameters
Name Description
index int
value Note
Returns
Type Description
BatchCreateNotesResponse.Builder

addNotes(int index, Note.Builder builderForValue)

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

The notes that were created.

repeated .grafeas.v1.Note notes = 1;

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

addNotes(Note value)

public BatchCreateNotesResponse.Builder addNotes(Note value)

The notes that were created.

repeated .grafeas.v1.Note notes = 1;

Parameter
Name Description
value Note
Returns
Type Description
BatchCreateNotesResponse.Builder

addNotes(Note.Builder builderForValue)

public BatchCreateNotesResponse.Builder addNotes(Note.Builder builderForValue)

The notes that were created.

repeated .grafeas.v1.Note notes = 1;

Parameter
Name Description
builderForValue Note.Builder
Returns
Type Description
BatchCreateNotesResponse.Builder

addNotesBuilder()

public Note.Builder addNotesBuilder()

The notes that were created.

repeated .grafeas.v1.Note notes = 1;

Returns
Type Description
Note.Builder

addNotesBuilder(int index)

public Note.Builder addNotesBuilder(int index)

The notes that were created.

repeated .grafeas.v1.Note notes = 1;

Parameter
Name Description
index int
Returns
Type Description
Note.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchCreateNotesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchCreateNotesResponse.Builder
Overrides

build()

public BatchCreateNotesResponse build()
Returns
Type Description
BatchCreateNotesResponse

buildPartial()

public BatchCreateNotesResponse buildPartial()
Returns
Type Description
BatchCreateNotesResponse

clear()

public BatchCreateNotesResponse.Builder clear()
Returns
Type Description
BatchCreateNotesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BatchCreateNotesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BatchCreateNotesResponse.Builder
Overrides

clearNotes()

public BatchCreateNotesResponse.Builder clearNotes()

The notes that were created.

repeated .grafeas.v1.Note notes = 1;

Returns
Type Description
BatchCreateNotesResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchCreateNotesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BatchCreateNotesResponse.Builder
Overrides

clone()

public BatchCreateNotesResponse.Builder clone()
Returns
Type Description
BatchCreateNotesResponse.Builder
Overrides

getDefaultInstanceForType()

public BatchCreateNotesResponse getDefaultInstanceForType()
Returns
Type Description
BatchCreateNotesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNotes(int index)

public Note getNotes(int index)

The notes that were created.

repeated .grafeas.v1.Note notes = 1;

Parameter
Name Description
index int
Returns
Type Description
Note

getNotesBuilder(int index)

public Note.Builder getNotesBuilder(int index)

The notes that were created.

repeated .grafeas.v1.Note notes = 1;

Parameter
Name Description
index int
Returns
Type Description
Note.Builder

getNotesBuilderList()

public List<Note.Builder> getNotesBuilderList()

The notes that were created.

repeated .grafeas.v1.Note notes = 1;

Returns
Type Description
List<Builder>

getNotesCount()

public int getNotesCount()

The notes that were created.

repeated .grafeas.v1.Note notes = 1;

Returns
Type Description
int

getNotesList()

public List<Note> getNotesList()

The notes that were created.

repeated .grafeas.v1.Note notes = 1;

Returns
Type Description
List<Note>

getNotesOrBuilder(int index)

public NoteOrBuilder getNotesOrBuilder(int index)

The notes that were created.

repeated .grafeas.v1.Note notes = 1;

Parameter
Name Description
index int
Returns
Type Description
NoteOrBuilder

getNotesOrBuilderList()

public List<? extends NoteOrBuilder> getNotesOrBuilderList()

The notes that were created.

repeated .grafeas.v1.Note notes = 1;

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchCreateNotesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateNotesResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BatchCreateNotesResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BatchCreateNotesResponse.Builder
Overrides

mergeFrom(BatchCreateNotesResponse other)

public BatchCreateNotesResponse.Builder mergeFrom(BatchCreateNotesResponse other)
Parameter
Name Description
other BatchCreateNotesResponse
Returns
Type Description
BatchCreateNotesResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchCreateNotesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchCreateNotesResponse.Builder
Overrides

removeNotes(int index)

public BatchCreateNotesResponse.Builder removeNotes(int index)

The notes that were created.

repeated .grafeas.v1.Note notes = 1;

Parameter
Name Description
index int
Returns
Type Description
BatchCreateNotesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BatchCreateNotesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchCreateNotesResponse.Builder
Overrides

setNotes(int index, Note value)

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

The notes that were created.

repeated .grafeas.v1.Note notes = 1;

Parameters
Name Description
index int
value Note
Returns
Type Description
BatchCreateNotesResponse.Builder

setNotes(int index, Note.Builder builderForValue)

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

The notes that were created.

repeated .grafeas.v1.Note notes = 1;

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

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

public BatchCreateNotesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BatchCreateNotesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchCreateNotesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchCreateNotesResponse.Builder
Overrides