Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
org.finos.tracdap.api.MetadataWriteBatchResponse Maven / Gradle / Ivy
// 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;
/**
*
* *
* Response to a batch write operation.
*
* @see TracMetadataApi
*
*
* Protobuf type {@code tracdap.api.MetadataWriteBatchResponse}
*/
public final class MetadataWriteBatchResponse extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:tracdap.api.MetadataWriteBatchResponse)
MetadataWriteBatchResponseOrBuilder {
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= */ "",
MetadataWriteBatchResponse.class.getName());
}
// Use MetadataWriteBatchResponse.newBuilder() to construct.
private MetadataWriteBatchResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private MetadataWriteBatchResponse() {
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_MetadataWriteBatchResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.finos.tracdap.api.Metadata.internal_static_tracdap_api_MetadataWriteBatchResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.finos.tracdap.api.MetadataWriteBatchResponse.class, org.finos.tracdap.api.MetadataWriteBatchResponse.Builder.class);
}
public static final int CREATEOBJECTS_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private java.util.List createObjects_;
/**
*
* *
* IDs for objects created using createObject()
*
*
* repeated .tracdap.metadata.TagHeader createObjects = 1;
*/
@java.lang.Override
public java.util.List getCreateObjectsList() {
return createObjects_;
}
/**
*
* *
* IDs for objects created using createObject()
*
*
* repeated .tracdap.metadata.TagHeader createObjects = 1;
*/
@java.lang.Override
public java.util.List extends org.finos.tracdap.metadata.TagHeaderOrBuilder>
getCreateObjectsOrBuilderList() {
return createObjects_;
}
/**
*
* *
* IDs for objects created using createObject()
*
*
* repeated .tracdap.metadata.TagHeader createObjects = 1;
*/
@java.lang.Override
public int getCreateObjectsCount() {
return createObjects_.size();
}
/**
*
* *
* IDs for objects created using createObject()
*
*
* repeated .tracdap.metadata.TagHeader createObjects = 1;
*/
@java.lang.Override
public org.finos.tracdap.metadata.TagHeader getCreateObjects(int index) {
return createObjects_.get(index);
}
/**
*
* *
* IDs for objects created using createObject()
*
*
* repeated .tracdap.metadata.TagHeader createObjects = 1;
*/
@java.lang.Override
public org.finos.tracdap.metadata.TagHeaderOrBuilder getCreateObjectsOrBuilder(
int index) {
return createObjects_.get(index);
}
public static final int UPDATEOBJECTS_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private java.util.List updateObjects_;
/**
*
* *
* IDs for objects updated using updateObject()
*
*
* repeated .tracdap.metadata.TagHeader updateObjects = 2;
*/
@java.lang.Override
public java.util.List getUpdateObjectsList() {
return updateObjects_;
}
/**
*
* *
* IDs for objects updated using updateObject()
*
*
* repeated .tracdap.metadata.TagHeader updateObjects = 2;
*/
@java.lang.Override
public java.util.List extends org.finos.tracdap.metadata.TagHeaderOrBuilder>
getUpdateObjectsOrBuilderList() {
return updateObjects_;
}
/**
*
* *
* IDs for objects updated using updateObject()
*
*
* repeated .tracdap.metadata.TagHeader updateObjects = 2;
*/
@java.lang.Override
public int getUpdateObjectsCount() {
return updateObjects_.size();
}
/**
*
* *
* IDs for objects updated using updateObject()
*
*
* repeated .tracdap.metadata.TagHeader updateObjects = 2;
*/
@java.lang.Override
public org.finos.tracdap.metadata.TagHeader getUpdateObjects(int index) {
return updateObjects_.get(index);
}
/**
*
* *
* IDs for objects updated using updateObject()
*
*
* repeated .tracdap.metadata.TagHeader updateObjects = 2;
*/
@java.lang.Override
public org.finos.tracdap.metadata.TagHeaderOrBuilder getUpdateObjectsOrBuilder(
int index) {
return updateObjects_.get(index);
}
public static final int UPDATETAGS_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private java.util.List updateTags_;
/**
*
* *
* IDs for tags updated using updateTag()
*
*
* repeated .tracdap.metadata.TagHeader updateTags = 3;
*/
@java.lang.Override
public java.util.List getUpdateTagsList() {
return updateTags_;
}
/**
*
* *
* IDs for tags updated using updateTag()
*
*
* repeated .tracdap.metadata.TagHeader updateTags = 3;
*/
@java.lang.Override
public java.util.List extends org.finos.tracdap.metadata.TagHeaderOrBuilder>
getUpdateTagsOrBuilderList() {
return updateTags_;
}
/**
*
* *
* IDs for tags updated using updateTag()
*
*
* repeated .tracdap.metadata.TagHeader updateTags = 3;
*/
@java.lang.Override
public int getUpdateTagsCount() {
return updateTags_.size();
}
/**
*
* *
* IDs for tags updated using updateTag()
*
*
* repeated .tracdap.metadata.TagHeader updateTags = 3;
*/
@java.lang.Override
public org.finos.tracdap.metadata.TagHeader getUpdateTags(int index) {
return updateTags_.get(index);
}
/**
*
* *
* IDs for tags updated using updateTag()
*
*
* repeated .tracdap.metadata.TagHeader updateTags = 3;
*/
@java.lang.Override
public org.finos.tracdap.metadata.TagHeaderOrBuilder getUpdateTagsOrBuilder(
int index) {
return updateTags_.get(index);
}
public static final int PREALLOCATEIDS_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private java.util.List preallocateIds_;
/**
*
* *
* IDs created using preallocateId()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader preallocateIds = 4;
*/
@java.lang.Override
public java.util.List getPreallocateIdsList() {
return preallocateIds_;
}
/**
*
* *
* IDs created using preallocateId()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader preallocateIds = 4;
*/
@java.lang.Override
public java.util.List extends org.finos.tracdap.metadata.TagHeaderOrBuilder>
getPreallocateIdsOrBuilderList() {
return preallocateIds_;
}
/**
*
* *
* IDs created using preallocateId()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader preallocateIds = 4;
*/
@java.lang.Override
public int getPreallocateIdsCount() {
return preallocateIds_.size();
}
/**
*
* *
* IDs created using preallocateId()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader preallocateIds = 4;
*/
@java.lang.Override
public org.finos.tracdap.metadata.TagHeader getPreallocateIds(int index) {
return preallocateIds_.get(index);
}
/**
*
* *
* IDs created using preallocateId()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader preallocateIds = 4;
*/
@java.lang.Override
public org.finos.tracdap.metadata.TagHeaderOrBuilder getPreallocateIdsOrBuilder(
int index) {
return preallocateIds_.get(index);
}
public static final int CREATEPREALLOCATEDOBJECTS_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private java.util.List createPreallocatedObjects_;
/**
*
* *
* IDs for objects created using createPreallocatedObject()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader createPreallocatedObjects = 5;
*/
@java.lang.Override
public java.util.List getCreatePreallocatedObjectsList() {
return createPreallocatedObjects_;
}
/**
*
* *
* IDs for objects created using createPreallocatedObject()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader createPreallocatedObjects = 5;
*/
@java.lang.Override
public java.util.List extends org.finos.tracdap.metadata.TagHeaderOrBuilder>
getCreatePreallocatedObjectsOrBuilderList() {
return createPreallocatedObjects_;
}
/**
*
* *
* IDs for objects created using createPreallocatedObject()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader createPreallocatedObjects = 5;
*/
@java.lang.Override
public int getCreatePreallocatedObjectsCount() {
return createPreallocatedObjects_.size();
}
/**
*
* *
* IDs for objects created using createPreallocatedObject()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader createPreallocatedObjects = 5;
*/
@java.lang.Override
public org.finos.tracdap.metadata.TagHeader getCreatePreallocatedObjects(int index) {
return createPreallocatedObjects_.get(index);
}
/**
*
* *
* IDs for objects created using createPreallocatedObject()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader createPreallocatedObjects = 5;
*/
@java.lang.Override
public org.finos.tracdap.metadata.TagHeaderOrBuilder 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 {
for (int i = 0; i < createObjects_.size(); i++) {
output.writeMessage(1, createObjects_.get(i));
}
for (int i = 0; i < updateObjects_.size(); i++) {
output.writeMessage(2, updateObjects_.get(i));
}
for (int i = 0; i < updateTags_.size(); i++) {
output.writeMessage(3, updateTags_.get(i));
}
for (int i = 0; i < preallocateIds_.size(); i++) {
output.writeMessage(4, preallocateIds_.get(i));
}
for (int i = 0; i < createPreallocatedObjects_.size(); i++) {
output.writeMessage(5, createPreallocatedObjects_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < createObjects_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, createObjects_.get(i));
}
for (int i = 0; i < updateObjects_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, updateObjects_.get(i));
}
for (int i = 0; i < updateTags_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, updateTags_.get(i));
}
for (int i = 0; i < preallocateIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, preallocateIds_.get(i));
}
for (int i = 0; i < createPreallocatedObjects_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, 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.MetadataWriteBatchResponse)) {
return super.equals(obj);
}
org.finos.tracdap.api.MetadataWriteBatchResponse other = (org.finos.tracdap.api.MetadataWriteBatchResponse) obj;
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();
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.MetadataWriteBatchResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.finos.tracdap.api.MetadataWriteBatchResponse 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.MetadataWriteBatchResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.finos.tracdap.api.MetadataWriteBatchResponse 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.MetadataWriteBatchResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.finos.tracdap.api.MetadataWriteBatchResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.finos.tracdap.api.MetadataWriteBatchResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static org.finos.tracdap.api.MetadataWriteBatchResponse 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.MetadataWriteBatchResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static org.finos.tracdap.api.MetadataWriteBatchResponse 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.MetadataWriteBatchResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static org.finos.tracdap.api.MetadataWriteBatchResponse 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.MetadataWriteBatchResponse 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;
}
/**
*
* *
* Response to a batch write operation.
*
* @see TracMetadataApi
*
*
* Protobuf type {@code tracdap.api.MetadataWriteBatchResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:tracdap.api.MetadataWriteBatchResponse)
org.finos.tracdap.api.MetadataWriteBatchResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.finos.tracdap.api.Metadata.internal_static_tracdap_api_MetadataWriteBatchResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.finos.tracdap.api.Metadata.internal_static_tracdap_api_MetadataWriteBatchResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.finos.tracdap.api.MetadataWriteBatchResponse.class, org.finos.tracdap.api.MetadataWriteBatchResponse.Builder.class);
}
// Construct using org.finos.tracdap.api.MetadataWriteBatchResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
if (createObjectsBuilder_ == null) {
createObjects_ = java.util.Collections.emptyList();
} else {
createObjects_ = null;
createObjectsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (updateObjectsBuilder_ == null) {
updateObjects_ = java.util.Collections.emptyList();
} else {
updateObjects_ = null;
updateObjectsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
if (updateTagsBuilder_ == null) {
updateTags_ = java.util.Collections.emptyList();
} else {
updateTags_ = null;
updateTagsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
if (preallocateIdsBuilder_ == null) {
preallocateIds_ = java.util.Collections.emptyList();
} else {
preallocateIds_ = null;
preallocateIdsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
if (createPreallocatedObjectsBuilder_ == null) {
createPreallocatedObjects_ = java.util.Collections.emptyList();
} else {
createPreallocatedObjects_ = null;
createPreallocatedObjectsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.finos.tracdap.api.Metadata.internal_static_tracdap_api_MetadataWriteBatchResponse_descriptor;
}
@java.lang.Override
public org.finos.tracdap.api.MetadataWriteBatchResponse getDefaultInstanceForType() {
return org.finos.tracdap.api.MetadataWriteBatchResponse.getDefaultInstance();
}
@java.lang.Override
public org.finos.tracdap.api.MetadataWriteBatchResponse build() {
org.finos.tracdap.api.MetadataWriteBatchResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.finos.tracdap.api.MetadataWriteBatchResponse buildPartial() {
org.finos.tracdap.api.MetadataWriteBatchResponse result = new org.finos.tracdap.api.MetadataWriteBatchResponse(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(org.finos.tracdap.api.MetadataWriteBatchResponse result) {
if (createObjectsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
createObjects_ = java.util.Collections.unmodifiableList(createObjects_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.createObjects_ = createObjects_;
} else {
result.createObjects_ = createObjectsBuilder_.build();
}
if (updateObjectsBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
updateObjects_ = java.util.Collections.unmodifiableList(updateObjects_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.updateObjects_ = updateObjects_;
} else {
result.updateObjects_ = updateObjectsBuilder_.build();
}
if (updateTagsBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
updateTags_ = java.util.Collections.unmodifiableList(updateTags_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.updateTags_ = updateTags_;
} else {
result.updateTags_ = updateTagsBuilder_.build();
}
if (preallocateIdsBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0)) {
preallocateIds_ = java.util.Collections.unmodifiableList(preallocateIds_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.preallocateIds_ = preallocateIds_;
} else {
result.preallocateIds_ = preallocateIdsBuilder_.build();
}
if (createPreallocatedObjectsBuilder_ == null) {
if (((bitField0_ & 0x00000010) != 0)) {
createPreallocatedObjects_ = java.util.Collections.unmodifiableList(createPreallocatedObjects_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.createPreallocatedObjects_ = createPreallocatedObjects_;
} else {
result.createPreallocatedObjects_ = createPreallocatedObjectsBuilder_.build();
}
}
private void buildPartial0(org.finos.tracdap.api.MetadataWriteBatchResponse result) {
int from_bitField0_ = bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.finos.tracdap.api.MetadataWriteBatchResponse) {
return mergeFrom((org.finos.tracdap.api.MetadataWriteBatchResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.finos.tracdap.api.MetadataWriteBatchResponse other) {
if (other == org.finos.tracdap.api.MetadataWriteBatchResponse.getDefaultInstance()) return this;
if (createObjectsBuilder_ == null) {
if (!other.createObjects_.isEmpty()) {
if (createObjects_.isEmpty()) {
createObjects_ = other.createObjects_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureCreateObjectsIsMutable();
createObjects_.addAll(other.createObjects_);
}
onChanged();
}
} else {
if (!other.createObjects_.isEmpty()) {
if (createObjectsBuilder_.isEmpty()) {
createObjectsBuilder_.dispose();
createObjectsBuilder_ = null;
createObjects_ = other.createObjects_;
bitField0_ = (bitField0_ & ~0x00000001);
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_ & ~0x00000002);
} else {
ensureUpdateObjectsIsMutable();
updateObjects_.addAll(other.updateObjects_);
}
onChanged();
}
} else {
if (!other.updateObjects_.isEmpty()) {
if (updateObjectsBuilder_.isEmpty()) {
updateObjectsBuilder_.dispose();
updateObjectsBuilder_ = null;
updateObjects_ = other.updateObjects_;
bitField0_ = (bitField0_ & ~0x00000002);
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_ & ~0x00000004);
} else {
ensureUpdateTagsIsMutable();
updateTags_.addAll(other.updateTags_);
}
onChanged();
}
} else {
if (!other.updateTags_.isEmpty()) {
if (updateTagsBuilder_.isEmpty()) {
updateTagsBuilder_.dispose();
updateTagsBuilder_ = null;
updateTags_ = other.updateTags_;
bitField0_ = (bitField0_ & ~0x00000004);
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_ & ~0x00000008);
} else {
ensurePreallocateIdsIsMutable();
preallocateIds_.addAll(other.preallocateIds_);
}
onChanged();
}
} else {
if (!other.preallocateIds_.isEmpty()) {
if (preallocateIdsBuilder_.isEmpty()) {
preallocateIdsBuilder_.dispose();
preallocateIdsBuilder_ = null;
preallocateIds_ = other.preallocateIds_;
bitField0_ = (bitField0_ & ~0x00000008);
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_ & ~0x00000010);
} else {
ensureCreatePreallocatedObjectsIsMutable();
createPreallocatedObjects_.addAll(other.createPreallocatedObjects_);
}
onChanged();
}
} else {
if (!other.createPreallocatedObjects_.isEmpty()) {
if (createPreallocatedObjectsBuilder_.isEmpty()) {
createPreallocatedObjectsBuilder_.dispose();
createPreallocatedObjectsBuilder_ = null;
createPreallocatedObjects_ = other.createPreallocatedObjects_;
bitField0_ = (bitField0_ & ~0x00000010);
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: {
org.finos.tracdap.metadata.TagHeader m =
input.readMessage(
org.finos.tracdap.metadata.TagHeader.parser(),
extensionRegistry);
if (createObjectsBuilder_ == null) {
ensureCreateObjectsIsMutable();
createObjects_.add(m);
} else {
createObjectsBuilder_.addMessage(m);
}
break;
} // case 10
case 18: {
org.finos.tracdap.metadata.TagHeader m =
input.readMessage(
org.finos.tracdap.metadata.TagHeader.parser(),
extensionRegistry);
if (updateObjectsBuilder_ == null) {
ensureUpdateObjectsIsMutable();
updateObjects_.add(m);
} else {
updateObjectsBuilder_.addMessage(m);
}
break;
} // case 18
case 26: {
org.finos.tracdap.metadata.TagHeader m =
input.readMessage(
org.finos.tracdap.metadata.TagHeader.parser(),
extensionRegistry);
if (updateTagsBuilder_ == null) {
ensureUpdateTagsIsMutable();
updateTags_.add(m);
} else {
updateTagsBuilder_.addMessage(m);
}
break;
} // case 26
case 34: {
org.finos.tracdap.metadata.TagHeader m =
input.readMessage(
org.finos.tracdap.metadata.TagHeader.parser(),
extensionRegistry);
if (preallocateIdsBuilder_ == null) {
ensurePreallocateIdsIsMutable();
preallocateIds_.add(m);
} else {
preallocateIdsBuilder_.addMessage(m);
}
break;
} // case 34
case 42: {
org.finos.tracdap.metadata.TagHeader m =
input.readMessage(
org.finos.tracdap.metadata.TagHeader.parser(),
extensionRegistry);
if (createPreallocatedObjectsBuilder_ == null) {
ensureCreatePreallocatedObjectsIsMutable();
createPreallocatedObjects_.add(m);
} else {
createPreallocatedObjectsBuilder_.addMessage(m);
}
break;
} // case 42
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.util.List createObjects_ =
java.util.Collections.emptyList();
private void ensureCreateObjectsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
createObjects_ = new java.util.ArrayList(createObjects_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
org.finos.tracdap.metadata.TagHeader, org.finos.tracdap.metadata.TagHeader.Builder, org.finos.tracdap.metadata.TagHeaderOrBuilder> createObjectsBuilder_;
/**
*
* *
* IDs for objects created using createObject()
*
*
* repeated .tracdap.metadata.TagHeader createObjects = 1;
*/
public java.util.List getCreateObjectsList() {
if (createObjectsBuilder_ == null) {
return java.util.Collections.unmodifiableList(createObjects_);
} else {
return createObjectsBuilder_.getMessageList();
}
}
/**
*
* *
* IDs for objects created using createObject()
*
*
* repeated .tracdap.metadata.TagHeader createObjects = 1;
*/
public int getCreateObjectsCount() {
if (createObjectsBuilder_ == null) {
return createObjects_.size();
} else {
return createObjectsBuilder_.getCount();
}
}
/**
*
* *
* IDs for objects created using createObject()
*
*
* repeated .tracdap.metadata.TagHeader createObjects = 1;
*/
public org.finos.tracdap.metadata.TagHeader getCreateObjects(int index) {
if (createObjectsBuilder_ == null) {
return createObjects_.get(index);
} else {
return createObjectsBuilder_.getMessage(index);
}
}
/**
*
* *
* IDs for objects created using createObject()
*
*
* repeated .tracdap.metadata.TagHeader createObjects = 1;
*/
public Builder setCreateObjects(
int index, org.finos.tracdap.metadata.TagHeader value) {
if (createObjectsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCreateObjectsIsMutable();
createObjects_.set(index, value);
onChanged();
} else {
createObjectsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* *
* IDs for objects created using createObject()
*
*
* repeated .tracdap.metadata.TagHeader createObjects = 1;
*/
public Builder setCreateObjects(
int index, org.finos.tracdap.metadata.TagHeader.Builder builderForValue) {
if (createObjectsBuilder_ == null) {
ensureCreateObjectsIsMutable();
createObjects_.set(index, builderForValue.build());
onChanged();
} else {
createObjectsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* *
* IDs for objects created using createObject()
*
*
* repeated .tracdap.metadata.TagHeader createObjects = 1;
*/
public Builder addCreateObjects(org.finos.tracdap.metadata.TagHeader value) {
if (createObjectsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCreateObjectsIsMutable();
createObjects_.add(value);
onChanged();
} else {
createObjectsBuilder_.addMessage(value);
}
return this;
}
/**
*
* *
* IDs for objects created using createObject()
*
*
* repeated .tracdap.metadata.TagHeader createObjects = 1;
*/
public Builder addCreateObjects(
int index, org.finos.tracdap.metadata.TagHeader value) {
if (createObjectsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCreateObjectsIsMutable();
createObjects_.add(index, value);
onChanged();
} else {
createObjectsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* *
* IDs for objects created using createObject()
*
*
* repeated .tracdap.metadata.TagHeader createObjects = 1;
*/
public Builder addCreateObjects(
org.finos.tracdap.metadata.TagHeader.Builder builderForValue) {
if (createObjectsBuilder_ == null) {
ensureCreateObjectsIsMutable();
createObjects_.add(builderForValue.build());
onChanged();
} else {
createObjectsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* *
* IDs for objects created using createObject()
*
*
* repeated .tracdap.metadata.TagHeader createObjects = 1;
*/
public Builder addCreateObjects(
int index, org.finos.tracdap.metadata.TagHeader.Builder builderForValue) {
if (createObjectsBuilder_ == null) {
ensureCreateObjectsIsMutable();
createObjects_.add(index, builderForValue.build());
onChanged();
} else {
createObjectsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* *
* IDs for objects created using createObject()
*
*
* repeated .tracdap.metadata.TagHeader createObjects = 1;
*/
public Builder addAllCreateObjects(
java.lang.Iterable extends org.finos.tracdap.metadata.TagHeader> values) {
if (createObjectsBuilder_ == null) {
ensureCreateObjectsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, createObjects_);
onChanged();
} else {
createObjectsBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* *
* IDs for objects created using createObject()
*
*
* repeated .tracdap.metadata.TagHeader createObjects = 1;
*/
public Builder clearCreateObjects() {
if (createObjectsBuilder_ == null) {
createObjects_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
createObjectsBuilder_.clear();
}
return this;
}
/**
*
* *
* IDs for objects created using createObject()
*
*
* repeated .tracdap.metadata.TagHeader createObjects = 1;
*/
public Builder removeCreateObjects(int index) {
if (createObjectsBuilder_ == null) {
ensureCreateObjectsIsMutable();
createObjects_.remove(index);
onChanged();
} else {
createObjectsBuilder_.remove(index);
}
return this;
}
/**
*
* *
* IDs for objects created using createObject()
*
*
* repeated .tracdap.metadata.TagHeader createObjects = 1;
*/
public org.finos.tracdap.metadata.TagHeader.Builder getCreateObjectsBuilder(
int index) {
return getCreateObjectsFieldBuilder().getBuilder(index);
}
/**
*
* *
* IDs for objects created using createObject()
*
*
* repeated .tracdap.metadata.TagHeader createObjects = 1;
*/
public org.finos.tracdap.metadata.TagHeaderOrBuilder getCreateObjectsOrBuilder(
int index) {
if (createObjectsBuilder_ == null) {
return createObjects_.get(index); } else {
return createObjectsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* *
* IDs for objects created using createObject()
*
*
* repeated .tracdap.metadata.TagHeader createObjects = 1;
*/
public java.util.List extends org.finos.tracdap.metadata.TagHeaderOrBuilder>
getCreateObjectsOrBuilderList() {
if (createObjectsBuilder_ != null) {
return createObjectsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(createObjects_);
}
}
/**
*
* *
* IDs for objects created using createObject()
*
*
* repeated .tracdap.metadata.TagHeader createObjects = 1;
*/
public org.finos.tracdap.metadata.TagHeader.Builder addCreateObjectsBuilder() {
return getCreateObjectsFieldBuilder().addBuilder(
org.finos.tracdap.metadata.TagHeader.getDefaultInstance());
}
/**
*
* *
* IDs for objects created using createObject()
*
*
* repeated .tracdap.metadata.TagHeader createObjects = 1;
*/
public org.finos.tracdap.metadata.TagHeader.Builder addCreateObjectsBuilder(
int index) {
return getCreateObjectsFieldBuilder().addBuilder(
index, org.finos.tracdap.metadata.TagHeader.getDefaultInstance());
}
/**
*
* *
* IDs for objects created using createObject()
*
*
* repeated .tracdap.metadata.TagHeader createObjects = 1;
*/
public java.util.List
getCreateObjectsBuilderList() {
return getCreateObjectsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
org.finos.tracdap.metadata.TagHeader, org.finos.tracdap.metadata.TagHeader.Builder, org.finos.tracdap.metadata.TagHeaderOrBuilder>
getCreateObjectsFieldBuilder() {
if (createObjectsBuilder_ == null) {
createObjectsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
org.finos.tracdap.metadata.TagHeader, org.finos.tracdap.metadata.TagHeader.Builder, org.finos.tracdap.metadata.TagHeaderOrBuilder>(
createObjects_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
createObjects_ = null;
}
return createObjectsBuilder_;
}
private java.util.List updateObjects_ =
java.util.Collections.emptyList();
private void ensureUpdateObjectsIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
updateObjects_ = new java.util.ArrayList(updateObjects_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
org.finos.tracdap.metadata.TagHeader, org.finos.tracdap.metadata.TagHeader.Builder, org.finos.tracdap.metadata.TagHeaderOrBuilder> updateObjectsBuilder_;
/**
*
* *
* IDs for objects updated using updateObject()
*
*
* repeated .tracdap.metadata.TagHeader updateObjects = 2;
*/
public java.util.List getUpdateObjectsList() {
if (updateObjectsBuilder_ == null) {
return java.util.Collections.unmodifiableList(updateObjects_);
} else {
return updateObjectsBuilder_.getMessageList();
}
}
/**
*
* *
* IDs for objects updated using updateObject()
*
*
* repeated .tracdap.metadata.TagHeader updateObjects = 2;
*/
public int getUpdateObjectsCount() {
if (updateObjectsBuilder_ == null) {
return updateObjects_.size();
} else {
return updateObjectsBuilder_.getCount();
}
}
/**
*
* *
* IDs for objects updated using updateObject()
*
*
* repeated .tracdap.metadata.TagHeader updateObjects = 2;
*/
public org.finos.tracdap.metadata.TagHeader getUpdateObjects(int index) {
if (updateObjectsBuilder_ == null) {
return updateObjects_.get(index);
} else {
return updateObjectsBuilder_.getMessage(index);
}
}
/**
*
* *
* IDs for objects updated using updateObject()
*
*
* repeated .tracdap.metadata.TagHeader updateObjects = 2;
*/
public Builder setUpdateObjects(
int index, org.finos.tracdap.metadata.TagHeader value) {
if (updateObjectsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUpdateObjectsIsMutable();
updateObjects_.set(index, value);
onChanged();
} else {
updateObjectsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* *
* IDs for objects updated using updateObject()
*
*
* repeated .tracdap.metadata.TagHeader updateObjects = 2;
*/
public Builder setUpdateObjects(
int index, org.finos.tracdap.metadata.TagHeader.Builder builderForValue) {
if (updateObjectsBuilder_ == null) {
ensureUpdateObjectsIsMutable();
updateObjects_.set(index, builderForValue.build());
onChanged();
} else {
updateObjectsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* *
* IDs for objects updated using updateObject()
*
*
* repeated .tracdap.metadata.TagHeader updateObjects = 2;
*/
public Builder addUpdateObjects(org.finos.tracdap.metadata.TagHeader value) {
if (updateObjectsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUpdateObjectsIsMutable();
updateObjects_.add(value);
onChanged();
} else {
updateObjectsBuilder_.addMessage(value);
}
return this;
}
/**
*
* *
* IDs for objects updated using updateObject()
*
*
* repeated .tracdap.metadata.TagHeader updateObjects = 2;
*/
public Builder addUpdateObjects(
int index, org.finos.tracdap.metadata.TagHeader value) {
if (updateObjectsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUpdateObjectsIsMutable();
updateObjects_.add(index, value);
onChanged();
} else {
updateObjectsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* *
* IDs for objects updated using updateObject()
*
*
* repeated .tracdap.metadata.TagHeader updateObjects = 2;
*/
public Builder addUpdateObjects(
org.finos.tracdap.metadata.TagHeader.Builder builderForValue) {
if (updateObjectsBuilder_ == null) {
ensureUpdateObjectsIsMutable();
updateObjects_.add(builderForValue.build());
onChanged();
} else {
updateObjectsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* *
* IDs for objects updated using updateObject()
*
*
* repeated .tracdap.metadata.TagHeader updateObjects = 2;
*/
public Builder addUpdateObjects(
int index, org.finos.tracdap.metadata.TagHeader.Builder builderForValue) {
if (updateObjectsBuilder_ == null) {
ensureUpdateObjectsIsMutable();
updateObjects_.add(index, builderForValue.build());
onChanged();
} else {
updateObjectsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* *
* IDs for objects updated using updateObject()
*
*
* repeated .tracdap.metadata.TagHeader updateObjects = 2;
*/
public Builder addAllUpdateObjects(
java.lang.Iterable extends org.finos.tracdap.metadata.TagHeader> values) {
if (updateObjectsBuilder_ == null) {
ensureUpdateObjectsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, updateObjects_);
onChanged();
} else {
updateObjectsBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* *
* IDs for objects updated using updateObject()
*
*
* repeated .tracdap.metadata.TagHeader updateObjects = 2;
*/
public Builder clearUpdateObjects() {
if (updateObjectsBuilder_ == null) {
updateObjects_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
updateObjectsBuilder_.clear();
}
return this;
}
/**
*
* *
* IDs for objects updated using updateObject()
*
*
* repeated .tracdap.metadata.TagHeader updateObjects = 2;
*/
public Builder removeUpdateObjects(int index) {
if (updateObjectsBuilder_ == null) {
ensureUpdateObjectsIsMutable();
updateObjects_.remove(index);
onChanged();
} else {
updateObjectsBuilder_.remove(index);
}
return this;
}
/**
*
* *
* IDs for objects updated using updateObject()
*
*
* repeated .tracdap.metadata.TagHeader updateObjects = 2;
*/
public org.finos.tracdap.metadata.TagHeader.Builder getUpdateObjectsBuilder(
int index) {
return getUpdateObjectsFieldBuilder().getBuilder(index);
}
/**
*
* *
* IDs for objects updated using updateObject()
*
*
* repeated .tracdap.metadata.TagHeader updateObjects = 2;
*/
public org.finos.tracdap.metadata.TagHeaderOrBuilder getUpdateObjectsOrBuilder(
int index) {
if (updateObjectsBuilder_ == null) {
return updateObjects_.get(index); } else {
return updateObjectsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* *
* IDs for objects updated using updateObject()
*
*
* repeated .tracdap.metadata.TagHeader updateObjects = 2;
*/
public java.util.List extends org.finos.tracdap.metadata.TagHeaderOrBuilder>
getUpdateObjectsOrBuilderList() {
if (updateObjectsBuilder_ != null) {
return updateObjectsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(updateObjects_);
}
}
/**
*
* *
* IDs for objects updated using updateObject()
*
*
* repeated .tracdap.metadata.TagHeader updateObjects = 2;
*/
public org.finos.tracdap.metadata.TagHeader.Builder addUpdateObjectsBuilder() {
return getUpdateObjectsFieldBuilder().addBuilder(
org.finos.tracdap.metadata.TagHeader.getDefaultInstance());
}
/**
*
* *
* IDs for objects updated using updateObject()
*
*
* repeated .tracdap.metadata.TagHeader updateObjects = 2;
*/
public org.finos.tracdap.metadata.TagHeader.Builder addUpdateObjectsBuilder(
int index) {
return getUpdateObjectsFieldBuilder().addBuilder(
index, org.finos.tracdap.metadata.TagHeader.getDefaultInstance());
}
/**
*
* *
* IDs for objects updated using updateObject()
*
*
* repeated .tracdap.metadata.TagHeader updateObjects = 2;
*/
public java.util.List
getUpdateObjectsBuilderList() {
return getUpdateObjectsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
org.finos.tracdap.metadata.TagHeader, org.finos.tracdap.metadata.TagHeader.Builder, org.finos.tracdap.metadata.TagHeaderOrBuilder>
getUpdateObjectsFieldBuilder() {
if (updateObjectsBuilder_ == null) {
updateObjectsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
org.finos.tracdap.metadata.TagHeader, org.finos.tracdap.metadata.TagHeader.Builder, org.finos.tracdap.metadata.TagHeaderOrBuilder>(
updateObjects_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
updateObjects_ = null;
}
return updateObjectsBuilder_;
}
private java.util.List updateTags_ =
java.util.Collections.emptyList();
private void ensureUpdateTagsIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
updateTags_ = new java.util.ArrayList(updateTags_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
org.finos.tracdap.metadata.TagHeader, org.finos.tracdap.metadata.TagHeader.Builder, org.finos.tracdap.metadata.TagHeaderOrBuilder> updateTagsBuilder_;
/**
*
* *
* IDs for tags updated using updateTag()
*
*
* repeated .tracdap.metadata.TagHeader updateTags = 3;
*/
public java.util.List getUpdateTagsList() {
if (updateTagsBuilder_ == null) {
return java.util.Collections.unmodifiableList(updateTags_);
} else {
return updateTagsBuilder_.getMessageList();
}
}
/**
*
* *
* IDs for tags updated using updateTag()
*
*
* repeated .tracdap.metadata.TagHeader updateTags = 3;
*/
public int getUpdateTagsCount() {
if (updateTagsBuilder_ == null) {
return updateTags_.size();
} else {
return updateTagsBuilder_.getCount();
}
}
/**
*
* *
* IDs for tags updated using updateTag()
*
*
* repeated .tracdap.metadata.TagHeader updateTags = 3;
*/
public org.finos.tracdap.metadata.TagHeader getUpdateTags(int index) {
if (updateTagsBuilder_ == null) {
return updateTags_.get(index);
} else {
return updateTagsBuilder_.getMessage(index);
}
}
/**
*
* *
* IDs for tags updated using updateTag()
*
*
* repeated .tracdap.metadata.TagHeader updateTags = 3;
*/
public Builder setUpdateTags(
int index, org.finos.tracdap.metadata.TagHeader value) {
if (updateTagsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUpdateTagsIsMutable();
updateTags_.set(index, value);
onChanged();
} else {
updateTagsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* *
* IDs for tags updated using updateTag()
*
*
* repeated .tracdap.metadata.TagHeader updateTags = 3;
*/
public Builder setUpdateTags(
int index, org.finos.tracdap.metadata.TagHeader.Builder builderForValue) {
if (updateTagsBuilder_ == null) {
ensureUpdateTagsIsMutable();
updateTags_.set(index, builderForValue.build());
onChanged();
} else {
updateTagsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* *
* IDs for tags updated using updateTag()
*
*
* repeated .tracdap.metadata.TagHeader updateTags = 3;
*/
public Builder addUpdateTags(org.finos.tracdap.metadata.TagHeader value) {
if (updateTagsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUpdateTagsIsMutable();
updateTags_.add(value);
onChanged();
} else {
updateTagsBuilder_.addMessage(value);
}
return this;
}
/**
*
* *
* IDs for tags updated using updateTag()
*
*
* repeated .tracdap.metadata.TagHeader updateTags = 3;
*/
public Builder addUpdateTags(
int index, org.finos.tracdap.metadata.TagHeader value) {
if (updateTagsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUpdateTagsIsMutable();
updateTags_.add(index, value);
onChanged();
} else {
updateTagsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* *
* IDs for tags updated using updateTag()
*
*
* repeated .tracdap.metadata.TagHeader updateTags = 3;
*/
public Builder addUpdateTags(
org.finos.tracdap.metadata.TagHeader.Builder builderForValue) {
if (updateTagsBuilder_ == null) {
ensureUpdateTagsIsMutable();
updateTags_.add(builderForValue.build());
onChanged();
} else {
updateTagsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* *
* IDs for tags updated using updateTag()
*
*
* repeated .tracdap.metadata.TagHeader updateTags = 3;
*/
public Builder addUpdateTags(
int index, org.finos.tracdap.metadata.TagHeader.Builder builderForValue) {
if (updateTagsBuilder_ == null) {
ensureUpdateTagsIsMutable();
updateTags_.add(index, builderForValue.build());
onChanged();
} else {
updateTagsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* *
* IDs for tags updated using updateTag()
*
*
* repeated .tracdap.metadata.TagHeader updateTags = 3;
*/
public Builder addAllUpdateTags(
java.lang.Iterable extends org.finos.tracdap.metadata.TagHeader> values) {
if (updateTagsBuilder_ == null) {
ensureUpdateTagsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, updateTags_);
onChanged();
} else {
updateTagsBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* *
* IDs for tags updated using updateTag()
*
*
* repeated .tracdap.metadata.TagHeader updateTags = 3;
*/
public Builder clearUpdateTags() {
if (updateTagsBuilder_ == null) {
updateTags_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
updateTagsBuilder_.clear();
}
return this;
}
/**
*
* *
* IDs for tags updated using updateTag()
*
*
* repeated .tracdap.metadata.TagHeader updateTags = 3;
*/
public Builder removeUpdateTags(int index) {
if (updateTagsBuilder_ == null) {
ensureUpdateTagsIsMutable();
updateTags_.remove(index);
onChanged();
} else {
updateTagsBuilder_.remove(index);
}
return this;
}
/**
*
* *
* IDs for tags updated using updateTag()
*
*
* repeated .tracdap.metadata.TagHeader updateTags = 3;
*/
public org.finos.tracdap.metadata.TagHeader.Builder getUpdateTagsBuilder(
int index) {
return getUpdateTagsFieldBuilder().getBuilder(index);
}
/**
*
* *
* IDs for tags updated using updateTag()
*
*
* repeated .tracdap.metadata.TagHeader updateTags = 3;
*/
public org.finos.tracdap.metadata.TagHeaderOrBuilder getUpdateTagsOrBuilder(
int index) {
if (updateTagsBuilder_ == null) {
return updateTags_.get(index); } else {
return updateTagsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* *
* IDs for tags updated using updateTag()
*
*
* repeated .tracdap.metadata.TagHeader updateTags = 3;
*/
public java.util.List extends org.finos.tracdap.metadata.TagHeaderOrBuilder>
getUpdateTagsOrBuilderList() {
if (updateTagsBuilder_ != null) {
return updateTagsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(updateTags_);
}
}
/**
*
* *
* IDs for tags updated using updateTag()
*
*
* repeated .tracdap.metadata.TagHeader updateTags = 3;
*/
public org.finos.tracdap.metadata.TagHeader.Builder addUpdateTagsBuilder() {
return getUpdateTagsFieldBuilder().addBuilder(
org.finos.tracdap.metadata.TagHeader.getDefaultInstance());
}
/**
*
* *
* IDs for tags updated using updateTag()
*
*
* repeated .tracdap.metadata.TagHeader updateTags = 3;
*/
public org.finos.tracdap.metadata.TagHeader.Builder addUpdateTagsBuilder(
int index) {
return getUpdateTagsFieldBuilder().addBuilder(
index, org.finos.tracdap.metadata.TagHeader.getDefaultInstance());
}
/**
*
* *
* IDs for tags updated using updateTag()
*
*
* repeated .tracdap.metadata.TagHeader updateTags = 3;
*/
public java.util.List
getUpdateTagsBuilderList() {
return getUpdateTagsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
org.finos.tracdap.metadata.TagHeader, org.finos.tracdap.metadata.TagHeader.Builder, org.finos.tracdap.metadata.TagHeaderOrBuilder>
getUpdateTagsFieldBuilder() {
if (updateTagsBuilder_ == null) {
updateTagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
org.finos.tracdap.metadata.TagHeader, org.finos.tracdap.metadata.TagHeader.Builder, org.finos.tracdap.metadata.TagHeaderOrBuilder>(
updateTags_,
((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
updateTags_ = null;
}
return updateTagsBuilder_;
}
private java.util.List preallocateIds_ =
java.util.Collections.emptyList();
private void ensurePreallocateIdsIsMutable() {
if (!((bitField0_ & 0x00000008) != 0)) {
preallocateIds_ = new java.util.ArrayList(preallocateIds_);
bitField0_ |= 0x00000008;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
org.finos.tracdap.metadata.TagHeader, org.finos.tracdap.metadata.TagHeader.Builder, org.finos.tracdap.metadata.TagHeaderOrBuilder> preallocateIdsBuilder_;
/**
*
* *
* IDs created using preallocateId()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader preallocateIds = 4;
*/
public java.util.List getPreallocateIdsList() {
if (preallocateIdsBuilder_ == null) {
return java.util.Collections.unmodifiableList(preallocateIds_);
} else {
return preallocateIdsBuilder_.getMessageList();
}
}
/**
*
* *
* IDs created using preallocateId()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader preallocateIds = 4;
*/
public int getPreallocateIdsCount() {
if (preallocateIdsBuilder_ == null) {
return preallocateIds_.size();
} else {
return preallocateIdsBuilder_.getCount();
}
}
/**
*
* *
* IDs created using preallocateId()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader preallocateIds = 4;
*/
public org.finos.tracdap.metadata.TagHeader getPreallocateIds(int index) {
if (preallocateIdsBuilder_ == null) {
return preallocateIds_.get(index);
} else {
return preallocateIdsBuilder_.getMessage(index);
}
}
/**
*
* *
* IDs created using preallocateId()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader preallocateIds = 4;
*/
public Builder setPreallocateIds(
int index, org.finos.tracdap.metadata.TagHeader value) {
if (preallocateIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePreallocateIdsIsMutable();
preallocateIds_.set(index, value);
onChanged();
} else {
preallocateIdsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* *
* IDs created using preallocateId()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader preallocateIds = 4;
*/
public Builder setPreallocateIds(
int index, org.finos.tracdap.metadata.TagHeader.Builder builderForValue) {
if (preallocateIdsBuilder_ == null) {
ensurePreallocateIdsIsMutable();
preallocateIds_.set(index, builderForValue.build());
onChanged();
} else {
preallocateIdsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* *
* IDs created using preallocateId()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader preallocateIds = 4;
*/
public Builder addPreallocateIds(org.finos.tracdap.metadata.TagHeader value) {
if (preallocateIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePreallocateIdsIsMutable();
preallocateIds_.add(value);
onChanged();
} else {
preallocateIdsBuilder_.addMessage(value);
}
return this;
}
/**
*
* *
* IDs created using preallocateId()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader preallocateIds = 4;
*/
public Builder addPreallocateIds(
int index, org.finos.tracdap.metadata.TagHeader value) {
if (preallocateIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePreallocateIdsIsMutable();
preallocateIds_.add(index, value);
onChanged();
} else {
preallocateIdsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* *
* IDs created using preallocateId()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader preallocateIds = 4;
*/
public Builder addPreallocateIds(
org.finos.tracdap.metadata.TagHeader.Builder builderForValue) {
if (preallocateIdsBuilder_ == null) {
ensurePreallocateIdsIsMutable();
preallocateIds_.add(builderForValue.build());
onChanged();
} else {
preallocateIdsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* *
* IDs created using preallocateId()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader preallocateIds = 4;
*/
public Builder addPreallocateIds(
int index, org.finos.tracdap.metadata.TagHeader.Builder builderForValue) {
if (preallocateIdsBuilder_ == null) {
ensurePreallocateIdsIsMutable();
preallocateIds_.add(index, builderForValue.build());
onChanged();
} else {
preallocateIdsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* *
* IDs created using preallocateId()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader preallocateIds = 4;
*/
public Builder addAllPreallocateIds(
java.lang.Iterable extends org.finos.tracdap.metadata.TagHeader> values) {
if (preallocateIdsBuilder_ == null) {
ensurePreallocateIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, preallocateIds_);
onChanged();
} else {
preallocateIdsBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* *
* IDs created using preallocateId()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader preallocateIds = 4;
*/
public Builder clearPreallocateIds() {
if (preallocateIdsBuilder_ == null) {
preallocateIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
preallocateIdsBuilder_.clear();
}
return this;
}
/**
*
* *
* IDs created using preallocateId()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader preallocateIds = 4;
*/
public Builder removePreallocateIds(int index) {
if (preallocateIdsBuilder_ == null) {
ensurePreallocateIdsIsMutable();
preallocateIds_.remove(index);
onChanged();
} else {
preallocateIdsBuilder_.remove(index);
}
return this;
}
/**
*
* *
* IDs created using preallocateId()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader preallocateIds = 4;
*/
public org.finos.tracdap.metadata.TagHeader.Builder getPreallocateIdsBuilder(
int index) {
return getPreallocateIdsFieldBuilder().getBuilder(index);
}
/**
*
* *
* IDs created using preallocateId()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader preallocateIds = 4;
*/
public org.finos.tracdap.metadata.TagHeaderOrBuilder getPreallocateIdsOrBuilder(
int index) {
if (preallocateIdsBuilder_ == null) {
return preallocateIds_.get(index); } else {
return preallocateIdsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* *
* IDs created using preallocateId()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader preallocateIds = 4;
*/
public java.util.List extends org.finos.tracdap.metadata.TagHeaderOrBuilder>
getPreallocateIdsOrBuilderList() {
if (preallocateIdsBuilder_ != null) {
return preallocateIdsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(preallocateIds_);
}
}
/**
*
* *
* IDs created using preallocateId()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader preallocateIds = 4;
*/
public org.finos.tracdap.metadata.TagHeader.Builder addPreallocateIdsBuilder() {
return getPreallocateIdsFieldBuilder().addBuilder(
org.finos.tracdap.metadata.TagHeader.getDefaultInstance());
}
/**
*
* *
* IDs created using preallocateId()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader preallocateIds = 4;
*/
public org.finos.tracdap.metadata.TagHeader.Builder addPreallocateIdsBuilder(
int index) {
return getPreallocateIdsFieldBuilder().addBuilder(
index, org.finos.tracdap.metadata.TagHeader.getDefaultInstance());
}
/**
*
* *
* IDs created using preallocateId()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader preallocateIds = 4;
*/
public java.util.List
getPreallocateIdsBuilderList() {
return getPreallocateIdsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
org.finos.tracdap.metadata.TagHeader, org.finos.tracdap.metadata.TagHeader.Builder, org.finos.tracdap.metadata.TagHeaderOrBuilder>
getPreallocateIdsFieldBuilder() {
if (preallocateIdsBuilder_ == null) {
preallocateIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
org.finos.tracdap.metadata.TagHeader, org.finos.tracdap.metadata.TagHeader.Builder, org.finos.tracdap.metadata.TagHeaderOrBuilder>(
preallocateIds_,
((bitField0_ & 0x00000008) != 0),
getParentForChildren(),
isClean());
preallocateIds_ = null;
}
return preallocateIdsBuilder_;
}
private java.util.List createPreallocatedObjects_ =
java.util.Collections.emptyList();
private void ensureCreatePreallocatedObjectsIsMutable() {
if (!((bitField0_ & 0x00000010) != 0)) {
createPreallocatedObjects_ = new java.util.ArrayList(createPreallocatedObjects_);
bitField0_ |= 0x00000010;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
org.finos.tracdap.metadata.TagHeader, org.finos.tracdap.metadata.TagHeader.Builder, org.finos.tracdap.metadata.TagHeaderOrBuilder> createPreallocatedObjectsBuilder_;
/**
*
* *
* IDs for objects created using createPreallocatedObject()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader createPreallocatedObjects = 5;
*/
public java.util.List getCreatePreallocatedObjectsList() {
if (createPreallocatedObjectsBuilder_ == null) {
return java.util.Collections.unmodifiableList(createPreallocatedObjects_);
} else {
return createPreallocatedObjectsBuilder_.getMessageList();
}
}
/**
*
* *
* IDs for objects created using createPreallocatedObject()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader createPreallocatedObjects = 5;
*/
public int getCreatePreallocatedObjectsCount() {
if (createPreallocatedObjectsBuilder_ == null) {
return createPreallocatedObjects_.size();
} else {
return createPreallocatedObjectsBuilder_.getCount();
}
}
/**
*
* *
* IDs for objects created using createPreallocatedObject()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader createPreallocatedObjects = 5;
*/
public org.finos.tracdap.metadata.TagHeader getCreatePreallocatedObjects(int index) {
if (createPreallocatedObjectsBuilder_ == null) {
return createPreallocatedObjects_.get(index);
} else {
return createPreallocatedObjectsBuilder_.getMessage(index);
}
}
/**
*
* *
* IDs for objects created using createPreallocatedObject()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader createPreallocatedObjects = 5;
*/
public Builder setCreatePreallocatedObjects(
int index, org.finos.tracdap.metadata.TagHeader value) {
if (createPreallocatedObjectsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCreatePreallocatedObjectsIsMutable();
createPreallocatedObjects_.set(index, value);
onChanged();
} else {
createPreallocatedObjectsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* *
* IDs for objects created using createPreallocatedObject()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader createPreallocatedObjects = 5;
*/
public Builder setCreatePreallocatedObjects(
int index, org.finos.tracdap.metadata.TagHeader.Builder builderForValue) {
if (createPreallocatedObjectsBuilder_ == null) {
ensureCreatePreallocatedObjectsIsMutable();
createPreallocatedObjects_.set(index, builderForValue.build());
onChanged();
} else {
createPreallocatedObjectsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* *
* IDs for objects created using createPreallocatedObject()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader createPreallocatedObjects = 5;
*/
public Builder addCreatePreallocatedObjects(org.finos.tracdap.metadata.TagHeader value) {
if (createPreallocatedObjectsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCreatePreallocatedObjectsIsMutable();
createPreallocatedObjects_.add(value);
onChanged();
} else {
createPreallocatedObjectsBuilder_.addMessage(value);
}
return this;
}
/**
*
* *
* IDs for objects created using createPreallocatedObject()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader createPreallocatedObjects = 5;
*/
public Builder addCreatePreallocatedObjects(
int index, org.finos.tracdap.metadata.TagHeader value) {
if (createPreallocatedObjectsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCreatePreallocatedObjectsIsMutable();
createPreallocatedObjects_.add(index, value);
onChanged();
} else {
createPreallocatedObjectsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* *
* IDs for objects created using createPreallocatedObject()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader createPreallocatedObjects = 5;
*/
public Builder addCreatePreallocatedObjects(
org.finos.tracdap.metadata.TagHeader.Builder builderForValue) {
if (createPreallocatedObjectsBuilder_ == null) {
ensureCreatePreallocatedObjectsIsMutable();
createPreallocatedObjects_.add(builderForValue.build());
onChanged();
} else {
createPreallocatedObjectsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* *
* IDs for objects created using createPreallocatedObject()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader createPreallocatedObjects = 5;
*/
public Builder addCreatePreallocatedObjects(
int index, org.finos.tracdap.metadata.TagHeader.Builder builderForValue) {
if (createPreallocatedObjectsBuilder_ == null) {
ensureCreatePreallocatedObjectsIsMutable();
createPreallocatedObjects_.add(index, builderForValue.build());
onChanged();
} else {
createPreallocatedObjectsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* *
* IDs for objects created using createPreallocatedObject()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader createPreallocatedObjects = 5;
*/
public Builder addAllCreatePreallocatedObjects(
java.lang.Iterable extends org.finos.tracdap.metadata.TagHeader> values) {
if (createPreallocatedObjectsBuilder_ == null) {
ensureCreatePreallocatedObjectsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, createPreallocatedObjects_);
onChanged();
} else {
createPreallocatedObjectsBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* *
* IDs for objects created using createPreallocatedObject()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader createPreallocatedObjects = 5;
*/
public Builder clearCreatePreallocatedObjects() {
if (createPreallocatedObjectsBuilder_ == null) {
createPreallocatedObjects_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
} else {
createPreallocatedObjectsBuilder_.clear();
}
return this;
}
/**
*
* *
* IDs for objects created using createPreallocatedObject()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader createPreallocatedObjects = 5;
*/
public Builder removeCreatePreallocatedObjects(int index) {
if (createPreallocatedObjectsBuilder_ == null) {
ensureCreatePreallocatedObjectsIsMutable();
createPreallocatedObjects_.remove(index);
onChanged();
} else {
createPreallocatedObjectsBuilder_.remove(index);
}
return this;
}
/**
*
* *
* IDs for objects created using createPreallocatedObject()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader createPreallocatedObjects = 5;
*/
public org.finos.tracdap.metadata.TagHeader.Builder getCreatePreallocatedObjectsBuilder(
int index) {
return getCreatePreallocatedObjectsFieldBuilder().getBuilder(index);
}
/**
*
* *
* IDs for objects created using createPreallocatedObject()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader createPreallocatedObjects = 5;
*/
public org.finos.tracdap.metadata.TagHeaderOrBuilder getCreatePreallocatedObjectsOrBuilder(
int index) {
if (createPreallocatedObjectsBuilder_ == null) {
return createPreallocatedObjects_.get(index); } else {
return createPreallocatedObjectsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* *
* IDs for objects created using createPreallocatedObject()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader createPreallocatedObjects = 5;
*/
public java.util.List extends org.finos.tracdap.metadata.TagHeaderOrBuilder>
getCreatePreallocatedObjectsOrBuilderList() {
if (createPreallocatedObjectsBuilder_ != null) {
return createPreallocatedObjectsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(createPreallocatedObjects_);
}
}
/**
*
* *
* IDs for objects created using createPreallocatedObject()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader createPreallocatedObjects = 5;
*/
public org.finos.tracdap.metadata.TagHeader.Builder addCreatePreallocatedObjectsBuilder() {
return getCreatePreallocatedObjectsFieldBuilder().addBuilder(
org.finos.tracdap.metadata.TagHeader.getDefaultInstance());
}
/**
*
* *
* IDs for objects created using createPreallocatedObject()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader createPreallocatedObjects = 5;
*/
public org.finos.tracdap.metadata.TagHeader.Builder addCreatePreallocatedObjectsBuilder(
int index) {
return getCreatePreallocatedObjectsFieldBuilder().addBuilder(
index, org.finos.tracdap.metadata.TagHeader.getDefaultInstance());
}
/**
*
* *
* IDs for objects created using createPreallocatedObject()
*
* This response type is only available in the internal metadata API.
*
*
* repeated .tracdap.metadata.TagHeader createPreallocatedObjects = 5;
*/
public java.util.List
getCreatePreallocatedObjectsBuilderList() {
return getCreatePreallocatedObjectsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
org.finos.tracdap.metadata.TagHeader, org.finos.tracdap.metadata.TagHeader.Builder, org.finos.tracdap.metadata.TagHeaderOrBuilder>
getCreatePreallocatedObjectsFieldBuilder() {
if (createPreallocatedObjectsBuilder_ == null) {
createPreallocatedObjectsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
org.finos.tracdap.metadata.TagHeader, org.finos.tracdap.metadata.TagHeader.Builder, org.finos.tracdap.metadata.TagHeaderOrBuilder>(
createPreallocatedObjects_,
((bitField0_ & 0x00000010) != 0),
getParentForChildren(),
isClean());
createPreallocatedObjects_ = null;
}
return createPreallocatedObjectsBuilder_;
}
// @@protoc_insertion_point(builder_scope:tracdap.api.MetadataWriteBatchResponse)
}
// @@protoc_insertion_point(class_scope:tracdap.api.MetadataWriteBatchResponse)
private static final org.finos.tracdap.api.MetadataWriteBatchResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.finos.tracdap.api.MetadataWriteBatchResponse();
}
public static org.finos.tracdap.api.MetadataWriteBatchResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public MetadataWriteBatchResponse 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.MetadataWriteBatchResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}