public final class BatchCreateNotesRequest extends GeneratedMessageV3 implements BatchCreateNotesRequestOrBuilder
Request to create notes in batch.
Protobuf type grafeas.v1beta1.BatchCreateNotesRequest
Static Fields
NOTES_FIELD_NUMBER
public static final int NOTES_FIELD_NUMBER
Field Value
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static BatchCreateNotesRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static BatchCreateNotesRequest.Builder newBuilder()
Returns
newBuilder(BatchCreateNotesRequest prototype)
public static BatchCreateNotesRequest.Builder newBuilder(BatchCreateNotesRequest prototype)
Parameter
Returns
public static BatchCreateNotesRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchCreateNotesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static BatchCreateNotesRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BatchCreateNotesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static BatchCreateNotesRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchCreateNotesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchCreateNotesRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static BatchCreateNotesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchCreateNotesRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchCreateNotesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static BatchCreateNotesRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BatchCreateNotesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<BatchCreateNotesRequest> parser()
Returns
Methods
containsNotes(String key)
public boolean containsNotes(String key)
The notes to create.
map<string, .grafeas.v1beta1.Note> notes = 2;
Parameter
Returns
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public BatchCreateNotesRequest getDefaultInstanceForType()
Returns
getNotes()
public Map<String,Note> getNotes()
Returns
getNotesCount()
public int getNotesCount()
The notes to create.
map<string, .grafeas.v1beta1.Note> notes = 2;
Returns
getNotesMap()
public Map<String,Note> getNotesMap()
The notes to create.
map<string, .grafeas.v1beta1.Note> notes = 2;
Returns
getNotesOrDefault(String key, Note defaultValue)
public Note getNotesOrDefault(String key, Note defaultValue)
The notes to create.
map<string, .grafeas.v1beta1.Note> notes = 2;
Parameters
Returns
getNotesOrThrow(String key)
public Note getNotesOrThrow(String key)
The notes to create.
map<string, .grafeas.v1beta1.Note> notes = 2;
Parameter
Returns
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
getParserForType()
public Parser<BatchCreateNotesRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public BatchCreateNotesRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BatchCreateNotesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public BatchCreateNotesRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions