com.salesforce.eventbus.protobuf.SchemaInfo Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: pubsub_api.proto
package com.salesforce.eventbus.protobuf;
/**
*
*
* Response for the GetSchema RPC method. This returns the schema ID and schema of an event.
*
*
* Protobuf type {@code eventbus.v1.SchemaInfo}
*/
public final class SchemaInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:eventbus.v1.SchemaInfo)
SchemaInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use SchemaInfo.newBuilder() to construct.
private SchemaInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SchemaInfo() {
schemaJson_ = "";
schemaId_ = "";
rpcId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SchemaInfo();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.salesforce.eventbus.protobuf.PubSubProto.internal_static_eventbus_v1_SchemaInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.salesforce.eventbus.protobuf.PubSubProto.internal_static_eventbus_v1_SchemaInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.salesforce.eventbus.protobuf.SchemaInfo.class, com.salesforce.eventbus.protobuf.SchemaInfo.Builder.class);
}
public static final int SCHEMA_JSON_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object schemaJson_ = "";
/**
*
* Avro schema in JSON format
*
*
* string schema_json = 1;
* @return The schemaJson.
*/
@java.lang.Override
public java.lang.String getSchemaJson() {
java.lang.Object ref = schemaJson_;
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();
schemaJson_ = s;
return s;
}
}
/**
*
* Avro schema in JSON format
*
*
* string schema_json = 1;
* @return The bytes for schemaJson.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSchemaJsonBytes() {
java.lang.Object ref = schemaJson_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
schemaJson_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SCHEMA_ID_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object schemaId_ = "";
/**
*
* Schema fingerprint
*
*
* string schema_id = 2;
* @return The schemaId.
*/
@java.lang.Override
public java.lang.String getSchemaId() {
java.lang.Object ref = schemaId_;
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();
schemaId_ = s;
return s;
}
}
/**
*
* Schema fingerprint
*
*
* string schema_id = 2;
* @return The bytes for schemaId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSchemaIdBytes() {
java.lang.Object ref = schemaId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
schemaId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int RPC_ID_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object rpcId_ = "";
/**
*
* RPC ID used to trace errors.
*
*
* string rpc_id = 3;
* @return The rpcId.
*/
@java.lang.Override
public java.lang.String getRpcId() {
java.lang.Object ref = rpcId_;
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();
rpcId_ = s;
return s;
}
}
/**
*
* RPC ID used to trace errors.
*
*
* string rpc_id = 3;
* @return The bytes for rpcId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRpcIdBytes() {
java.lang.Object ref = rpcId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
rpcId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaJson_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, schemaJson_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, schemaId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rpcId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, rpcId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaJson_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, schemaJson_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, schemaId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rpcId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, rpcId_);
}
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 com.salesforce.eventbus.protobuf.SchemaInfo)) {
return super.equals(obj);
}
com.salesforce.eventbus.protobuf.SchemaInfo other = (com.salesforce.eventbus.protobuf.SchemaInfo) obj;
if (!getSchemaJson()
.equals(other.getSchemaJson())) return false;
if (!getSchemaId()
.equals(other.getSchemaId())) return false;
if (!getRpcId()
.equals(other.getRpcId())) 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) + SCHEMA_JSON_FIELD_NUMBER;
hash = (53 * hash) + getSchemaJson().hashCode();
hash = (37 * hash) + SCHEMA_ID_FIELD_NUMBER;
hash = (53 * hash) + getSchemaId().hashCode();
hash = (37 * hash) + RPC_ID_FIELD_NUMBER;
hash = (53 * hash) + getRpcId().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.salesforce.eventbus.protobuf.SchemaInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.salesforce.eventbus.protobuf.SchemaInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.salesforce.eventbus.protobuf.SchemaInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.salesforce.eventbus.protobuf.SchemaInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.salesforce.eventbus.protobuf.SchemaInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.salesforce.eventbus.protobuf.SchemaInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.salesforce.eventbus.protobuf.SchemaInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.salesforce.eventbus.protobuf.SchemaInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.salesforce.eventbus.protobuf.SchemaInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.salesforce.eventbus.protobuf.SchemaInfo parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.salesforce.eventbus.protobuf.SchemaInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.salesforce.eventbus.protobuf.SchemaInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.salesforce.eventbus.protobuf.SchemaInfo 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.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
*
* Response for the GetSchema RPC method. This returns the schema ID and schema of an event.
*
*
* Protobuf type {@code eventbus.v1.SchemaInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:eventbus.v1.SchemaInfo)
com.salesforce.eventbus.protobuf.SchemaInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.salesforce.eventbus.protobuf.PubSubProto.internal_static_eventbus_v1_SchemaInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.salesforce.eventbus.protobuf.PubSubProto.internal_static_eventbus_v1_SchemaInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.salesforce.eventbus.protobuf.SchemaInfo.class, com.salesforce.eventbus.protobuf.SchemaInfo.Builder.class);
}
// Construct using com.salesforce.eventbus.protobuf.SchemaInfo.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
schemaJson_ = "";
schemaId_ = "";
rpcId_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.salesforce.eventbus.protobuf.PubSubProto.internal_static_eventbus_v1_SchemaInfo_descriptor;
}
@java.lang.Override
public com.salesforce.eventbus.protobuf.SchemaInfo getDefaultInstanceForType() {
return com.salesforce.eventbus.protobuf.SchemaInfo.getDefaultInstance();
}
@java.lang.Override
public com.salesforce.eventbus.protobuf.SchemaInfo build() {
com.salesforce.eventbus.protobuf.SchemaInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.salesforce.eventbus.protobuf.SchemaInfo buildPartial() {
com.salesforce.eventbus.protobuf.SchemaInfo result = new com.salesforce.eventbus.protobuf.SchemaInfo(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.salesforce.eventbus.protobuf.SchemaInfo result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.schemaJson_ = schemaJson_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.schemaId_ = schemaId_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.rpcId_ = rpcId_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.salesforce.eventbus.protobuf.SchemaInfo) {
return mergeFrom((com.salesforce.eventbus.protobuf.SchemaInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.salesforce.eventbus.protobuf.SchemaInfo other) {
if (other == com.salesforce.eventbus.protobuf.SchemaInfo.getDefaultInstance()) return this;
if (!other.getSchemaJson().isEmpty()) {
schemaJson_ = other.schemaJson_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getSchemaId().isEmpty()) {
schemaId_ = other.schemaId_;
bitField0_ |= 0x00000002;
onChanged();
}
if (!other.getRpcId().isEmpty()) {
rpcId_ = other.rpcId_;
bitField0_ |= 0x00000004;
onChanged();
}
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: {
schemaJson_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
schemaId_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
rpcId_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
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 java.lang.Object schemaJson_ = "";
/**
*
* Avro schema in JSON format
*
*
* string schema_json = 1;
* @return The schemaJson.
*/
public java.lang.String getSchemaJson() {
java.lang.Object ref = schemaJson_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
schemaJson_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Avro schema in JSON format
*
*
* string schema_json = 1;
* @return The bytes for schemaJson.
*/
public com.google.protobuf.ByteString
getSchemaJsonBytes() {
java.lang.Object ref = schemaJson_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
schemaJson_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Avro schema in JSON format
*
*
* string schema_json = 1;
* @param value The schemaJson to set.
* @return This builder for chaining.
*/
public Builder setSchemaJson(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
schemaJson_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* Avro schema in JSON format
*
*
* string schema_json = 1;
* @return This builder for chaining.
*/
public Builder clearSchemaJson() {
schemaJson_ = getDefaultInstance().getSchemaJson();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
*
* Avro schema in JSON format
*
*
* string schema_json = 1;
* @param value The bytes for schemaJson to set.
* @return This builder for chaining.
*/
public Builder setSchemaJsonBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
schemaJson_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object schemaId_ = "";
/**
*
* Schema fingerprint
*
*
* string schema_id = 2;
* @return The schemaId.
*/
public java.lang.String getSchemaId() {
java.lang.Object ref = schemaId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
schemaId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Schema fingerprint
*
*
* string schema_id = 2;
* @return The bytes for schemaId.
*/
public com.google.protobuf.ByteString
getSchemaIdBytes() {
java.lang.Object ref = schemaId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
schemaId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Schema fingerprint
*
*
* string schema_id = 2;
* @param value The schemaId to set.
* @return This builder for chaining.
*/
public Builder setSchemaId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
schemaId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* Schema fingerprint
*
*
* string schema_id = 2;
* @return This builder for chaining.
*/
public Builder clearSchemaId() {
schemaId_ = getDefaultInstance().getSchemaId();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
*
* Schema fingerprint
*
*
* string schema_id = 2;
* @param value The bytes for schemaId to set.
* @return This builder for chaining.
*/
public Builder setSchemaIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
schemaId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object rpcId_ = "";
/**
*
* RPC ID used to trace errors.
*
*
* string rpc_id = 3;
* @return The rpcId.
*/
public java.lang.String getRpcId() {
java.lang.Object ref = rpcId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
rpcId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* RPC ID used to trace errors.
*
*
* string rpc_id = 3;
* @return The bytes for rpcId.
*/
public com.google.protobuf.ByteString
getRpcIdBytes() {
java.lang.Object ref = rpcId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
rpcId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* RPC ID used to trace errors.
*
*
* string rpc_id = 3;
* @param value The rpcId to set.
* @return This builder for chaining.
*/
public Builder setRpcId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
rpcId_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
*
* RPC ID used to trace errors.
*
*
* string rpc_id = 3;
* @return This builder for chaining.
*/
public Builder clearRpcId() {
rpcId_ = getDefaultInstance().getRpcId();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
*
* RPC ID used to trace errors.
*
*
* string rpc_id = 3;
* @param value The bytes for rpcId to set.
* @return This builder for chaining.
*/
public Builder setRpcIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
rpcId_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:eventbus.v1.SchemaInfo)
}
// @@protoc_insertion_point(class_scope:eventbus.v1.SchemaInfo)
private static final com.salesforce.eventbus.protobuf.SchemaInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.salesforce.eventbus.protobuf.SchemaInfo();
}
public static com.salesforce.eventbus.protobuf.SchemaInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SchemaInfo 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 com.salesforce.eventbus.protobuf.SchemaInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy