Package org.finos.tracdap.api
Class MetadataWriteBatchRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
org.finos.tracdap.api.MetadataWriteBatchRequest
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,MetadataWriteBatchRequestOrBuilder
public final class MetadataWriteBatchRequest
extends com.google.protobuf.GeneratedMessage
implements MetadataWriteBatchRequestOrBuilder
* Request to create or update a batch of objects in the TRAC metadata store. @see TracMetadataApiProtobuf type
tracdap.api.MetadataWriteBatchRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* Request to create or update a batch of objects in the TRAC metadata store.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCreateObjects(int index) * Requests to be processed using createObject()int* Requests to be processed using createObject()* Requests to be processed using createObject()getCreateObjectsOrBuilder(int index) * Requests to be processed using createObject()List<? extends MetadataWriteRequestOrBuilder> * Requests to be processed using createObject()getCreatePreallocatedObjects(int index) * Requests to be processed using createPreallocatedObject() This request type is only available in the internal metadata API.int* Requests to be processed using createPreallocatedObject() This request type is only available in the internal metadata API.* Requests to be processed using createPreallocatedObject() This request type is only available in the internal metadata API.getCreatePreallocatedObjectsOrBuilder(int index) * Requests to be processed using createPreallocatedObject() This request type is only available in the internal metadata API.List<? extends MetadataWriteRequestOrBuilder> * Requests to be processed using createPreallocatedObject() This request type is only available in the internal metadata API.static MetadataWriteBatchRequeststatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<MetadataWriteBatchRequest> getPreallocateIds(int index) * Requests to be processed using preallocateId() This request type is only available in the internal metadata API.int* Requests to be processed using preallocateId() This request type is only available in the internal metadata API.* Requests to be processed using preallocateId() This request type is only available in the internal metadata API.getPreallocateIdsOrBuilder(int index) * Requests to be processed using preallocateId() This request type is only available in the internal metadata API.List<? extends MetadataWriteRequestOrBuilder> * Requests to be processed using preallocateId() This request type is only available in the internal metadata API.int* Tenant code for the requested operation, always required.com.google.protobuf.ByteString* Tenant code for the requested operation, always required.getUpdateObjects(int index) * Requests to be processed using updateObject()int* Requests to be processed using updateObject()* Requests to be processed using updateObject()getUpdateObjectsOrBuilder(int index) * Requests to be processed using updateObject()List<? extends MetadataWriteRequestOrBuilder> * Requests to be processed using updateObject()getUpdateTags(int index) * Requests to be processed using updateTag()int* Requests to be processed using updateTag()* Requests to be processed using updateTag()getUpdateTagsOrBuilder(int index) * Requests to be processed using updateTag()List<? extends MetadataWriteRequestOrBuilder> * Requests to be processed using updateTag()inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(MetadataWriteBatchRequest prototype) protected MetadataWriteBatchRequest.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static MetadataWriteBatchRequestparseDelimitedFrom(InputStream input) static MetadataWriteBatchRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MetadataWriteBatchRequestparseFrom(byte[] data) static MetadataWriteBatchRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MetadataWriteBatchRequestparseFrom(com.google.protobuf.ByteString data) static MetadataWriteBatchRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MetadataWriteBatchRequestparseFrom(com.google.protobuf.CodedInputStream input) static MetadataWriteBatchRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MetadataWriteBatchRequestparseFrom(InputStream input) static MetadataWriteBatchRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MetadataWriteBatchRequestparseFrom(ByteBuffer data) static MetadataWriteBatchRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<MetadataWriteBatchRequest> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TENANT_FIELD_NUMBER
public static final int TENANT_FIELD_NUMBER- See Also:
-
CREATEOBJECTS_FIELD_NUMBER
public static final int CREATEOBJECTS_FIELD_NUMBER- See Also:
-
UPDATEOBJECTS_FIELD_NUMBER
public static final int UPDATEOBJECTS_FIELD_NUMBER- See Also:
-
UPDATETAGS_FIELD_NUMBER
public static final int UPDATETAGS_FIELD_NUMBER- See Also:
-
PREALLOCATEIDS_FIELD_NUMBER
public static final int PREALLOCATEIDS_FIELD_NUMBER- See Also:
-
CREATEPREALLOCATEDOBJECTS_FIELD_NUMBER
public static final int CREATEPREALLOCATEDOBJECTS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getTenant
* Tenant code for the requested operation, always required.
string tenant = 1;- Specified by:
getTenantin interfaceMetadataWriteBatchRequestOrBuilder- Returns:
- The tenant.
-
getTenantBytes
public com.google.protobuf.ByteString getTenantBytes()* Tenant code for the requested operation, always required.
string tenant = 1;- Specified by:
getTenantBytesin interfaceMetadataWriteBatchRequestOrBuilder- Returns:
- The bytes for tenant.
-
getCreateObjectsList
* Requests to be processed using createObject()
repeated .tracdap.api.MetadataWriteRequest createObjects = 2;- Specified by:
getCreateObjectsListin interfaceMetadataWriteBatchRequestOrBuilder
-
getCreateObjectsOrBuilderList
* Requests to be processed using createObject()
repeated .tracdap.api.MetadataWriteRequest createObjects = 2;- Specified by:
getCreateObjectsOrBuilderListin interfaceMetadataWriteBatchRequestOrBuilder
-
getCreateObjectsCount
public int getCreateObjectsCount()* Requests to be processed using createObject()
repeated .tracdap.api.MetadataWriteRequest createObjects = 2;- Specified by:
getCreateObjectsCountin interfaceMetadataWriteBatchRequestOrBuilder
-
getCreateObjects
* Requests to be processed using createObject()
repeated .tracdap.api.MetadataWriteRequest createObjects = 2;- Specified by:
getCreateObjectsin interfaceMetadataWriteBatchRequestOrBuilder
-
getCreateObjectsOrBuilder
* Requests to be processed using createObject()
repeated .tracdap.api.MetadataWriteRequest createObjects = 2;- Specified by:
getCreateObjectsOrBuilderin interfaceMetadataWriteBatchRequestOrBuilder
-
getUpdateObjectsList
* Requests to be processed using updateObject()
repeated .tracdap.api.MetadataWriteRequest updateObjects = 3;- Specified by:
getUpdateObjectsListin interfaceMetadataWriteBatchRequestOrBuilder
-
getUpdateObjectsOrBuilderList
* Requests to be processed using updateObject()
repeated .tracdap.api.MetadataWriteRequest updateObjects = 3;- Specified by:
getUpdateObjectsOrBuilderListin interfaceMetadataWriteBatchRequestOrBuilder
-
getUpdateObjectsCount
public int getUpdateObjectsCount()* Requests to be processed using updateObject()
repeated .tracdap.api.MetadataWriteRequest updateObjects = 3;- Specified by:
getUpdateObjectsCountin interfaceMetadataWriteBatchRequestOrBuilder
-
getUpdateObjects
* Requests to be processed using updateObject()
repeated .tracdap.api.MetadataWriteRequest updateObjects = 3;- Specified by:
getUpdateObjectsin interfaceMetadataWriteBatchRequestOrBuilder
-
getUpdateObjectsOrBuilder
* Requests to be processed using updateObject()
repeated .tracdap.api.MetadataWriteRequest updateObjects = 3;- Specified by:
getUpdateObjectsOrBuilderin interfaceMetadataWriteBatchRequestOrBuilder
-
getUpdateTagsList
* Requests to be processed using updateTag()
repeated .tracdap.api.MetadataWriteRequest updateTags = 4;- Specified by:
getUpdateTagsListin interfaceMetadataWriteBatchRequestOrBuilder
-
getUpdateTagsOrBuilderList
* Requests to be processed using updateTag()
repeated .tracdap.api.MetadataWriteRequest updateTags = 4;- Specified by:
getUpdateTagsOrBuilderListin interfaceMetadataWriteBatchRequestOrBuilder
-
getUpdateTagsCount
public int getUpdateTagsCount()* Requests to be processed using updateTag()
repeated .tracdap.api.MetadataWriteRequest updateTags = 4;- Specified by:
getUpdateTagsCountin interfaceMetadataWriteBatchRequestOrBuilder
-
getUpdateTags
* Requests to be processed using updateTag()
repeated .tracdap.api.MetadataWriteRequest updateTags = 4;- Specified by:
getUpdateTagsin interfaceMetadataWriteBatchRequestOrBuilder
-
getUpdateTagsOrBuilder
* Requests to be processed using updateTag()
repeated .tracdap.api.MetadataWriteRequest updateTags = 4;- Specified by:
getUpdateTagsOrBuilderin interfaceMetadataWriteBatchRequestOrBuilder
-
getPreallocateIdsList
* Requests to be processed using preallocateId() This request type is only available in the internal metadata API.
repeated .tracdap.api.MetadataWriteRequest preallocateIds = 5;- Specified by:
getPreallocateIdsListin interfaceMetadataWriteBatchRequestOrBuilder
-
getPreallocateIdsOrBuilderList
* Requests to be processed using preallocateId() This request type is only available in the internal metadata API.
repeated .tracdap.api.MetadataWriteRequest preallocateIds = 5;- Specified by:
getPreallocateIdsOrBuilderListin interfaceMetadataWriteBatchRequestOrBuilder
-
getPreallocateIdsCount
public int getPreallocateIdsCount()* Requests to be processed using preallocateId() This request type is only available in the internal metadata API.
repeated .tracdap.api.MetadataWriteRequest preallocateIds = 5;- Specified by:
getPreallocateIdsCountin interfaceMetadataWriteBatchRequestOrBuilder
-
getPreallocateIds
* Requests to be processed using preallocateId() This request type is only available in the internal metadata API.
repeated .tracdap.api.MetadataWriteRequest preallocateIds = 5;- Specified by:
getPreallocateIdsin interfaceMetadataWriteBatchRequestOrBuilder
-
getPreallocateIdsOrBuilder
* Requests to be processed using preallocateId() This request type is only available in the internal metadata API.
repeated .tracdap.api.MetadataWriteRequest preallocateIds = 5;- Specified by:
getPreallocateIdsOrBuilderin interfaceMetadataWriteBatchRequestOrBuilder
-
getCreatePreallocatedObjectsList
* Requests to be processed using createPreallocatedObject() This request type is only available in the internal metadata API.
repeated .tracdap.api.MetadataWriteRequest createPreallocatedObjects = 6;- Specified by:
getCreatePreallocatedObjectsListin interfaceMetadataWriteBatchRequestOrBuilder
-
getCreatePreallocatedObjectsOrBuilderList
* Requests to be processed using createPreallocatedObject() This request type is only available in the internal metadata API.
repeated .tracdap.api.MetadataWriteRequest createPreallocatedObjects = 6;- Specified by:
getCreatePreallocatedObjectsOrBuilderListin interfaceMetadataWriteBatchRequestOrBuilder
-
getCreatePreallocatedObjectsCount
public int getCreatePreallocatedObjectsCount()* Requests to be processed using createPreallocatedObject() This request type is only available in the internal metadata API.
repeated .tracdap.api.MetadataWriteRequest createPreallocatedObjects = 6;- Specified by:
getCreatePreallocatedObjectsCountin interfaceMetadataWriteBatchRequestOrBuilder
-
getCreatePreallocatedObjects
* Requests to be processed using createPreallocatedObject() This request type is only available in the internal metadata API.
repeated .tracdap.api.MetadataWriteRequest createPreallocatedObjects = 6;- Specified by:
getCreatePreallocatedObjectsin interfaceMetadataWriteBatchRequestOrBuilder
-
getCreatePreallocatedObjectsOrBuilder
* Requests to be processed using createPreallocatedObject() This request type is only available in the internal metadata API.
repeated .tracdap.api.MetadataWriteRequest createPreallocatedObjects = 6;- Specified by:
getCreatePreallocatedObjectsOrBuilderin interfaceMetadataWriteBatchRequestOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static MetadataWriteBatchRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MetadataWriteBatchRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MetadataWriteBatchRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MetadataWriteBatchRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MetadataWriteBatchRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MetadataWriteBatchRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static MetadataWriteBatchRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static MetadataWriteBatchRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static MetadataWriteBatchRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static MetadataWriteBatchRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MetadataWriteBatchRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-