All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.finos.tracdap.api.TracErrorDetails Maven / Gradle / Ivy

Go to download

TRAC D.A.P. platform API, contains service API definitions for the TRAC platform services

There is a newer version: 0.6.3
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: tracdap/api/error.proto
// Protobuf Java Version: 4.28.2

package org.finos.tracdap.api;

/**
 * 
 * *
 * Detailed error information, available if an API call fails for any reason
 * 
* * Protobuf type {@code tracdap.api.TracErrorDetails} */ public final class TracErrorDetails extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:tracdap.api.TracErrorDetails) TracErrorDetailsOrBuilder { 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= */ "", TracErrorDetails.class.getName()); } // Use TracErrorDetails.newBuilder() to construct. private TracErrorDetails(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private TracErrorDetails() { message_ = ""; items_ = java.util.Collections.emptyList(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.finos.tracdap.api.Error.internal_static_tracdap_api_TracErrorDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.finos.tracdap.api.Error.internal_static_tracdap_api_TracErrorDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( org.finos.tracdap.api.TracErrorDetails.class, org.finos.tracdap.api.TracErrorDetails.Builder.class); } public static final int CODE_FIELD_NUMBER = 1; private int code_ = 0; /** * int32 code = 1; * @return The code. */ @java.lang.Override public int getCode() { return code_; } public static final int MESSAGE_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** * string message = 2; * @return The message. */ @java.lang.Override public java.lang.String getMessage() { java.lang.Object ref = message_; 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(); message_ = s; return s; } } /** * string message = 2; * @return The bytes for message. */ @java.lang.Override public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ITEMS_FIELD_NUMBER = 3; @SuppressWarnings("serial") private java.util.List items_; /** * repeated .tracdap.api.TracErrorItem items = 3; */ @java.lang.Override public java.util.List getItemsList() { return items_; } /** * repeated .tracdap.api.TracErrorItem items = 3; */ @java.lang.Override public java.util.List getItemsOrBuilderList() { return items_; } /** * repeated .tracdap.api.TracErrorItem items = 3; */ @java.lang.Override public int getItemsCount() { return items_.size(); } /** * repeated .tracdap.api.TracErrorItem items = 3; */ @java.lang.Override public org.finos.tracdap.api.TracErrorItem getItems(int index) { return items_.get(index); } /** * repeated .tracdap.api.TracErrorItem items = 3; */ @java.lang.Override public org.finos.tracdap.api.TracErrorItemOrBuilder getItemsOrBuilder( int index) { return items_.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 (code_ != 0) { output.writeInt32(1, code_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(message_)) { com.google.protobuf.GeneratedMessage.writeString(output, 2, message_); } for (int i = 0; i < items_.size(); i++) { output.writeMessage(3, items_.get(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (code_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, code_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(2, message_); } for (int i = 0; i < items_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, items_.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.TracErrorDetails)) { return super.equals(obj); } org.finos.tracdap.api.TracErrorDetails other = (org.finos.tracdap.api.TracErrorDetails) obj; if (getCode() != other.getCode()) return false; if (!getMessage() .equals(other.getMessage())) return false; if (!getItemsList() .equals(other.getItemsList())) 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) + CODE_FIELD_NUMBER; hash = (53 * hash) + getCode(); hash = (37 * hash) + MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getMessage().hashCode(); if (getItemsCount() > 0) { hash = (37 * hash) + ITEMS_FIELD_NUMBER; hash = (53 * hash) + getItemsList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.finos.tracdap.api.TracErrorDetails parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.finos.tracdap.api.TracErrorDetails 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.TracErrorDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.finos.tracdap.api.TracErrorDetails 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.TracErrorDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.finos.tracdap.api.TracErrorDetails parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.finos.tracdap.api.TracErrorDetails parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static org.finos.tracdap.api.TracErrorDetails 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.TracErrorDetails parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } public static org.finos.tracdap.api.TracErrorDetails 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.TracErrorDetails parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static org.finos.tracdap.api.TracErrorDetails 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.TracErrorDetails 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; } /** *
   * *
   * Detailed error information, available if an API call fails for any reason
   * 
* * Protobuf type {@code tracdap.api.TracErrorDetails} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:tracdap.api.TracErrorDetails) org.finos.tracdap.api.TracErrorDetailsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.finos.tracdap.api.Error.internal_static_tracdap_api_TracErrorDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.finos.tracdap.api.Error.internal_static_tracdap_api_TracErrorDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( org.finos.tracdap.api.TracErrorDetails.class, org.finos.tracdap.api.TracErrorDetails.Builder.class); } // Construct using org.finos.tracdap.api.TracErrorDetails.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; code_ = 0; message_ = ""; if (itemsBuilder_ == null) { items_ = java.util.Collections.emptyList(); } else { items_ = null; itemsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.finos.tracdap.api.Error.internal_static_tracdap_api_TracErrorDetails_descriptor; } @java.lang.Override public org.finos.tracdap.api.TracErrorDetails getDefaultInstanceForType() { return org.finos.tracdap.api.TracErrorDetails.getDefaultInstance(); } @java.lang.Override public org.finos.tracdap.api.TracErrorDetails build() { org.finos.tracdap.api.TracErrorDetails result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.finos.tracdap.api.TracErrorDetails buildPartial() { org.finos.tracdap.api.TracErrorDetails result = new org.finos.tracdap.api.TracErrorDetails(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(org.finos.tracdap.api.TracErrorDetails result) { if (itemsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { items_ = java.util.Collections.unmodifiableList(items_); bitField0_ = (bitField0_ & ~0x00000004); } result.items_ = items_; } else { result.items_ = itemsBuilder_.build(); } } private void buildPartial0(org.finos.tracdap.api.TracErrorDetails result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.code_ = code_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.message_ = message_; } } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.finos.tracdap.api.TracErrorDetails) { return mergeFrom((org.finos.tracdap.api.TracErrorDetails)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.finos.tracdap.api.TracErrorDetails other) { if (other == org.finos.tracdap.api.TracErrorDetails.getDefaultInstance()) return this; if (other.getCode() != 0) { setCode(other.getCode()); } if (!other.getMessage().isEmpty()) { message_ = other.message_; bitField0_ |= 0x00000002; onChanged(); } if (itemsBuilder_ == null) { if (!other.items_.isEmpty()) { if (items_.isEmpty()) { items_ = other.items_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureItemsIsMutable(); items_.addAll(other.items_); } onChanged(); } } else { if (!other.items_.isEmpty()) { if (itemsBuilder_.isEmpty()) { itemsBuilder_.dispose(); itemsBuilder_ = null; items_ = other.items_; bitField0_ = (bitField0_ & ~0x00000004); itemsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getItemsFieldBuilder() : null; } else { itemsBuilder_.addAllMessages(other.items_); } } } 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 8: { code_ = input.readInt32(); bitField0_ |= 0x00000001; break; } // case 8 case 18: { message_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { org.finos.tracdap.api.TracErrorItem m = input.readMessage( org.finos.tracdap.api.TracErrorItem.parser(), extensionRegistry); if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.add(m); } else { itemsBuilder_.addMessage(m); } break; } // case 26 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 int code_ ; /** * int32 code = 1; * @return The code. */ @java.lang.Override public int getCode() { return code_; } /** * int32 code = 1; * @param value The code to set. * @return This builder for chaining. */ public Builder setCode(int value) { code_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * int32 code = 1; * @return This builder for chaining. */ public Builder clearCode() { bitField0_ = (bitField0_ & ~0x00000001); code_ = 0; onChanged(); return this; } private java.lang.Object message_ = ""; /** * string message = 2; * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } else { return (java.lang.String) ref; } } /** * string message = 2; * @return The bytes for message. */ public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string message = 2; * @param value The message to set. * @return This builder for chaining. */ public Builder setMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } message_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * string message = 2; * @return This builder for chaining. */ public Builder clearMessage() { message_ = getDefaultInstance().getMessage(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * string message = 2; * @param value The bytes for message to set. * @return This builder for chaining. */ public Builder setMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private java.util.List items_ = java.util.Collections.emptyList(); private void ensureItemsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { items_ = new java.util.ArrayList(items_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilder< org.finos.tracdap.api.TracErrorItem, org.finos.tracdap.api.TracErrorItem.Builder, org.finos.tracdap.api.TracErrorItemOrBuilder> itemsBuilder_; /** * repeated .tracdap.api.TracErrorItem items = 3; */ public java.util.List getItemsList() { if (itemsBuilder_ == null) { return java.util.Collections.unmodifiableList(items_); } else { return itemsBuilder_.getMessageList(); } } /** * repeated .tracdap.api.TracErrorItem items = 3; */ public int getItemsCount() { if (itemsBuilder_ == null) { return items_.size(); } else { return itemsBuilder_.getCount(); } } /** * repeated .tracdap.api.TracErrorItem items = 3; */ public org.finos.tracdap.api.TracErrorItem getItems(int index) { if (itemsBuilder_ == null) { return items_.get(index); } else { return itemsBuilder_.getMessage(index); } } /** * repeated .tracdap.api.TracErrorItem items = 3; */ public Builder setItems( int index, org.finos.tracdap.api.TracErrorItem value) { if (itemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureItemsIsMutable(); items_.set(index, value); onChanged(); } else { itemsBuilder_.setMessage(index, value); } return this; } /** * repeated .tracdap.api.TracErrorItem items = 3; */ public Builder setItems( int index, org.finos.tracdap.api.TracErrorItem.Builder builderForValue) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.set(index, builderForValue.build()); onChanged(); } else { itemsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .tracdap.api.TracErrorItem items = 3; */ public Builder addItems(org.finos.tracdap.api.TracErrorItem value) { if (itemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureItemsIsMutable(); items_.add(value); onChanged(); } else { itemsBuilder_.addMessage(value); } return this; } /** * repeated .tracdap.api.TracErrorItem items = 3; */ public Builder addItems( int index, org.finos.tracdap.api.TracErrorItem value) { if (itemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureItemsIsMutable(); items_.add(index, value); onChanged(); } else { itemsBuilder_.addMessage(index, value); } return this; } /** * repeated .tracdap.api.TracErrorItem items = 3; */ public Builder addItems( org.finos.tracdap.api.TracErrorItem.Builder builderForValue) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.add(builderForValue.build()); onChanged(); } else { itemsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .tracdap.api.TracErrorItem items = 3; */ public Builder addItems( int index, org.finos.tracdap.api.TracErrorItem.Builder builderForValue) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.add(index, builderForValue.build()); onChanged(); } else { itemsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .tracdap.api.TracErrorItem items = 3; */ public Builder addAllItems( java.lang.Iterable values) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, items_); onChanged(); } else { itemsBuilder_.addAllMessages(values); } return this; } /** * repeated .tracdap.api.TracErrorItem items = 3; */ public Builder clearItems() { if (itemsBuilder_ == null) { items_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { itemsBuilder_.clear(); } return this; } /** * repeated .tracdap.api.TracErrorItem items = 3; */ public Builder removeItems(int index) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.remove(index); onChanged(); } else { itemsBuilder_.remove(index); } return this; } /** * repeated .tracdap.api.TracErrorItem items = 3; */ public org.finos.tracdap.api.TracErrorItem.Builder getItemsBuilder( int index) { return getItemsFieldBuilder().getBuilder(index); } /** * repeated .tracdap.api.TracErrorItem items = 3; */ public org.finos.tracdap.api.TracErrorItemOrBuilder getItemsOrBuilder( int index) { if (itemsBuilder_ == null) { return items_.get(index); } else { return itemsBuilder_.getMessageOrBuilder(index); } } /** * repeated .tracdap.api.TracErrorItem items = 3; */ public java.util.List getItemsOrBuilderList() { if (itemsBuilder_ != null) { return itemsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(items_); } } /** * repeated .tracdap.api.TracErrorItem items = 3; */ public org.finos.tracdap.api.TracErrorItem.Builder addItemsBuilder() { return getItemsFieldBuilder().addBuilder( org.finos.tracdap.api.TracErrorItem.getDefaultInstance()); } /** * repeated .tracdap.api.TracErrorItem items = 3; */ public org.finos.tracdap.api.TracErrorItem.Builder addItemsBuilder( int index) { return getItemsFieldBuilder().addBuilder( index, org.finos.tracdap.api.TracErrorItem.getDefaultInstance()); } /** * repeated .tracdap.api.TracErrorItem items = 3; */ public java.util.List getItemsBuilderList() { return getItemsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.finos.tracdap.api.TracErrorItem, org.finos.tracdap.api.TracErrorItem.Builder, org.finos.tracdap.api.TracErrorItemOrBuilder> getItemsFieldBuilder() { if (itemsBuilder_ == null) { itemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.finos.tracdap.api.TracErrorItem, org.finos.tracdap.api.TracErrorItem.Builder, org.finos.tracdap.api.TracErrorItemOrBuilder>( items_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); items_ = null; } return itemsBuilder_; } // @@protoc_insertion_point(builder_scope:tracdap.api.TracErrorDetails) } // @@protoc_insertion_point(class_scope:tracdap.api.TracErrorDetails) private static final org.finos.tracdap.api.TracErrorDetails DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.finos.tracdap.api.TracErrorDetails(); } public static org.finos.tracdap.api.TracErrorDetails getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TracErrorDetails 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.TracErrorDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy