public final class BatchCreateNotesRequest extends GeneratedMessageV3 implements BatchCreateNotesRequestOrBuilder
Request to create notes in batch.
Protobuf type grafeas.v1.BatchCreateNotesRequest
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
Methods
containsNotes(String key)
public boolean containsNotes(String key)
The notes to create. Max allowed length is 1000.
map<string, .grafeas.v1.Note> notes = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static BatchCreateNotesRequest getDefaultInstance()
Returns
getDefaultInstanceForType()
public BatchCreateNotesRequest getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getNotes()
public Map<String,Note> getNotes()
Returns
getNotesCount()
public int getNotesCount()
The notes to create. Max allowed length is 1000.
map<string, .grafeas.v1.Note> notes = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getNotesMap()
public Map<String,Note> getNotesMap()
The notes to create. Max allowed length is 1000.
map<string, .grafeas.v1.Note> notes = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getNotesOrDefault(String key, Note defaultValue)
public Note getNotesOrDefault(String key, Note defaultValue)
The notes to create. Max allowed length is 1000.
map<string, .grafeas.v1.Note> notes = 2 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
getNotesOrThrow(String key)
public Note getNotesOrThrow(String key)
The notes to create. Max allowed length is 1000.
map<string, .grafeas.v1.Note> notes = 2 [(.google.api.field_behavior) = REQUIRED];
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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
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
newBuilder()
public static BatchCreateNotesRequest.Builder newBuilder()
Returns
newBuilder(BatchCreateNotesRequest prototype)
public static BatchCreateNotesRequest.Builder newBuilder(BatchCreateNotesRequest prototype)
Parameter
Returns
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
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
toBuilder()
public BatchCreateNotesRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions