Class BatchCreateNotesRequest.Builder (2.96.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static final class BatchCreateNotesRequest.Builder extends GeneratedMessage.Builder<BatchCreateNotesRequest.Builder> implements BatchCreateNotesRequestOrBuilder
Request to create notes in batch.
Protobuf type grafeas.v1beta1.BatchCreateNotesRequest
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public BatchCreateNotesRequest build()
buildPartial()
public BatchCreateNotesRequest buildPartial()
clear()
public BatchCreateNotesRequest.Builder clear()
Overrides
clearNotes()
public BatchCreateNotesRequest.Builder clearNotes()
clearParent()
public BatchCreateNotesRequest.Builder clearParent()
The name of the project in the form of projects/[PROJECT_ID], under which
the notes are to be created.
string parent = 1;
containsNotes(String key)
public boolean containsNotes(String key)
The notes to create.
map<string, .grafeas.v1beta1.Note> notes = 2;
| Parameter |
| Name |
Description |
key |
String
|
getDefaultInstanceForType()
public BatchCreateNotesRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMutableNotes() (deprecated)
public Map<String,Note> getMutableNotes()
Use alternate mutation accessors instead.
getNotes() (deprecated)
public Map<String,Note> getNotes()
getNotesCount()
public int getNotesCount()
The notes to create.
map<string, .grafeas.v1beta1.Note> notes = 2;
| Returns |
| Type |
Description |
int |
|
getNotesMap()
public Map<String,Note> getNotesMap()
The notes to create.
map<string, .grafeas.v1beta1.Note> notes = 2;
getNotesOrDefault(String key, Note defaultValue)
public Note getNotesOrDefault(String key, Note defaultValue)
The notes to create.
map<string, .grafeas.v1beta1.Note> notes = 2;
| Parameters |
| Name |
Description |
key |
String
|
defaultValue |
Note
|
| Returns |
| Type |
Description |
Note |
|
getNotesOrThrow(String key)
public Note getNotesOrThrow(String key)
The notes to create.
map<string, .grafeas.v1beta1.Note> notes = 2;
| Parameter |
| Name |
Description |
key |
String
|
| Returns |
| Type |
Description |
Note |
|
getParent()
public String getParent()
The name of the project in the form of projects/[PROJECT_ID], under which
the notes are to be created.
string parent = 1;
| Returns |
| Type |
Description |
String |
The parent.
|
getParentBytes()
public ByteString getParentBytes()
The name of the project in the form of projects/[PROJECT_ID], under which
the notes are to be created.
string parent = 1;
| Returns |
| Type |
Description |
ByteString |
The bytes for parent.
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
public BatchCreateNotesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BatchCreateNotesRequest.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeFrom(BatchCreateNotesRequest other)
public BatchCreateNotesRequest.Builder mergeFrom(BatchCreateNotesRequest other)
putAllNotes(Map<String,Note> values)
public BatchCreateNotesRequest.Builder putAllNotes(Map<String,Note> values)
The notes to create.
map<string, .grafeas.v1beta1.Note> notes = 2;
putNotes(String key, Note value)
public BatchCreateNotesRequest.Builder putNotes(String key, Note value)
The notes to create.
map<string, .grafeas.v1beta1.Note> notes = 2;
putNotesBuilderIfAbsent(String key)
public Note.Builder putNotesBuilderIfAbsent(String key)
The notes to create.
map<string, .grafeas.v1beta1.Note> notes = 2;
| Parameter |
| Name |
Description |
key |
String
|
removeNotes(String key)
public BatchCreateNotesRequest.Builder removeNotes(String key)
The notes to create.
map<string, .grafeas.v1beta1.Note> notes = 2;
| Parameter |
| Name |
Description |
key |
String
|
setParent(String value)
public BatchCreateNotesRequest.Builder setParent(String value)
The name of the project in the form of projects/[PROJECT_ID], under which
the notes are to be created.
string parent = 1;
| Parameter |
| Name |
Description |
value |
String
The parent to set.
|
setParentBytes(ByteString value)
public BatchCreateNotesRequest.Builder setParentBytes(ByteString value)
The name of the project in the form of projects/[PROJECT_ID], under which
the notes are to be created.
string parent = 1;
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for parent to set.
|
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 2026-08-04 UTC.
[null,null,["Last updated 2026-08-04 UTC."],[],[]]