public final class BatchCreateNotesRequest extends GeneratedMessageV3 implements BatchCreateNotesRequestOrBuilder
Request to create notes in batch.Protobuf type
grafeas.v1.BatchCreateNotesRequest| Modifier and Type | Class and Description |
|---|---|
static class |
BatchCreateNotesRequest.Builder
Request to create notes in batch.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameterAbstractMessageLite.InternalOneOfEnum| Modifier and Type | Field and Description |
|---|---|
static int |
NOTES_FIELD_NUMBER |
static int |
PARENT_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCodecanUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int PARENT_FIELD_NUMBER
public static final int NOTES_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField in class GeneratedMessageV3protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public 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;getParent in interface BatchCreateNotesRequestOrBuilderpublic 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;getParentBytes in interface BatchCreateNotesRequestOrBuilderpublic int getNotesCount()
BatchCreateNotesRequestOrBuilderThe notes to create. Max allowed length is 1000.
map<string, .grafeas.v1.Note> notes = 2;getNotesCount in interface BatchCreateNotesRequestOrBuilderpublic boolean containsNotes(String key)
The notes to create. Max allowed length is 1000.
map<string, .grafeas.v1.Note> notes = 2;containsNotes in interface BatchCreateNotesRequestOrBuilder@Deprecated public Map<String,Note> getNotes()
getNotesMap() instead.getNotes in interface BatchCreateNotesRequestOrBuilderpublic Map<String,Note> getNotesMap()
The notes to create. Max allowed length is 1000.
map<string, .grafeas.v1.Note> notes = 2;getNotesMap in interface BatchCreateNotesRequestOrBuilderpublic Note getNotesOrDefault(String key, Note defaultValue)
The notes to create. Max allowed length is 1000.
map<string, .grafeas.v1.Note> notes = 2;getNotesOrDefault in interface BatchCreateNotesRequestOrBuilderpublic Note getNotesOrThrow(String key)
The notes to create. Max allowed length is 1000.
map<string, .grafeas.v1.Note> notes = 2;getNotesOrThrow in interface BatchCreateNotesRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static BatchCreateNotesRequest parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static BatchCreateNotesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static BatchCreateNotesRequest parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static BatchCreateNotesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static BatchCreateNotesRequest parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static BatchCreateNotesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static BatchCreateNotesRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static BatchCreateNotesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BatchCreateNotesRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static BatchCreateNotesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BatchCreateNotesRequest parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static BatchCreateNotesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic BatchCreateNotesRequest.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static BatchCreateNotesRequest.Builder newBuilder()
public static BatchCreateNotesRequest.Builder newBuilder(BatchCreateNotesRequest prototype)
public BatchCreateNotesRequest.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected BatchCreateNotesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static BatchCreateNotesRequest getDefaultInstance()
public static Parser<BatchCreateNotesRequest> parser()
public Parser<BatchCreateNotesRequest> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public BatchCreateNotesRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.