Class BatchCreateNotesResponse.Builder (2.8.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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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.v1.Note notes = 1;

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

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
NameDescription
indexint
valueNote
Returns

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
NameDescription
indexint
builderForValueNote.Builder
Returns

addNotes(Note value)

public BatchCreateNotesResponse.Builder addNotes(Note value)

The notes that were created.

repeated .grafeas.v1.Note notes = 1;

Parameter
NameDescription
valueNote
Returns

addNotes(Note.Builder builderForValue)

public BatchCreateNotesResponse.Builder addNotes(Note.Builder builderForValue)

The notes that were created.

repeated .grafeas.v1.Note notes = 1;

Parameter
NameDescription
builderForValueNote.Builder
Returns

addNotesBuilder()

public Note.Builder addNotesBuilder()

The notes that were created.

repeated .grafeas.v1.Note notes = 1;

Returns
TypeDescription
Note.Builder

addNotesBuilder(int index)

public Note.Builder addNotesBuilder(int index)

The notes that were created.

repeated .grafeas.v1.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 Overrides

build()

public BatchCreateNotesResponse build()
Returns

buildPartial()

public BatchCreateNotesResponse buildPartial()
Returns

clear()

public BatchCreateNotesResponse.Builder clear()
Returns Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearNotes()

public BatchCreateNotesResponse.Builder clearNotes()

The notes that were created.

repeated .grafeas.v1.Note notes = 1;

Returns

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public BatchCreateNotesResponse.Builder clone()
Returns Overrides

getDefaultInstanceForType()

public BatchCreateNotesResponse getDefaultInstanceForType()
Returns

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNotes(int index)

public Note getNotes(int index)

The notes that were created.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Note.Builder

getNotesBuilderList()

public List<Note.Builder> getNotesBuilderList()

The notes that were created.

repeated .grafeas.v1.Note notes = 1;

Returns
TypeDescription
List<Builder>

getNotesCount()

public int getNotesCount()

The notes that were created.

repeated .grafeas.v1.Note notes = 1;

Returns
TypeDescription
int

getNotesList()

public List<Note> getNotesList()

The notes that were created.

repeated .grafeas.v1.Note notes = 1;

Returns
TypeDescription
List<Note>

getNotesOrBuilder(int index)

public NoteOrBuilder getNotesOrBuilder(int index)

The notes that were created.

repeated .grafeas.v1.Note notes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NoteOrBuilder

getNotesOrBuilderList()

public List<? extends NoteOrBuilder> getNotesOrBuilderList()

The notes that were created.

repeated .grafeas.v1.Note notes = 1;

Returns
TypeDescription
List<? extends io.grafeas.v1.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 Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

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

mergeFrom(BatchCreateNotesResponse other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeNotes(int index)

public BatchCreateNotesResponse.Builder removeNotes(int index)

The notes that were created.

repeated .grafeas.v1.Note notes = 1;

Parameter
NameDescription
indexint
Returns

setField(Descriptors.FieldDescriptor field, Object value)

public BatchCreateNotesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns 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
NameDescription
indexint
valueNote
Returns

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
NameDescription
indexint
builderForValueNote.Builder
Returns

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 Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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