Class BatchCreateNotesResponse.Builder (2.4.5)
Stay organized with collections
Save and categorize content based on your preferences.
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
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
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
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
Returns
addNotes(Note value)
public BatchCreateNotesResponse.Builder addNotes(Note value)
The notes that were created.
repeated .grafeas.v1.Note notes = 1;
Parameter
Returns
addNotes(Note.Builder builderForValue)
public BatchCreateNotesResponse.Builder addNotes(Note.Builder builderForValue)
The notes that were created.
repeated .grafeas.v1.Note notes = 1;
Parameter
Returns
addNotesBuilder()
public Note.Builder addNotesBuilder()
The notes that were created.
repeated .grafeas.v1.Note notes = 1;
Returns
addNotesBuilder(int index)
public Note.Builder addNotesBuilder(int index)
The notes that were created.
repeated .grafeas.v1.Note notes = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchCreateNotesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
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
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
Returns
Overrides
clone()
public BatchCreateNotesResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public BatchCreateNotesResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNotes(int index)
public Note getNotes(int index)
The notes that were created.
repeated .grafeas.v1.Note notes = 1;
Parameter
Returns
getNotesBuilder(int index)
public Note.Builder getNotesBuilder(int index)
The notes that were created.
repeated .grafeas.v1.Note notes = 1;
Parameter
Returns
getNotesBuilderList()
public List<Note.Builder> getNotesBuilderList()
The notes that were created.
repeated .grafeas.v1.Note notes = 1;
Returns
getNotesCount()
public int getNotesCount()
The notes that were created.
repeated .grafeas.v1.Note notes = 1;
Returns
getNotesList()
public List<Note> getNotesList()
The notes that were created.
repeated .grafeas.v1.Note notes = 1;
Returns
getNotesOrBuilder(int index)
public NoteOrBuilder getNotesOrBuilder(int index)
The notes that were created.
repeated .grafeas.v1.Note notes = 1;
Parameter
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public BatchCreateNotesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public BatchCreateNotesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(BatchCreateNotesResponse other)
public BatchCreateNotesResponse.Builder mergeFrom(BatchCreateNotesResponse other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchCreateNotesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeNotes(int index)
public BatchCreateNotesResponse.Builder removeNotes(int index)
The notes that were created.
repeated .grafeas.v1.Note notes = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public BatchCreateNotesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
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
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchCreateNotesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchCreateNotesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-04 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-10-04 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-04 UTC."]]