Class BatchCreateNotesRequest (2.21.0)

publicfinalclass BatchCreateNotesRequestextendsGeneratedMessageV3implementsBatchCreateNotesRequestOrBuilder

Request to create notes in batch.

Protobuf type grafeas.v1beta1.BatchCreateNotesRequest

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)

Static Fields

NOTES_FIELD_NUMBER

publicstaticfinalintNOTES_FIELD_NUMBER
Field Value
Type Description
int

PARENT_FIELD_NUMBER

publicstaticfinalintPARENT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticBatchCreateNotesRequestgetDefaultInstance()
Returns
Type Description
BatchCreateNotesRequest

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticBatchCreateNotesRequest.BuildernewBuilder()
Returns
Type Description
BatchCreateNotesRequest.Builder

newBuilder(BatchCreateNotesRequest prototype)

publicstaticBatchCreateNotesRequest.BuildernewBuilder(BatchCreateNotesRequestprototype)
Parameter
Name Description
prototype BatchCreateNotesRequest
Returns
Type Description
BatchCreateNotesRequest.Builder

parseDelimitedFrom(InputStream input)

publicstaticBatchCreateNotesRequestparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchCreateNotesRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticBatchCreateNotesRequestparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateNotesRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticBatchCreateNotesRequestparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
BatchCreateNotesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticBatchCreateNotesRequestparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateNotesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticBatchCreateNotesRequestparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
BatchCreateNotesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticBatchCreateNotesRequestparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateNotesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticBatchCreateNotesRequestparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BatchCreateNotesRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticBatchCreateNotesRequestparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateNotesRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticBatchCreateNotesRequestparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchCreateNotesRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticBatchCreateNotesRequestparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateNotesRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticBatchCreateNotesRequestparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BatchCreateNotesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticBatchCreateNotesRequestparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateNotesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<BatchCreateNotesRequest>parser()
Returns
Type Description
Parser<BatchCreateNotesRequest>

Methods

containsNotes(String key)

publicbooleancontainsNotes(Stringkey)

The notes to create.

map<string, .grafeas.v1beta1.Note> notes = 2;

Parameter
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

publicBatchCreateNotesRequestgetDefaultInstanceForType()
Returns
Type Description
BatchCreateNotesRequest

getNotes()

publicMap<String,Note>getNotes()

Use #getNotesMap() instead.

Returns
Type Description
Map<String,Note>

getNotesCount()

publicintgetNotesCount()

The notes to create.

map<string, .grafeas.v1beta1.Note> notes = 2;

Returns
Type Description
int

getNotesMap()

publicMap<String,Note>getNotesMap()

The notes to create.

map<string, .grafeas.v1beta1.Note> notes = 2;

Returns
Type Description
Map<String,Note>

getNotesOrDefault(String key, Note defaultValue)

publicNotegetNotesOrDefault(Stringkey,NotedefaultValue)

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)

publicNotegetNotesOrThrow(Stringkey)

The notes to create.

map<string, .grafeas.v1beta1.Note> notes = 2;

Parameter
Name Description
key String
Returns
Type Description
Note

getParent()

publicStringgetParent()

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()

publicByteStringgetParentBytes()

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.

getParserForType()

publicParser<BatchCreateNotesRequest>getParserForType()
Returns
Type Description
Parser<BatchCreateNotesRequest>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

publicfinalUnknownFieldSetgetUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapField(int number)

protectedMapFieldinternalGetMapField(intnumber)
Parameter
Name Description
number int
Returns
Type Description
MapField
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicBatchCreateNotesRequest.BuildernewBuilderForType()
Returns
Type Description
BatchCreateNotesRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedBatchCreateNotesRequest.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BatchCreateNotesRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicBatchCreateNotesRequest.BuildertoBuilder()
Returns
Type Description
BatchCreateNotesRequest.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

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 2025年11月19日 UTC.