org.finos.tracdap.api.MetadataWriteBatchRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tracdap-api-services Show documentation
Show all versions of tracdap-api-services Show documentation
TRAC D.A.P. platform API, contains service API definitions for the TRAC platform services
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: tracdap/api/metadata.proto
// Protobuf Java Version: 4.28.2
package org.finos.tracdap.api;
/**
*
* *
* Request to create or update a batch of objects in the TRAC metadata store.
*
* @see TracMetadataApi
*
*
* Protobuf type {@code tracdap.api.MetadataWriteBatchRequest}
*/
public final class MetadataWriteBatchRequest extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:tracdap.api.MetadataWriteBatchRequest)
MetadataWriteBatchRequestOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 2,
/* suffix= */ "",
MetadataWriteBatchRequest.class.getName());
}
// Use MetadataWriteBatchRequest.newBuilder() to construct.
private MetadataWriteBatchRequest(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private MetadataWriteBatchRequest() {
tenant_ = "";
createObjects_ = java.util.Collections.emptyList();
updateObjects_ = java.util.Collections.emptyList();
updateTags_ = java.util.Collections.emptyList();
preallocateIds_ = java.util.Collections.emptyList();
createPreallocatedObjects_ = java.util.Collections.emptyList();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.finos.tracdap.api.Metadata.internal_static_tracdap_api_MetadataWriteBatchRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.finos.tracdap.api.Metadata.internal_static_tracdap_api_MetadataWriteBatchRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.finos.tracdap.api.MetadataWriteBatchRequest.class, org.finos.tracdap.api.MetadataWriteBatchRequest.Builder.class);
}
public static final int TENANT_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object tenant_ = "";
/**
*
* *
* Tenant code for the requested operation, always required.
*
*
* string tenant = 1;
* @return The tenant.
*/
@java.lang.Override
public java.lang.String getTenant() {
java.lang.Object ref = tenant_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
tenant_ = s;
return s;
}
}
/**
*
* *
* Tenant code for the requested operation, always required.
*
*
* string tenant = 1;
* @return The bytes for tenant.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTenantBytes() {
java.lang.Object ref = tenant_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
tenant_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CREATEOBJECTS_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private java.util.List createObjects_;
/**
*
* *
* Requests to be processed using createObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest createObjects = 2;
*/
@java.lang.Override
public java.util.List getCreateObjectsList() {
return createObjects_;
}
/**
*
* *
* Requests to be processed using createObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest createObjects = 2;
*/
@java.lang.Override
public java.util.List extends org.finos.tracdap.api.MetadataWriteRequestOrBuilder>
getCreateObjectsOrBuilderList() {
return createObjects_;
}
/**
*
* *
* Requests to be processed using createObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest createObjects = 2;
*/
@java.lang.Override
public int getCreateObjectsCount() {
return createObjects_.size();
}
/**
*
* *
* Requests to be processed using createObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest createObjects = 2;
*/
@java.lang.Override
public org.finos.tracdap.api.MetadataWriteRequest getCreateObjects(int index) {
return createObjects_.get(index);
}
/**
*
* *
* Requests to be processed using createObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest createObjects = 2;
*/
@java.lang.Override
public org.finos.tracdap.api.MetadataWriteRequestOrBuilder getCreateObjectsOrBuilder(
int index) {
return createObjects_.get(index);
}
public static final int UPDATEOBJECTS_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private java.util.List updateObjects_;
/**
*
* *
* Requests to be processed using updateObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateObjects = 3;
*/
@java.lang.Override
public java.util.List getUpdateObjectsList() {
return updateObjects_;
}
/**
*
* *
* Requests to be processed using updateObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateObjects = 3;
*/
@java.lang.Override
public java.util.List extends org.finos.tracdap.api.MetadataWriteRequestOrBuilder>
getUpdateObjectsOrBuilderList() {
return updateObjects_;
}
/**
*
* *
* Requests to be processed using updateObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateObjects = 3;
*/
@java.lang.Override
public int getUpdateObjectsCount() {
return updateObjects_.size();
}
/**
*
* *
* Requests to be processed using updateObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateObjects = 3;
*/
@java.lang.Override
public org.finos.tracdap.api.MetadataWriteRequest getUpdateObjects(int index) {
return updateObjects_.get(index);
}
/**
*
* *
* Requests to be processed using updateObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateObjects = 3;
*/
@java.lang.Override
public org.finos.tracdap.api.MetadataWriteRequestOrBuilder getUpdateObjectsOrBuilder(
int index) {
return updateObjects_.get(index);
}
public static final int UPDATETAGS_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private java.util.List updateTags_;
/**
*
* *
* Requests to be processed using updateTag()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateTags = 4;
*/
@java.lang.Override
public java.util.List getUpdateTagsList() {
return updateTags_;
}
/**
*
* *
* Requests to be processed using updateTag()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateTags = 4;
*/
@java.lang.Override
public java.util.List extends org.finos.tracdap.api.MetadataWriteRequestOrBuilder>
getUpdateTagsOrBuilderList() {
return updateTags_;
}
/**
*
* *
* Requests to be processed using updateTag()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateTags = 4;
*/
@java.lang.Override
public int getUpdateTagsCount() {
return updateTags_.size();
}
/**
*
* *
* Requests to be processed using updateTag()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateTags = 4;
*/
@java.lang.Override
public org.finos.tracdap.api.MetadataWriteRequest getUpdateTags(int index) {
return updateTags_.get(index);
}
/**
*
* *
* Requests to be processed using updateTag()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateTags = 4;
*/
@java.lang.Override
public org.finos.tracdap.api.MetadataWriteRequestOrBuilder getUpdateTagsOrBuilder(
int index) {
return updateTags_.get(index);
}
public static final int PREALLOCATEIDS_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private java.util.List preallocateIds_;
/**
*
* *
* Requests to be processed using preallocateId()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest preallocateIds = 5;
*/
@java.lang.Override
public java.util.List getPreallocateIdsList() {
return preallocateIds_;
}
/**
*
* *
* Requests to be processed using preallocateId()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest preallocateIds = 5;
*/
@java.lang.Override
public java.util.List extends org.finos.tracdap.api.MetadataWriteRequestOrBuilder>
getPreallocateIdsOrBuilderList() {
return preallocateIds_;
}
/**
*
* *
* Requests to be processed using preallocateId()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest preallocateIds = 5;
*/
@java.lang.Override
public int getPreallocateIdsCount() {
return preallocateIds_.size();
}
/**
*
* *
* Requests to be processed using preallocateId()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest preallocateIds = 5;
*/
@java.lang.Override
public org.finos.tracdap.api.MetadataWriteRequest getPreallocateIds(int index) {
return preallocateIds_.get(index);
}
/**
*
* *
* Requests to be processed using preallocateId()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest preallocateIds = 5;
*/
@java.lang.Override
public org.finos.tracdap.api.MetadataWriteRequestOrBuilder getPreallocateIdsOrBuilder(
int index) {
return preallocateIds_.get(index);
}
public static final int CREATEPREALLOCATEDOBJECTS_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private java.util.List createPreallocatedObjects_;
/**
*
* *
* Requests to be processed using createPreallocatedObject()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest createPreallocatedObjects = 6;
*/
@java.lang.Override
public java.util.List getCreatePreallocatedObjectsList() {
return createPreallocatedObjects_;
}
/**
*
* *
* Requests to be processed using createPreallocatedObject()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest createPreallocatedObjects = 6;
*/
@java.lang.Override
public java.util.List extends org.finos.tracdap.api.MetadataWriteRequestOrBuilder>
getCreatePreallocatedObjectsOrBuilderList() {
return createPreallocatedObjects_;
}
/**
*
* *
* Requests to be processed using createPreallocatedObject()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest createPreallocatedObjects = 6;
*/
@java.lang.Override
public int getCreatePreallocatedObjectsCount() {
return createPreallocatedObjects_.size();
}
/**
*
* *
* Requests to be processed using createPreallocatedObject()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest createPreallocatedObjects = 6;
*/
@java.lang.Override
public org.finos.tracdap.api.MetadataWriteRequest getCreatePreallocatedObjects(int index) {
return createPreallocatedObjects_.get(index);
}
/**
*
* *
* Requests to be processed using createPreallocatedObject()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest createPreallocatedObjects = 6;
*/
@java.lang.Override
public org.finos.tracdap.api.MetadataWriteRequestOrBuilder getCreatePreallocatedObjectsOrBuilder(
int index) {
return createPreallocatedObjects_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenant_)) {
com.google.protobuf.GeneratedMessage.writeString(output, 1, tenant_);
}
for (int i = 0; i < createObjects_.size(); i++) {
output.writeMessage(2, createObjects_.get(i));
}
for (int i = 0; i < updateObjects_.size(); i++) {
output.writeMessage(3, updateObjects_.get(i));
}
for (int i = 0; i < updateTags_.size(); i++) {
output.writeMessage(4, updateTags_.get(i));
}
for (int i = 0; i < preallocateIds_.size(); i++) {
output.writeMessage(5, preallocateIds_.get(i));
}
for (int i = 0; i < createPreallocatedObjects_.size(); i++) {
output.writeMessage(6, createPreallocatedObjects_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenant_)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(1, tenant_);
}
for (int i = 0; i < createObjects_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, createObjects_.get(i));
}
for (int i = 0; i < updateObjects_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, updateObjects_.get(i));
}
for (int i = 0; i < updateTags_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, updateTags_.get(i));
}
for (int i = 0; i < preallocateIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, preallocateIds_.get(i));
}
for (int i = 0; i < createPreallocatedObjects_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, createPreallocatedObjects_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.finos.tracdap.api.MetadataWriteBatchRequest)) {
return super.equals(obj);
}
org.finos.tracdap.api.MetadataWriteBatchRequest other = (org.finos.tracdap.api.MetadataWriteBatchRequest) obj;
if (!getTenant()
.equals(other.getTenant())) return false;
if (!getCreateObjectsList()
.equals(other.getCreateObjectsList())) return false;
if (!getUpdateObjectsList()
.equals(other.getUpdateObjectsList())) return false;
if (!getUpdateTagsList()
.equals(other.getUpdateTagsList())) return false;
if (!getPreallocateIdsList()
.equals(other.getPreallocateIdsList())) return false;
if (!getCreatePreallocatedObjectsList()
.equals(other.getCreatePreallocatedObjectsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + TENANT_FIELD_NUMBER;
hash = (53 * hash) + getTenant().hashCode();
if (getCreateObjectsCount() > 0) {
hash = (37 * hash) + CREATEOBJECTS_FIELD_NUMBER;
hash = (53 * hash) + getCreateObjectsList().hashCode();
}
if (getUpdateObjectsCount() > 0) {
hash = (37 * hash) + UPDATEOBJECTS_FIELD_NUMBER;
hash = (53 * hash) + getUpdateObjectsList().hashCode();
}
if (getUpdateTagsCount() > 0) {
hash = (37 * hash) + UPDATETAGS_FIELD_NUMBER;
hash = (53 * hash) + getUpdateTagsList().hashCode();
}
if (getPreallocateIdsCount() > 0) {
hash = (37 * hash) + PREALLOCATEIDS_FIELD_NUMBER;
hash = (53 * hash) + getPreallocateIdsList().hashCode();
}
if (getCreatePreallocatedObjectsCount() > 0) {
hash = (37 * hash) + CREATEPREALLOCATEDOBJECTS_FIELD_NUMBER;
hash = (53 * hash) + getCreatePreallocatedObjectsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.finos.tracdap.api.MetadataWriteBatchRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.finos.tracdap.api.MetadataWriteBatchRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.finos.tracdap.api.MetadataWriteBatchRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.finos.tracdap.api.MetadataWriteBatchRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.finos.tracdap.api.MetadataWriteBatchRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.finos.tracdap.api.MetadataWriteBatchRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.finos.tracdap.api.MetadataWriteBatchRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static org.finos.tracdap.api.MetadataWriteBatchRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.finos.tracdap.api.MetadataWriteBatchRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static org.finos.tracdap.api.MetadataWriteBatchRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.finos.tracdap.api.MetadataWriteBatchRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static org.finos.tracdap.api.MetadataWriteBatchRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.finos.tracdap.api.MetadataWriteBatchRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* *
* Request to create or update a batch of objects in the TRAC metadata store.
*
* @see TracMetadataApi
*
*
* Protobuf type {@code tracdap.api.MetadataWriteBatchRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:tracdap.api.MetadataWriteBatchRequest)
org.finos.tracdap.api.MetadataWriteBatchRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.finos.tracdap.api.Metadata.internal_static_tracdap_api_MetadataWriteBatchRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.finos.tracdap.api.Metadata.internal_static_tracdap_api_MetadataWriteBatchRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.finos.tracdap.api.MetadataWriteBatchRequest.class, org.finos.tracdap.api.MetadataWriteBatchRequest.Builder.class);
}
// Construct using org.finos.tracdap.api.MetadataWriteBatchRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
tenant_ = "";
if (createObjectsBuilder_ == null) {
createObjects_ = java.util.Collections.emptyList();
} else {
createObjects_ = null;
createObjectsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
if (updateObjectsBuilder_ == null) {
updateObjects_ = java.util.Collections.emptyList();
} else {
updateObjects_ = null;
updateObjectsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
if (updateTagsBuilder_ == null) {
updateTags_ = java.util.Collections.emptyList();
} else {
updateTags_ = null;
updateTagsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
if (preallocateIdsBuilder_ == null) {
preallocateIds_ = java.util.Collections.emptyList();
} else {
preallocateIds_ = null;
preallocateIdsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
if (createPreallocatedObjectsBuilder_ == null) {
createPreallocatedObjects_ = java.util.Collections.emptyList();
} else {
createPreallocatedObjects_ = null;
createPreallocatedObjectsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.finos.tracdap.api.Metadata.internal_static_tracdap_api_MetadataWriteBatchRequest_descriptor;
}
@java.lang.Override
public org.finos.tracdap.api.MetadataWriteBatchRequest getDefaultInstanceForType() {
return org.finos.tracdap.api.MetadataWriteBatchRequest.getDefaultInstance();
}
@java.lang.Override
public org.finos.tracdap.api.MetadataWriteBatchRequest build() {
org.finos.tracdap.api.MetadataWriteBatchRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.finos.tracdap.api.MetadataWriteBatchRequest buildPartial() {
org.finos.tracdap.api.MetadataWriteBatchRequest result = new org.finos.tracdap.api.MetadataWriteBatchRequest(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(org.finos.tracdap.api.MetadataWriteBatchRequest result) {
if (createObjectsBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
createObjects_ = java.util.Collections.unmodifiableList(createObjects_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.createObjects_ = createObjects_;
} else {
result.createObjects_ = createObjectsBuilder_.build();
}
if (updateObjectsBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
updateObjects_ = java.util.Collections.unmodifiableList(updateObjects_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.updateObjects_ = updateObjects_;
} else {
result.updateObjects_ = updateObjectsBuilder_.build();
}
if (updateTagsBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0)) {
updateTags_ = java.util.Collections.unmodifiableList(updateTags_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.updateTags_ = updateTags_;
} else {
result.updateTags_ = updateTagsBuilder_.build();
}
if (preallocateIdsBuilder_ == null) {
if (((bitField0_ & 0x00000010) != 0)) {
preallocateIds_ = java.util.Collections.unmodifiableList(preallocateIds_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.preallocateIds_ = preallocateIds_;
} else {
result.preallocateIds_ = preallocateIdsBuilder_.build();
}
if (createPreallocatedObjectsBuilder_ == null) {
if (((bitField0_ & 0x00000020) != 0)) {
createPreallocatedObjects_ = java.util.Collections.unmodifiableList(createPreallocatedObjects_);
bitField0_ = (bitField0_ & ~0x00000020);
}
result.createPreallocatedObjects_ = createPreallocatedObjects_;
} else {
result.createPreallocatedObjects_ = createPreallocatedObjectsBuilder_.build();
}
}
private void buildPartial0(org.finos.tracdap.api.MetadataWriteBatchRequest result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.tenant_ = tenant_;
}
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.finos.tracdap.api.MetadataWriteBatchRequest) {
return mergeFrom((org.finos.tracdap.api.MetadataWriteBatchRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.finos.tracdap.api.MetadataWriteBatchRequest other) {
if (other == org.finos.tracdap.api.MetadataWriteBatchRequest.getDefaultInstance()) return this;
if (!other.getTenant().isEmpty()) {
tenant_ = other.tenant_;
bitField0_ |= 0x00000001;
onChanged();
}
if (createObjectsBuilder_ == null) {
if (!other.createObjects_.isEmpty()) {
if (createObjects_.isEmpty()) {
createObjects_ = other.createObjects_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureCreateObjectsIsMutable();
createObjects_.addAll(other.createObjects_);
}
onChanged();
}
} else {
if (!other.createObjects_.isEmpty()) {
if (createObjectsBuilder_.isEmpty()) {
createObjectsBuilder_.dispose();
createObjectsBuilder_ = null;
createObjects_ = other.createObjects_;
bitField0_ = (bitField0_ & ~0x00000002);
createObjectsBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getCreateObjectsFieldBuilder() : null;
} else {
createObjectsBuilder_.addAllMessages(other.createObjects_);
}
}
}
if (updateObjectsBuilder_ == null) {
if (!other.updateObjects_.isEmpty()) {
if (updateObjects_.isEmpty()) {
updateObjects_ = other.updateObjects_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureUpdateObjectsIsMutable();
updateObjects_.addAll(other.updateObjects_);
}
onChanged();
}
} else {
if (!other.updateObjects_.isEmpty()) {
if (updateObjectsBuilder_.isEmpty()) {
updateObjectsBuilder_.dispose();
updateObjectsBuilder_ = null;
updateObjects_ = other.updateObjects_;
bitField0_ = (bitField0_ & ~0x00000004);
updateObjectsBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getUpdateObjectsFieldBuilder() : null;
} else {
updateObjectsBuilder_.addAllMessages(other.updateObjects_);
}
}
}
if (updateTagsBuilder_ == null) {
if (!other.updateTags_.isEmpty()) {
if (updateTags_.isEmpty()) {
updateTags_ = other.updateTags_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureUpdateTagsIsMutable();
updateTags_.addAll(other.updateTags_);
}
onChanged();
}
} else {
if (!other.updateTags_.isEmpty()) {
if (updateTagsBuilder_.isEmpty()) {
updateTagsBuilder_.dispose();
updateTagsBuilder_ = null;
updateTags_ = other.updateTags_;
bitField0_ = (bitField0_ & ~0x00000008);
updateTagsBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getUpdateTagsFieldBuilder() : null;
} else {
updateTagsBuilder_.addAllMessages(other.updateTags_);
}
}
}
if (preallocateIdsBuilder_ == null) {
if (!other.preallocateIds_.isEmpty()) {
if (preallocateIds_.isEmpty()) {
preallocateIds_ = other.preallocateIds_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensurePreallocateIdsIsMutable();
preallocateIds_.addAll(other.preallocateIds_);
}
onChanged();
}
} else {
if (!other.preallocateIds_.isEmpty()) {
if (preallocateIdsBuilder_.isEmpty()) {
preallocateIdsBuilder_.dispose();
preallocateIdsBuilder_ = null;
preallocateIds_ = other.preallocateIds_;
bitField0_ = (bitField0_ & ~0x00000010);
preallocateIdsBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getPreallocateIdsFieldBuilder() : null;
} else {
preallocateIdsBuilder_.addAllMessages(other.preallocateIds_);
}
}
}
if (createPreallocatedObjectsBuilder_ == null) {
if (!other.createPreallocatedObjects_.isEmpty()) {
if (createPreallocatedObjects_.isEmpty()) {
createPreallocatedObjects_ = other.createPreallocatedObjects_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureCreatePreallocatedObjectsIsMutable();
createPreallocatedObjects_.addAll(other.createPreallocatedObjects_);
}
onChanged();
}
} else {
if (!other.createPreallocatedObjects_.isEmpty()) {
if (createPreallocatedObjectsBuilder_.isEmpty()) {
createPreallocatedObjectsBuilder_.dispose();
createPreallocatedObjectsBuilder_ = null;
createPreallocatedObjects_ = other.createPreallocatedObjects_;
bitField0_ = (bitField0_ & ~0x00000020);
createPreallocatedObjectsBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getCreatePreallocatedObjectsFieldBuilder() : null;
} else {
createPreallocatedObjectsBuilder_.addAllMessages(other.createPreallocatedObjects_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
tenant_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
org.finos.tracdap.api.MetadataWriteRequest m =
input.readMessage(
org.finos.tracdap.api.MetadataWriteRequest.parser(),
extensionRegistry);
if (createObjectsBuilder_ == null) {
ensureCreateObjectsIsMutable();
createObjects_.add(m);
} else {
createObjectsBuilder_.addMessage(m);
}
break;
} // case 18
case 26: {
org.finos.tracdap.api.MetadataWriteRequest m =
input.readMessage(
org.finos.tracdap.api.MetadataWriteRequest.parser(),
extensionRegistry);
if (updateObjectsBuilder_ == null) {
ensureUpdateObjectsIsMutable();
updateObjects_.add(m);
} else {
updateObjectsBuilder_.addMessage(m);
}
break;
} // case 26
case 34: {
org.finos.tracdap.api.MetadataWriteRequest m =
input.readMessage(
org.finos.tracdap.api.MetadataWriteRequest.parser(),
extensionRegistry);
if (updateTagsBuilder_ == null) {
ensureUpdateTagsIsMutable();
updateTags_.add(m);
} else {
updateTagsBuilder_.addMessage(m);
}
break;
} // case 34
case 42: {
org.finos.tracdap.api.MetadataWriteRequest m =
input.readMessage(
org.finos.tracdap.api.MetadataWriteRequest.parser(),
extensionRegistry);
if (preallocateIdsBuilder_ == null) {
ensurePreallocateIdsIsMutable();
preallocateIds_.add(m);
} else {
preallocateIdsBuilder_.addMessage(m);
}
break;
} // case 42
case 50: {
org.finos.tracdap.api.MetadataWriteRequest m =
input.readMessage(
org.finos.tracdap.api.MetadataWriteRequest.parser(),
extensionRegistry);
if (createPreallocatedObjectsBuilder_ == null) {
ensureCreatePreallocatedObjectsIsMutable();
createPreallocatedObjects_.add(m);
} else {
createPreallocatedObjectsBuilder_.addMessage(m);
}
break;
} // case 50
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object tenant_ = "";
/**
*
* *
* Tenant code for the requested operation, always required.
*
*
* string tenant = 1;
* @return The tenant.
*/
public java.lang.String getTenant() {
java.lang.Object ref = tenant_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
tenant_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* *
* Tenant code for the requested operation, always required.
*
*
* string tenant = 1;
* @return The bytes for tenant.
*/
public com.google.protobuf.ByteString
getTenantBytes() {
java.lang.Object ref = tenant_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
tenant_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* *
* Tenant code for the requested operation, always required.
*
*
* string tenant = 1;
* @param value The tenant to set.
* @return This builder for chaining.
*/
public Builder setTenant(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
tenant_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* *
* Tenant code for the requested operation, always required.
*
*
* string tenant = 1;
* @return This builder for chaining.
*/
public Builder clearTenant() {
tenant_ = getDefaultInstance().getTenant();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
*
* *
* Tenant code for the requested operation, always required.
*
*
* string tenant = 1;
* @param value The bytes for tenant to set.
* @return This builder for chaining.
*/
public Builder setTenantBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
tenant_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.util.List createObjects_ =
java.util.Collections.emptyList();
private void ensureCreateObjectsIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
createObjects_ = new java.util.ArrayList(createObjects_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
org.finos.tracdap.api.MetadataWriteRequest, org.finos.tracdap.api.MetadataWriteRequest.Builder, org.finos.tracdap.api.MetadataWriteRequestOrBuilder> createObjectsBuilder_;
/**
*
* *
* Requests to be processed using createObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest createObjects = 2;
*/
public java.util.List getCreateObjectsList() {
if (createObjectsBuilder_ == null) {
return java.util.Collections.unmodifiableList(createObjects_);
} else {
return createObjectsBuilder_.getMessageList();
}
}
/**
*
* *
* Requests to be processed using createObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest createObjects = 2;
*/
public int getCreateObjectsCount() {
if (createObjectsBuilder_ == null) {
return createObjects_.size();
} else {
return createObjectsBuilder_.getCount();
}
}
/**
*
* *
* Requests to be processed using createObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest createObjects = 2;
*/
public org.finos.tracdap.api.MetadataWriteRequest getCreateObjects(int index) {
if (createObjectsBuilder_ == null) {
return createObjects_.get(index);
} else {
return createObjectsBuilder_.getMessage(index);
}
}
/**
*
* *
* Requests to be processed using createObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest createObjects = 2;
*/
public Builder setCreateObjects(
int index, org.finos.tracdap.api.MetadataWriteRequest value) {
if (createObjectsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCreateObjectsIsMutable();
createObjects_.set(index, value);
onChanged();
} else {
createObjectsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* *
* Requests to be processed using createObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest createObjects = 2;
*/
public Builder setCreateObjects(
int index, org.finos.tracdap.api.MetadataWriteRequest.Builder builderForValue) {
if (createObjectsBuilder_ == null) {
ensureCreateObjectsIsMutable();
createObjects_.set(index, builderForValue.build());
onChanged();
} else {
createObjectsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* *
* Requests to be processed using createObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest createObjects = 2;
*/
public Builder addCreateObjects(org.finos.tracdap.api.MetadataWriteRequest value) {
if (createObjectsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCreateObjectsIsMutable();
createObjects_.add(value);
onChanged();
} else {
createObjectsBuilder_.addMessage(value);
}
return this;
}
/**
*
* *
* Requests to be processed using createObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest createObjects = 2;
*/
public Builder addCreateObjects(
int index, org.finos.tracdap.api.MetadataWriteRequest value) {
if (createObjectsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCreateObjectsIsMutable();
createObjects_.add(index, value);
onChanged();
} else {
createObjectsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* *
* Requests to be processed using createObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest createObjects = 2;
*/
public Builder addCreateObjects(
org.finos.tracdap.api.MetadataWriteRequest.Builder builderForValue) {
if (createObjectsBuilder_ == null) {
ensureCreateObjectsIsMutable();
createObjects_.add(builderForValue.build());
onChanged();
} else {
createObjectsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* *
* Requests to be processed using createObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest createObjects = 2;
*/
public Builder addCreateObjects(
int index, org.finos.tracdap.api.MetadataWriteRequest.Builder builderForValue) {
if (createObjectsBuilder_ == null) {
ensureCreateObjectsIsMutable();
createObjects_.add(index, builderForValue.build());
onChanged();
} else {
createObjectsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* *
* Requests to be processed using createObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest createObjects = 2;
*/
public Builder addAllCreateObjects(
java.lang.Iterable extends org.finos.tracdap.api.MetadataWriteRequest> values) {
if (createObjectsBuilder_ == null) {
ensureCreateObjectsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, createObjects_);
onChanged();
} else {
createObjectsBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* *
* Requests to be processed using createObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest createObjects = 2;
*/
public Builder clearCreateObjects() {
if (createObjectsBuilder_ == null) {
createObjects_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
createObjectsBuilder_.clear();
}
return this;
}
/**
*
* *
* Requests to be processed using createObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest createObjects = 2;
*/
public Builder removeCreateObjects(int index) {
if (createObjectsBuilder_ == null) {
ensureCreateObjectsIsMutable();
createObjects_.remove(index);
onChanged();
} else {
createObjectsBuilder_.remove(index);
}
return this;
}
/**
*
* *
* Requests to be processed using createObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest createObjects = 2;
*/
public org.finos.tracdap.api.MetadataWriteRequest.Builder getCreateObjectsBuilder(
int index) {
return getCreateObjectsFieldBuilder().getBuilder(index);
}
/**
*
* *
* Requests to be processed using createObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest createObjects = 2;
*/
public org.finos.tracdap.api.MetadataWriteRequestOrBuilder getCreateObjectsOrBuilder(
int index) {
if (createObjectsBuilder_ == null) {
return createObjects_.get(index); } else {
return createObjectsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* *
* Requests to be processed using createObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest createObjects = 2;
*/
public java.util.List extends org.finos.tracdap.api.MetadataWriteRequestOrBuilder>
getCreateObjectsOrBuilderList() {
if (createObjectsBuilder_ != null) {
return createObjectsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(createObjects_);
}
}
/**
*
* *
* Requests to be processed using createObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest createObjects = 2;
*/
public org.finos.tracdap.api.MetadataWriteRequest.Builder addCreateObjectsBuilder() {
return getCreateObjectsFieldBuilder().addBuilder(
org.finos.tracdap.api.MetadataWriteRequest.getDefaultInstance());
}
/**
*
* *
* Requests to be processed using createObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest createObjects = 2;
*/
public org.finos.tracdap.api.MetadataWriteRequest.Builder addCreateObjectsBuilder(
int index) {
return getCreateObjectsFieldBuilder().addBuilder(
index, org.finos.tracdap.api.MetadataWriteRequest.getDefaultInstance());
}
/**
*
* *
* Requests to be processed using createObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest createObjects = 2;
*/
public java.util.List
getCreateObjectsBuilderList() {
return getCreateObjectsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
org.finos.tracdap.api.MetadataWriteRequest, org.finos.tracdap.api.MetadataWriteRequest.Builder, org.finos.tracdap.api.MetadataWriteRequestOrBuilder>
getCreateObjectsFieldBuilder() {
if (createObjectsBuilder_ == null) {
createObjectsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
org.finos.tracdap.api.MetadataWriteRequest, org.finos.tracdap.api.MetadataWriteRequest.Builder, org.finos.tracdap.api.MetadataWriteRequestOrBuilder>(
createObjects_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
createObjects_ = null;
}
return createObjectsBuilder_;
}
private java.util.List updateObjects_ =
java.util.Collections.emptyList();
private void ensureUpdateObjectsIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
updateObjects_ = new java.util.ArrayList(updateObjects_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
org.finos.tracdap.api.MetadataWriteRequest, org.finos.tracdap.api.MetadataWriteRequest.Builder, org.finos.tracdap.api.MetadataWriteRequestOrBuilder> updateObjectsBuilder_;
/**
*
* *
* Requests to be processed using updateObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateObjects = 3;
*/
public java.util.List getUpdateObjectsList() {
if (updateObjectsBuilder_ == null) {
return java.util.Collections.unmodifiableList(updateObjects_);
} else {
return updateObjectsBuilder_.getMessageList();
}
}
/**
*
* *
* Requests to be processed using updateObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateObjects = 3;
*/
public int getUpdateObjectsCount() {
if (updateObjectsBuilder_ == null) {
return updateObjects_.size();
} else {
return updateObjectsBuilder_.getCount();
}
}
/**
*
* *
* Requests to be processed using updateObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateObjects = 3;
*/
public org.finos.tracdap.api.MetadataWriteRequest getUpdateObjects(int index) {
if (updateObjectsBuilder_ == null) {
return updateObjects_.get(index);
} else {
return updateObjectsBuilder_.getMessage(index);
}
}
/**
*
* *
* Requests to be processed using updateObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateObjects = 3;
*/
public Builder setUpdateObjects(
int index, org.finos.tracdap.api.MetadataWriteRequest value) {
if (updateObjectsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUpdateObjectsIsMutable();
updateObjects_.set(index, value);
onChanged();
} else {
updateObjectsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* *
* Requests to be processed using updateObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateObjects = 3;
*/
public Builder setUpdateObjects(
int index, org.finos.tracdap.api.MetadataWriteRequest.Builder builderForValue) {
if (updateObjectsBuilder_ == null) {
ensureUpdateObjectsIsMutable();
updateObjects_.set(index, builderForValue.build());
onChanged();
} else {
updateObjectsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* *
* Requests to be processed using updateObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateObjects = 3;
*/
public Builder addUpdateObjects(org.finos.tracdap.api.MetadataWriteRequest value) {
if (updateObjectsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUpdateObjectsIsMutable();
updateObjects_.add(value);
onChanged();
} else {
updateObjectsBuilder_.addMessage(value);
}
return this;
}
/**
*
* *
* Requests to be processed using updateObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateObjects = 3;
*/
public Builder addUpdateObjects(
int index, org.finos.tracdap.api.MetadataWriteRequest value) {
if (updateObjectsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUpdateObjectsIsMutable();
updateObjects_.add(index, value);
onChanged();
} else {
updateObjectsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* *
* Requests to be processed using updateObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateObjects = 3;
*/
public Builder addUpdateObjects(
org.finos.tracdap.api.MetadataWriteRequest.Builder builderForValue) {
if (updateObjectsBuilder_ == null) {
ensureUpdateObjectsIsMutable();
updateObjects_.add(builderForValue.build());
onChanged();
} else {
updateObjectsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* *
* Requests to be processed using updateObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateObjects = 3;
*/
public Builder addUpdateObjects(
int index, org.finos.tracdap.api.MetadataWriteRequest.Builder builderForValue) {
if (updateObjectsBuilder_ == null) {
ensureUpdateObjectsIsMutable();
updateObjects_.add(index, builderForValue.build());
onChanged();
} else {
updateObjectsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* *
* Requests to be processed using updateObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateObjects = 3;
*/
public Builder addAllUpdateObjects(
java.lang.Iterable extends org.finos.tracdap.api.MetadataWriteRequest> values) {
if (updateObjectsBuilder_ == null) {
ensureUpdateObjectsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, updateObjects_);
onChanged();
} else {
updateObjectsBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* *
* Requests to be processed using updateObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateObjects = 3;
*/
public Builder clearUpdateObjects() {
if (updateObjectsBuilder_ == null) {
updateObjects_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
updateObjectsBuilder_.clear();
}
return this;
}
/**
*
* *
* Requests to be processed using updateObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateObjects = 3;
*/
public Builder removeUpdateObjects(int index) {
if (updateObjectsBuilder_ == null) {
ensureUpdateObjectsIsMutable();
updateObjects_.remove(index);
onChanged();
} else {
updateObjectsBuilder_.remove(index);
}
return this;
}
/**
*
* *
* Requests to be processed using updateObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateObjects = 3;
*/
public org.finos.tracdap.api.MetadataWriteRequest.Builder getUpdateObjectsBuilder(
int index) {
return getUpdateObjectsFieldBuilder().getBuilder(index);
}
/**
*
* *
* Requests to be processed using updateObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateObjects = 3;
*/
public org.finos.tracdap.api.MetadataWriteRequestOrBuilder getUpdateObjectsOrBuilder(
int index) {
if (updateObjectsBuilder_ == null) {
return updateObjects_.get(index); } else {
return updateObjectsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* *
* Requests to be processed using updateObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateObjects = 3;
*/
public java.util.List extends org.finos.tracdap.api.MetadataWriteRequestOrBuilder>
getUpdateObjectsOrBuilderList() {
if (updateObjectsBuilder_ != null) {
return updateObjectsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(updateObjects_);
}
}
/**
*
* *
* Requests to be processed using updateObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateObjects = 3;
*/
public org.finos.tracdap.api.MetadataWriteRequest.Builder addUpdateObjectsBuilder() {
return getUpdateObjectsFieldBuilder().addBuilder(
org.finos.tracdap.api.MetadataWriteRequest.getDefaultInstance());
}
/**
*
* *
* Requests to be processed using updateObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateObjects = 3;
*/
public org.finos.tracdap.api.MetadataWriteRequest.Builder addUpdateObjectsBuilder(
int index) {
return getUpdateObjectsFieldBuilder().addBuilder(
index, org.finos.tracdap.api.MetadataWriteRequest.getDefaultInstance());
}
/**
*
* *
* Requests to be processed using updateObject()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateObjects = 3;
*/
public java.util.List
getUpdateObjectsBuilderList() {
return getUpdateObjectsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
org.finos.tracdap.api.MetadataWriteRequest, org.finos.tracdap.api.MetadataWriteRequest.Builder, org.finos.tracdap.api.MetadataWriteRequestOrBuilder>
getUpdateObjectsFieldBuilder() {
if (updateObjectsBuilder_ == null) {
updateObjectsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
org.finos.tracdap.api.MetadataWriteRequest, org.finos.tracdap.api.MetadataWriteRequest.Builder, org.finos.tracdap.api.MetadataWriteRequestOrBuilder>(
updateObjects_,
((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
updateObjects_ = null;
}
return updateObjectsBuilder_;
}
private java.util.List updateTags_ =
java.util.Collections.emptyList();
private void ensureUpdateTagsIsMutable() {
if (!((bitField0_ & 0x00000008) != 0)) {
updateTags_ = new java.util.ArrayList(updateTags_);
bitField0_ |= 0x00000008;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
org.finos.tracdap.api.MetadataWriteRequest, org.finos.tracdap.api.MetadataWriteRequest.Builder, org.finos.tracdap.api.MetadataWriteRequestOrBuilder> updateTagsBuilder_;
/**
*
* *
* Requests to be processed using updateTag()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateTags = 4;
*/
public java.util.List getUpdateTagsList() {
if (updateTagsBuilder_ == null) {
return java.util.Collections.unmodifiableList(updateTags_);
} else {
return updateTagsBuilder_.getMessageList();
}
}
/**
*
* *
* Requests to be processed using updateTag()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateTags = 4;
*/
public int getUpdateTagsCount() {
if (updateTagsBuilder_ == null) {
return updateTags_.size();
} else {
return updateTagsBuilder_.getCount();
}
}
/**
*
* *
* Requests to be processed using updateTag()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateTags = 4;
*/
public org.finos.tracdap.api.MetadataWriteRequest getUpdateTags(int index) {
if (updateTagsBuilder_ == null) {
return updateTags_.get(index);
} else {
return updateTagsBuilder_.getMessage(index);
}
}
/**
*
* *
* Requests to be processed using updateTag()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateTags = 4;
*/
public Builder setUpdateTags(
int index, org.finos.tracdap.api.MetadataWriteRequest value) {
if (updateTagsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUpdateTagsIsMutable();
updateTags_.set(index, value);
onChanged();
} else {
updateTagsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* *
* Requests to be processed using updateTag()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateTags = 4;
*/
public Builder setUpdateTags(
int index, org.finos.tracdap.api.MetadataWriteRequest.Builder builderForValue) {
if (updateTagsBuilder_ == null) {
ensureUpdateTagsIsMutable();
updateTags_.set(index, builderForValue.build());
onChanged();
} else {
updateTagsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* *
* Requests to be processed using updateTag()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateTags = 4;
*/
public Builder addUpdateTags(org.finos.tracdap.api.MetadataWriteRequest value) {
if (updateTagsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUpdateTagsIsMutable();
updateTags_.add(value);
onChanged();
} else {
updateTagsBuilder_.addMessage(value);
}
return this;
}
/**
*
* *
* Requests to be processed using updateTag()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateTags = 4;
*/
public Builder addUpdateTags(
int index, org.finos.tracdap.api.MetadataWriteRequest value) {
if (updateTagsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUpdateTagsIsMutable();
updateTags_.add(index, value);
onChanged();
} else {
updateTagsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* *
* Requests to be processed using updateTag()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateTags = 4;
*/
public Builder addUpdateTags(
org.finos.tracdap.api.MetadataWriteRequest.Builder builderForValue) {
if (updateTagsBuilder_ == null) {
ensureUpdateTagsIsMutable();
updateTags_.add(builderForValue.build());
onChanged();
} else {
updateTagsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* *
* Requests to be processed using updateTag()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateTags = 4;
*/
public Builder addUpdateTags(
int index, org.finos.tracdap.api.MetadataWriteRequest.Builder builderForValue) {
if (updateTagsBuilder_ == null) {
ensureUpdateTagsIsMutable();
updateTags_.add(index, builderForValue.build());
onChanged();
} else {
updateTagsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* *
* Requests to be processed using updateTag()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateTags = 4;
*/
public Builder addAllUpdateTags(
java.lang.Iterable extends org.finos.tracdap.api.MetadataWriteRequest> values) {
if (updateTagsBuilder_ == null) {
ensureUpdateTagsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, updateTags_);
onChanged();
} else {
updateTagsBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* *
* Requests to be processed using updateTag()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateTags = 4;
*/
public Builder clearUpdateTags() {
if (updateTagsBuilder_ == null) {
updateTags_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
updateTagsBuilder_.clear();
}
return this;
}
/**
*
* *
* Requests to be processed using updateTag()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateTags = 4;
*/
public Builder removeUpdateTags(int index) {
if (updateTagsBuilder_ == null) {
ensureUpdateTagsIsMutable();
updateTags_.remove(index);
onChanged();
} else {
updateTagsBuilder_.remove(index);
}
return this;
}
/**
*
* *
* Requests to be processed using updateTag()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateTags = 4;
*/
public org.finos.tracdap.api.MetadataWriteRequest.Builder getUpdateTagsBuilder(
int index) {
return getUpdateTagsFieldBuilder().getBuilder(index);
}
/**
*
* *
* Requests to be processed using updateTag()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateTags = 4;
*/
public org.finos.tracdap.api.MetadataWriteRequestOrBuilder getUpdateTagsOrBuilder(
int index) {
if (updateTagsBuilder_ == null) {
return updateTags_.get(index); } else {
return updateTagsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* *
* Requests to be processed using updateTag()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateTags = 4;
*/
public java.util.List extends org.finos.tracdap.api.MetadataWriteRequestOrBuilder>
getUpdateTagsOrBuilderList() {
if (updateTagsBuilder_ != null) {
return updateTagsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(updateTags_);
}
}
/**
*
* *
* Requests to be processed using updateTag()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateTags = 4;
*/
public org.finos.tracdap.api.MetadataWriteRequest.Builder addUpdateTagsBuilder() {
return getUpdateTagsFieldBuilder().addBuilder(
org.finos.tracdap.api.MetadataWriteRequest.getDefaultInstance());
}
/**
*
* *
* Requests to be processed using updateTag()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateTags = 4;
*/
public org.finos.tracdap.api.MetadataWriteRequest.Builder addUpdateTagsBuilder(
int index) {
return getUpdateTagsFieldBuilder().addBuilder(
index, org.finos.tracdap.api.MetadataWriteRequest.getDefaultInstance());
}
/**
*
* *
* Requests to be processed using updateTag()
*
*
* repeated .tracdap.api.MetadataWriteRequest updateTags = 4;
*/
public java.util.List
getUpdateTagsBuilderList() {
return getUpdateTagsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
org.finos.tracdap.api.MetadataWriteRequest, org.finos.tracdap.api.MetadataWriteRequest.Builder, org.finos.tracdap.api.MetadataWriteRequestOrBuilder>
getUpdateTagsFieldBuilder() {
if (updateTagsBuilder_ == null) {
updateTagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
org.finos.tracdap.api.MetadataWriteRequest, org.finos.tracdap.api.MetadataWriteRequest.Builder, org.finos.tracdap.api.MetadataWriteRequestOrBuilder>(
updateTags_,
((bitField0_ & 0x00000008) != 0),
getParentForChildren(),
isClean());
updateTags_ = null;
}
return updateTagsBuilder_;
}
private java.util.List preallocateIds_ =
java.util.Collections.emptyList();
private void ensurePreallocateIdsIsMutable() {
if (!((bitField0_ & 0x00000010) != 0)) {
preallocateIds_ = new java.util.ArrayList(preallocateIds_);
bitField0_ |= 0x00000010;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
org.finos.tracdap.api.MetadataWriteRequest, org.finos.tracdap.api.MetadataWriteRequest.Builder, org.finos.tracdap.api.MetadataWriteRequestOrBuilder> preallocateIdsBuilder_;
/**
*
* *
* Requests to be processed using preallocateId()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest preallocateIds = 5;
*/
public java.util.List getPreallocateIdsList() {
if (preallocateIdsBuilder_ == null) {
return java.util.Collections.unmodifiableList(preallocateIds_);
} else {
return preallocateIdsBuilder_.getMessageList();
}
}
/**
*
* *
* Requests to be processed using preallocateId()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest preallocateIds = 5;
*/
public int getPreallocateIdsCount() {
if (preallocateIdsBuilder_ == null) {
return preallocateIds_.size();
} else {
return preallocateIdsBuilder_.getCount();
}
}
/**
*
* *
* Requests to be processed using preallocateId()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest preallocateIds = 5;
*/
public org.finos.tracdap.api.MetadataWriteRequest getPreallocateIds(int index) {
if (preallocateIdsBuilder_ == null) {
return preallocateIds_.get(index);
} else {
return preallocateIdsBuilder_.getMessage(index);
}
}
/**
*
* *
* Requests to be processed using preallocateId()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest preallocateIds = 5;
*/
public Builder setPreallocateIds(
int index, org.finos.tracdap.api.MetadataWriteRequest value) {
if (preallocateIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePreallocateIdsIsMutable();
preallocateIds_.set(index, value);
onChanged();
} else {
preallocateIdsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* *
* Requests to be processed using preallocateId()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest preallocateIds = 5;
*/
public Builder setPreallocateIds(
int index, org.finos.tracdap.api.MetadataWriteRequest.Builder builderForValue) {
if (preallocateIdsBuilder_ == null) {
ensurePreallocateIdsIsMutable();
preallocateIds_.set(index, builderForValue.build());
onChanged();
} else {
preallocateIdsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* *
* Requests to be processed using preallocateId()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest preallocateIds = 5;
*/
public Builder addPreallocateIds(org.finos.tracdap.api.MetadataWriteRequest value) {
if (preallocateIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePreallocateIdsIsMutable();
preallocateIds_.add(value);
onChanged();
} else {
preallocateIdsBuilder_.addMessage(value);
}
return this;
}
/**
*
* *
* Requests to be processed using preallocateId()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest preallocateIds = 5;
*/
public Builder addPreallocateIds(
int index, org.finos.tracdap.api.MetadataWriteRequest value) {
if (preallocateIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePreallocateIdsIsMutable();
preallocateIds_.add(index, value);
onChanged();
} else {
preallocateIdsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* *
* Requests to be processed using preallocateId()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest preallocateIds = 5;
*/
public Builder addPreallocateIds(
org.finos.tracdap.api.MetadataWriteRequest.Builder builderForValue) {
if (preallocateIdsBuilder_ == null) {
ensurePreallocateIdsIsMutable();
preallocateIds_.add(builderForValue.build());
onChanged();
} else {
preallocateIdsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* *
* Requests to be processed using preallocateId()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest preallocateIds = 5;
*/
public Builder addPreallocateIds(
int index, org.finos.tracdap.api.MetadataWriteRequest.Builder builderForValue) {
if (preallocateIdsBuilder_ == null) {
ensurePreallocateIdsIsMutable();
preallocateIds_.add(index, builderForValue.build());
onChanged();
} else {
preallocateIdsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* *
* Requests to be processed using preallocateId()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest preallocateIds = 5;
*/
public Builder addAllPreallocateIds(
java.lang.Iterable extends org.finos.tracdap.api.MetadataWriteRequest> values) {
if (preallocateIdsBuilder_ == null) {
ensurePreallocateIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, preallocateIds_);
onChanged();
} else {
preallocateIdsBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* *
* Requests to be processed using preallocateId()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest preallocateIds = 5;
*/
public Builder clearPreallocateIds() {
if (preallocateIdsBuilder_ == null) {
preallocateIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
} else {
preallocateIdsBuilder_.clear();
}
return this;
}
/**
*
* *
* Requests to be processed using preallocateId()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest preallocateIds = 5;
*/
public Builder removePreallocateIds(int index) {
if (preallocateIdsBuilder_ == null) {
ensurePreallocateIdsIsMutable();
preallocateIds_.remove(index);
onChanged();
} else {
preallocateIdsBuilder_.remove(index);
}
return this;
}
/**
*
* *
* Requests to be processed using preallocateId()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest preallocateIds = 5;
*/
public org.finos.tracdap.api.MetadataWriteRequest.Builder getPreallocateIdsBuilder(
int index) {
return getPreallocateIdsFieldBuilder().getBuilder(index);
}
/**
*
* *
* Requests to be processed using preallocateId()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest preallocateIds = 5;
*/
public org.finos.tracdap.api.MetadataWriteRequestOrBuilder getPreallocateIdsOrBuilder(
int index) {
if (preallocateIdsBuilder_ == null) {
return preallocateIds_.get(index); } else {
return preallocateIdsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* *
* Requests to be processed using preallocateId()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest preallocateIds = 5;
*/
public java.util.List extends org.finos.tracdap.api.MetadataWriteRequestOrBuilder>
getPreallocateIdsOrBuilderList() {
if (preallocateIdsBuilder_ != null) {
return preallocateIdsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(preallocateIds_);
}
}
/**
*
* *
* Requests to be processed using preallocateId()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest preallocateIds = 5;
*/
public org.finos.tracdap.api.MetadataWriteRequest.Builder addPreallocateIdsBuilder() {
return getPreallocateIdsFieldBuilder().addBuilder(
org.finos.tracdap.api.MetadataWriteRequest.getDefaultInstance());
}
/**
*
* *
* Requests to be processed using preallocateId()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest preallocateIds = 5;
*/
public org.finos.tracdap.api.MetadataWriteRequest.Builder addPreallocateIdsBuilder(
int index) {
return getPreallocateIdsFieldBuilder().addBuilder(
index, org.finos.tracdap.api.MetadataWriteRequest.getDefaultInstance());
}
/**
*
* *
* Requests to be processed using preallocateId()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest preallocateIds = 5;
*/
public java.util.List
getPreallocateIdsBuilderList() {
return getPreallocateIdsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
org.finos.tracdap.api.MetadataWriteRequest, org.finos.tracdap.api.MetadataWriteRequest.Builder, org.finos.tracdap.api.MetadataWriteRequestOrBuilder>
getPreallocateIdsFieldBuilder() {
if (preallocateIdsBuilder_ == null) {
preallocateIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
org.finos.tracdap.api.MetadataWriteRequest, org.finos.tracdap.api.MetadataWriteRequest.Builder, org.finos.tracdap.api.MetadataWriteRequestOrBuilder>(
preallocateIds_,
((bitField0_ & 0x00000010) != 0),
getParentForChildren(),
isClean());
preallocateIds_ = null;
}
return preallocateIdsBuilder_;
}
private java.util.List createPreallocatedObjects_ =
java.util.Collections.emptyList();
private void ensureCreatePreallocatedObjectsIsMutable() {
if (!((bitField0_ & 0x00000020) != 0)) {
createPreallocatedObjects_ = new java.util.ArrayList(createPreallocatedObjects_);
bitField0_ |= 0x00000020;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
org.finos.tracdap.api.MetadataWriteRequest, org.finos.tracdap.api.MetadataWriteRequest.Builder, org.finos.tracdap.api.MetadataWriteRequestOrBuilder> createPreallocatedObjectsBuilder_;
/**
*
* *
* Requests to be processed using createPreallocatedObject()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest createPreallocatedObjects = 6;
*/
public java.util.List getCreatePreallocatedObjectsList() {
if (createPreallocatedObjectsBuilder_ == null) {
return java.util.Collections.unmodifiableList(createPreallocatedObjects_);
} else {
return createPreallocatedObjectsBuilder_.getMessageList();
}
}
/**
*
* *
* Requests to be processed using createPreallocatedObject()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest createPreallocatedObjects = 6;
*/
public int getCreatePreallocatedObjectsCount() {
if (createPreallocatedObjectsBuilder_ == null) {
return createPreallocatedObjects_.size();
} else {
return createPreallocatedObjectsBuilder_.getCount();
}
}
/**
*
* *
* Requests to be processed using createPreallocatedObject()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest createPreallocatedObjects = 6;
*/
public org.finos.tracdap.api.MetadataWriteRequest getCreatePreallocatedObjects(int index) {
if (createPreallocatedObjectsBuilder_ == null) {
return createPreallocatedObjects_.get(index);
} else {
return createPreallocatedObjectsBuilder_.getMessage(index);
}
}
/**
*
* *
* Requests to be processed using createPreallocatedObject()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest createPreallocatedObjects = 6;
*/
public Builder setCreatePreallocatedObjects(
int index, org.finos.tracdap.api.MetadataWriteRequest value) {
if (createPreallocatedObjectsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCreatePreallocatedObjectsIsMutable();
createPreallocatedObjects_.set(index, value);
onChanged();
} else {
createPreallocatedObjectsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* *
* Requests to be processed using createPreallocatedObject()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest createPreallocatedObjects = 6;
*/
public Builder setCreatePreallocatedObjects(
int index, org.finos.tracdap.api.MetadataWriteRequest.Builder builderForValue) {
if (createPreallocatedObjectsBuilder_ == null) {
ensureCreatePreallocatedObjectsIsMutable();
createPreallocatedObjects_.set(index, builderForValue.build());
onChanged();
} else {
createPreallocatedObjectsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* *
* Requests to be processed using createPreallocatedObject()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest createPreallocatedObjects = 6;
*/
public Builder addCreatePreallocatedObjects(org.finos.tracdap.api.MetadataWriteRequest value) {
if (createPreallocatedObjectsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCreatePreallocatedObjectsIsMutable();
createPreallocatedObjects_.add(value);
onChanged();
} else {
createPreallocatedObjectsBuilder_.addMessage(value);
}
return this;
}
/**
*
* *
* Requests to be processed using createPreallocatedObject()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest createPreallocatedObjects = 6;
*/
public Builder addCreatePreallocatedObjects(
int index, org.finos.tracdap.api.MetadataWriteRequest value) {
if (createPreallocatedObjectsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCreatePreallocatedObjectsIsMutable();
createPreallocatedObjects_.add(index, value);
onChanged();
} else {
createPreallocatedObjectsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* *
* Requests to be processed using createPreallocatedObject()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest createPreallocatedObjects = 6;
*/
public Builder addCreatePreallocatedObjects(
org.finos.tracdap.api.MetadataWriteRequest.Builder builderForValue) {
if (createPreallocatedObjectsBuilder_ == null) {
ensureCreatePreallocatedObjectsIsMutable();
createPreallocatedObjects_.add(builderForValue.build());
onChanged();
} else {
createPreallocatedObjectsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* *
* Requests to be processed using createPreallocatedObject()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest createPreallocatedObjects = 6;
*/
public Builder addCreatePreallocatedObjects(
int index, org.finos.tracdap.api.MetadataWriteRequest.Builder builderForValue) {
if (createPreallocatedObjectsBuilder_ == null) {
ensureCreatePreallocatedObjectsIsMutable();
createPreallocatedObjects_.add(index, builderForValue.build());
onChanged();
} else {
createPreallocatedObjectsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* *
* Requests to be processed using createPreallocatedObject()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest createPreallocatedObjects = 6;
*/
public Builder addAllCreatePreallocatedObjects(
java.lang.Iterable extends org.finos.tracdap.api.MetadataWriteRequest> values) {
if (createPreallocatedObjectsBuilder_ == null) {
ensureCreatePreallocatedObjectsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, createPreallocatedObjects_);
onChanged();
} else {
createPreallocatedObjectsBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* *
* Requests to be processed using createPreallocatedObject()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest createPreallocatedObjects = 6;
*/
public Builder clearCreatePreallocatedObjects() {
if (createPreallocatedObjectsBuilder_ == null) {
createPreallocatedObjects_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
} else {
createPreallocatedObjectsBuilder_.clear();
}
return this;
}
/**
*
* *
* Requests to be processed using createPreallocatedObject()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest createPreallocatedObjects = 6;
*/
public Builder removeCreatePreallocatedObjects(int index) {
if (createPreallocatedObjectsBuilder_ == null) {
ensureCreatePreallocatedObjectsIsMutable();
createPreallocatedObjects_.remove(index);
onChanged();
} else {
createPreallocatedObjectsBuilder_.remove(index);
}
return this;
}
/**
*
* *
* Requests to be processed using createPreallocatedObject()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest createPreallocatedObjects = 6;
*/
public org.finos.tracdap.api.MetadataWriteRequest.Builder getCreatePreallocatedObjectsBuilder(
int index) {
return getCreatePreallocatedObjectsFieldBuilder().getBuilder(index);
}
/**
*
* *
* Requests to be processed using createPreallocatedObject()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest createPreallocatedObjects = 6;
*/
public org.finos.tracdap.api.MetadataWriteRequestOrBuilder getCreatePreallocatedObjectsOrBuilder(
int index) {
if (createPreallocatedObjectsBuilder_ == null) {
return createPreallocatedObjects_.get(index); } else {
return createPreallocatedObjectsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* *
* Requests to be processed using createPreallocatedObject()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest createPreallocatedObjects = 6;
*/
public java.util.List extends org.finos.tracdap.api.MetadataWriteRequestOrBuilder>
getCreatePreallocatedObjectsOrBuilderList() {
if (createPreallocatedObjectsBuilder_ != null) {
return createPreallocatedObjectsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(createPreallocatedObjects_);
}
}
/**
*
* *
* Requests to be processed using createPreallocatedObject()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest createPreallocatedObjects = 6;
*/
public org.finos.tracdap.api.MetadataWriteRequest.Builder addCreatePreallocatedObjectsBuilder() {
return getCreatePreallocatedObjectsFieldBuilder().addBuilder(
org.finos.tracdap.api.MetadataWriteRequest.getDefaultInstance());
}
/**
*
* *
* Requests to be processed using createPreallocatedObject()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest createPreallocatedObjects = 6;
*/
public org.finos.tracdap.api.MetadataWriteRequest.Builder addCreatePreallocatedObjectsBuilder(
int index) {
return getCreatePreallocatedObjectsFieldBuilder().addBuilder(
index, org.finos.tracdap.api.MetadataWriteRequest.getDefaultInstance());
}
/**
*
* *
* Requests to be processed using createPreallocatedObject()
*
* This request type is only available in the internal metadata API.
*
*
* repeated .tracdap.api.MetadataWriteRequest createPreallocatedObjects = 6;
*/
public java.util.List
getCreatePreallocatedObjectsBuilderList() {
return getCreatePreallocatedObjectsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
org.finos.tracdap.api.MetadataWriteRequest, org.finos.tracdap.api.MetadataWriteRequest.Builder, org.finos.tracdap.api.MetadataWriteRequestOrBuilder>
getCreatePreallocatedObjectsFieldBuilder() {
if (createPreallocatedObjectsBuilder_ == null) {
createPreallocatedObjectsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
org.finos.tracdap.api.MetadataWriteRequest, org.finos.tracdap.api.MetadataWriteRequest.Builder, org.finos.tracdap.api.MetadataWriteRequestOrBuilder>(
createPreallocatedObjects_,
((bitField0_ & 0x00000020) != 0),
getParentForChildren(),
isClean());
createPreallocatedObjects_ = null;
}
return createPreallocatedObjectsBuilder_;
}
// @@protoc_insertion_point(builder_scope:tracdap.api.MetadataWriteBatchRequest)
}
// @@protoc_insertion_point(class_scope:tracdap.api.MetadataWriteBatchRequest)
private static final org.finos.tracdap.api.MetadataWriteBatchRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.finos.tracdap.api.MetadataWriteBatchRequest();
}
public static org.finos.tracdap.api.MetadataWriteBatchRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public MetadataWriteBatchRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.finos.tracdap.api.MetadataWriteBatchRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}