Class BatchCreateNotesResponse.Builder (2.38.0)

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

Response for creating notes in batch.

Protobuf type grafeas.v1beta1.BatchCreateNotesResponse

Static Methods

getDescriptor()

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

Methods

addAllNotes(Iterable<? extends Note> values)

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

The notes that were created.

repeated .grafeas.v1beta1.Note notes = 1;

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

addNotes(int index, Note value)

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

The notes that were created.

repeated .grafeas.v1beta1.Note notes = 1;

Parameters
NameDescription
indexint
valueNote
Returns
TypeDescription
BatchCreateNotesResponse.Builder

addNotes(int index, Note.Builder builderForValue)

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

The notes that were created.

repeated .grafeas.v1beta1.Note notes = 1;

Parameters
NameDescription
indexint
builderForValueNote.Builder
Returns
TypeDescription
BatchCreateNotesResponse.Builder

addNotes(Note value)

public BatchCreateNotesResponse.Builder addNotes(Note value)

The notes that were created.

repeated .grafeas.v1beta1.Note notes = 1;

Parameter
NameDescription
valueNote
Returns
TypeDescription
BatchCreateNotesResponse.Builder

addNotes(Note.Builder builderForValue)

public BatchCreateNotesResponse.Builder addNotes(Note.Builder builderForValue)

The notes that were created.

repeated .grafeas.v1beta1.Note notes = 1;

Parameter
NameDescription
builderForValueNote.Builder
Returns
TypeDescription
BatchCreateNotesResponse.Builder

addNotesBuilder()

public Note.Builder addNotesBuilder()

The notes that were created.

repeated .grafeas.v1beta1.Note notes = 1;

Returns
TypeDescription
Note.Builder

addNotesBuilder(int index)

public Note.Builder addNotesBuilder(int index)

The notes that were created.

repeated .grafeas.v1beta1.Note notes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Note.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchCreateNotesResponse build()
Returns
TypeDescription
BatchCreateNotesResponse

buildPartial()

public BatchCreateNotesResponse buildPartial()
Returns
TypeDescription
BatchCreateNotesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNotes()

public BatchCreateNotesResponse.Builder clearNotes()

The notes that were created.

repeated .grafeas.v1beta1.Note notes = 1;

Returns
TypeDescription
BatchCreateNotesResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public BatchCreateNotesResponse getDefaultInstanceForType()
Returns
TypeDescription
BatchCreateNotesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNotes(int index)

public Note getNotes(int index)

The notes that were created.

repeated .grafeas.v1beta1.Note notes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Note

getNotesBuilder(int index)

public Note.Builder getNotesBuilder(int index)

The notes that were created.

repeated .grafeas.v1beta1.Note notes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Note.Builder

getNotesBuilderList()

public List<Note.Builder> getNotesBuilderList()

The notes that were created.

repeated .grafeas.v1beta1.Note notes = 1;

Returns
TypeDescription
List<Builder>

getNotesCount()

public int getNotesCount()

The notes that were created.

repeated .grafeas.v1beta1.Note notes = 1;

Returns
TypeDescription
int

getNotesList()

public List<Note> getNotesList()

The notes that were created.

repeated .grafeas.v1beta1.Note notes = 1;

Returns
TypeDescription
List<Note>

getNotesOrBuilder(int index)

public NoteOrBuilder getNotesOrBuilder(int index)

The notes that were created.

repeated .grafeas.v1beta1.Note notes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NoteOrBuilder

getNotesOrBuilderList()

public List<? extends NoteOrBuilder> getNotesOrBuilderList()

The notes that were created.

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 BatchCreateNotesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchCreateNotesResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

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

mergeFrom(BatchCreateNotesResponse other)

public BatchCreateNotesResponse.Builder mergeFrom(BatchCreateNotesResponse other)
Parameter
NameDescription
otherBatchCreateNotesResponse
Returns
TypeDescription
BatchCreateNotesResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeNotes(int index)

public BatchCreateNotesResponse.Builder removeNotes(int index)

The notes that were created.

repeated .grafeas.v1beta1.Note notes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
BatchCreateNotesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNotes(int index, Note value)

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

The notes that were created.

repeated .grafeas.v1beta1.Note notes = 1;

Parameters
NameDescription
indexint
valueNote
Returns
TypeDescription
BatchCreateNotesResponse.Builder

setNotes(int index, Note.Builder builderForValue)

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

The notes that were created.

repeated .grafeas.v1beta1.Note notes = 1;

Parameters
NameDescription
indexint
builderForValueNote.Builder
Returns
TypeDescription
BatchCreateNotesResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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