shade.polaris.io.grpc.binarylog.v1.Metadata Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of polaris-all Show documentation
Show all versions of polaris-all Show documentation
All in one project for polaris-java
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: grpc/binlog/v1/binarylog.proto
// Protobuf Java Version: 3.25.1
package io.grpc.binarylog.v1;
/**
*
* A list of metadata pairs, used in the payload of client header,
* server header, and server trailer.
* Implementations may omit some entries to honor the header limits
* of GRPC_BINARY_LOG_CONFIG.
*
* Header keys added by gRPC are omitted. To be more specific,
* implementations will not log the following entries, and this is
* not to be treated as a truncation:
* - entries handled by grpc that are not user visible, such as those
* that begin with 'grpc-' (with exception of grpc-trace-bin)
* or keys like 'lb-token'
* - transport specific entries, including but not limited to:
* ':path', ':authority', 'content-encoding', 'user-agent', 'te', etc
* - entries added for call credentials
*
* Implementations must always log grpc-trace-bin if it is present.
* Practically speaking it will only be visible on server side because
* grpc-trace-bin is managed by low level client side mechanisms
* inaccessible from the application level. On server side, the
* header is just a normal metadata key.
* The pair will not count towards the size limit.
*
*
* Protobuf type {@code grpc.binarylog.v1.Metadata}
*/
public final class Metadata extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:grpc.binarylog.v1.Metadata)
MetadataOrBuilder {
private static final long serialVersionUID = 0L;
// Use Metadata.newBuilder() to construct.
private Metadata(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Metadata() {
entry_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Metadata();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.grpc.binarylog.v1.BinaryLogProto.internal_static_grpc_binarylog_v1_Metadata_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.grpc.binarylog.v1.BinaryLogProto.internal_static_grpc_binarylog_v1_Metadata_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.grpc.binarylog.v1.Metadata.class, io.grpc.binarylog.v1.Metadata.Builder.class);
}
public static final int ENTRY_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private java.util.List entry_;
/**
* repeated .grpc.binarylog.v1.MetadataEntry entry = 1;
*/
@java.lang.Override
public java.util.List getEntryList() {
return entry_;
}
/**
* repeated .grpc.binarylog.v1.MetadataEntry entry = 1;
*/
@java.lang.Override
public java.util.List extends io.grpc.binarylog.v1.MetadataEntryOrBuilder>
getEntryOrBuilderList() {
return entry_;
}
/**
* repeated .grpc.binarylog.v1.MetadataEntry entry = 1;
*/
@java.lang.Override
public int getEntryCount() {
return entry_.size();
}
/**
* repeated .grpc.binarylog.v1.MetadataEntry entry = 1;
*/
@java.lang.Override
public io.grpc.binarylog.v1.MetadataEntry getEntry(int index) {
return entry_.get(index);
}
/**
* repeated .grpc.binarylog.v1.MetadataEntry entry = 1;
*/
@java.lang.Override
public io.grpc.binarylog.v1.MetadataEntryOrBuilder getEntryOrBuilder(
int index) {
return entry_.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 < entry_.size(); i++) {
output.writeMessage(1, entry_.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 < entry_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, entry_.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 io.grpc.binarylog.v1.Metadata)) {
return super.equals(obj);
}
io.grpc.binarylog.v1.Metadata other = (io.grpc.binarylog.v1.Metadata) obj;
if (!getEntryList()
.equals(other.getEntryList())) 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 (getEntryCount() > 0) {
hash = (37 * hash) + ENTRY_FIELD_NUMBER;
hash = (53 * hash) + getEntryList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.grpc.binarylog.v1.Metadata parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.grpc.binarylog.v1.Metadata parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.grpc.binarylog.v1.Metadata parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.grpc.binarylog.v1.Metadata parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.grpc.binarylog.v1.Metadata parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.grpc.binarylog.v1.Metadata parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.grpc.binarylog.v1.Metadata parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.grpc.binarylog.v1.Metadata 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 io.grpc.binarylog.v1.Metadata parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.grpc.binarylog.v1.Metadata 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 io.grpc.binarylog.v1.Metadata parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.grpc.binarylog.v1.Metadata 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(io.grpc.binarylog.v1.Metadata 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;
}
/**
*
* A list of metadata pairs, used in the payload of client header,
* server header, and server trailer.
* Implementations may omit some entries to honor the header limits
* of GRPC_BINARY_LOG_CONFIG.
*
* Header keys added by gRPC are omitted. To be more specific,
* implementations will not log the following entries, and this is
* not to be treated as a truncation:
* - entries handled by grpc that are not user visible, such as those
* that begin with 'grpc-' (with exception of grpc-trace-bin)
* or keys like 'lb-token'
* - transport specific entries, including but not limited to:
* ':path', ':authority', 'content-encoding', 'user-agent', 'te', etc
* - entries added for call credentials
*
* Implementations must always log grpc-trace-bin if it is present.
* Practically speaking it will only be visible on server side because
* grpc-trace-bin is managed by low level client side mechanisms
* inaccessible from the application level. On server side, the
* header is just a normal metadata key.
* The pair will not count towards the size limit.
*
*
* Protobuf type {@code grpc.binarylog.v1.Metadata}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:grpc.binarylog.v1.Metadata)
io.grpc.binarylog.v1.MetadataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.grpc.binarylog.v1.BinaryLogProto.internal_static_grpc_binarylog_v1_Metadata_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.grpc.binarylog.v1.BinaryLogProto.internal_static_grpc_binarylog_v1_Metadata_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.grpc.binarylog.v1.Metadata.class, io.grpc.binarylog.v1.Metadata.Builder.class);
}
// Construct using io.grpc.binarylog.v1.Metadata.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
if (entryBuilder_ == null) {
entry_ = java.util.Collections.emptyList();
} else {
entry_ = null;
entryBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.grpc.binarylog.v1.BinaryLogProto.internal_static_grpc_binarylog_v1_Metadata_descriptor;
}
@java.lang.Override
public io.grpc.binarylog.v1.Metadata getDefaultInstanceForType() {
return io.grpc.binarylog.v1.Metadata.getDefaultInstance();
}
@java.lang.Override
public io.grpc.binarylog.v1.Metadata build() {
io.grpc.binarylog.v1.Metadata result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.grpc.binarylog.v1.Metadata buildPartial() {
io.grpc.binarylog.v1.Metadata result = new io.grpc.binarylog.v1.Metadata(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(io.grpc.binarylog.v1.Metadata result) {
if (entryBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
entry_ = java.util.Collections.unmodifiableList(entry_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.entry_ = entry_;
} else {
result.entry_ = entryBuilder_.build();
}
}
private void buildPartial0(io.grpc.binarylog.v1.Metadata result) {
int from_bitField0_ = bitField0_;
}
@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 io.grpc.binarylog.v1.Metadata) {
return mergeFrom((io.grpc.binarylog.v1.Metadata)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.grpc.binarylog.v1.Metadata other) {
if (other == io.grpc.binarylog.v1.Metadata.getDefaultInstance()) return this;
if (entryBuilder_ == null) {
if (!other.entry_.isEmpty()) {
if (entry_.isEmpty()) {
entry_ = other.entry_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureEntryIsMutable();
entry_.addAll(other.entry_);
}
onChanged();
}
} else {
if (!other.entry_.isEmpty()) {
if (entryBuilder_.isEmpty()) {
entryBuilder_.dispose();
entryBuilder_ = null;
entry_ = other.entry_;
bitField0_ = (bitField0_ & ~0x00000001);
entryBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getEntryFieldBuilder() : null;
} else {
entryBuilder_.addAllMessages(other.entry_);
}
}
}
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: {
io.grpc.binarylog.v1.MetadataEntry m =
input.readMessage(
io.grpc.binarylog.v1.MetadataEntry.parser(),
extensionRegistry);
if (entryBuilder_ == null) {
ensureEntryIsMutable();
entry_.add(m);
} else {
entryBuilder_.addMessage(m);
}
break;
} // case 10
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 entry_ =
java.util.Collections.emptyList();
private void ensureEntryIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
entry_ = new java.util.ArrayList(entry_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.grpc.binarylog.v1.MetadataEntry, io.grpc.binarylog.v1.MetadataEntry.Builder, io.grpc.binarylog.v1.MetadataEntryOrBuilder> entryBuilder_;
/**
* repeated .grpc.binarylog.v1.MetadataEntry entry = 1;
*/
public java.util.List getEntryList() {
if (entryBuilder_ == null) {
return java.util.Collections.unmodifiableList(entry_);
} else {
return entryBuilder_.getMessageList();
}
}
/**
* repeated .grpc.binarylog.v1.MetadataEntry entry = 1;
*/
public int getEntryCount() {
if (entryBuilder_ == null) {
return entry_.size();
} else {
return entryBuilder_.getCount();
}
}
/**
* repeated .grpc.binarylog.v1.MetadataEntry entry = 1;
*/
public io.grpc.binarylog.v1.MetadataEntry getEntry(int index) {
if (entryBuilder_ == null) {
return entry_.get(index);
} else {
return entryBuilder_.getMessage(index);
}
}
/**
* repeated .grpc.binarylog.v1.MetadataEntry entry = 1;
*/
public Builder setEntry(
int index, io.grpc.binarylog.v1.MetadataEntry value) {
if (entryBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEntryIsMutable();
entry_.set(index, value);
onChanged();
} else {
entryBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .grpc.binarylog.v1.MetadataEntry entry = 1;
*/
public Builder setEntry(
int index, io.grpc.binarylog.v1.MetadataEntry.Builder builderForValue) {
if (entryBuilder_ == null) {
ensureEntryIsMutable();
entry_.set(index, builderForValue.build());
onChanged();
} else {
entryBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .grpc.binarylog.v1.MetadataEntry entry = 1;
*/
public Builder addEntry(io.grpc.binarylog.v1.MetadataEntry value) {
if (entryBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEntryIsMutable();
entry_.add(value);
onChanged();
} else {
entryBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .grpc.binarylog.v1.MetadataEntry entry = 1;
*/
public Builder addEntry(
int index, io.grpc.binarylog.v1.MetadataEntry value) {
if (entryBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEntryIsMutable();
entry_.add(index, value);
onChanged();
} else {
entryBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .grpc.binarylog.v1.MetadataEntry entry = 1;
*/
public Builder addEntry(
io.grpc.binarylog.v1.MetadataEntry.Builder builderForValue) {
if (entryBuilder_ == null) {
ensureEntryIsMutable();
entry_.add(builderForValue.build());
onChanged();
} else {
entryBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .grpc.binarylog.v1.MetadataEntry entry = 1;
*/
public Builder addEntry(
int index, io.grpc.binarylog.v1.MetadataEntry.Builder builderForValue) {
if (entryBuilder_ == null) {
ensureEntryIsMutable();
entry_.add(index, builderForValue.build());
onChanged();
} else {
entryBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .grpc.binarylog.v1.MetadataEntry entry = 1;
*/
public Builder addAllEntry(
java.lang.Iterable extends io.grpc.binarylog.v1.MetadataEntry> values) {
if (entryBuilder_ == null) {
ensureEntryIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, entry_);
onChanged();
} else {
entryBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .grpc.binarylog.v1.MetadataEntry entry = 1;
*/
public Builder clearEntry() {
if (entryBuilder_ == null) {
entry_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
entryBuilder_.clear();
}
return this;
}
/**
* repeated .grpc.binarylog.v1.MetadataEntry entry = 1;
*/
public Builder removeEntry(int index) {
if (entryBuilder_ == null) {
ensureEntryIsMutable();
entry_.remove(index);
onChanged();
} else {
entryBuilder_.remove(index);
}
return this;
}
/**
* repeated .grpc.binarylog.v1.MetadataEntry entry = 1;
*/
public io.grpc.binarylog.v1.MetadataEntry.Builder getEntryBuilder(
int index) {
return getEntryFieldBuilder().getBuilder(index);
}
/**
* repeated .grpc.binarylog.v1.MetadataEntry entry = 1;
*/
public io.grpc.binarylog.v1.MetadataEntryOrBuilder getEntryOrBuilder(
int index) {
if (entryBuilder_ == null) {
return entry_.get(index); } else {
return entryBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .grpc.binarylog.v1.MetadataEntry entry = 1;
*/
public java.util.List extends io.grpc.binarylog.v1.MetadataEntryOrBuilder>
getEntryOrBuilderList() {
if (entryBuilder_ != null) {
return entryBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(entry_);
}
}
/**
* repeated .grpc.binarylog.v1.MetadataEntry entry = 1;
*/
public io.grpc.binarylog.v1.MetadataEntry.Builder addEntryBuilder() {
return getEntryFieldBuilder().addBuilder(
io.grpc.binarylog.v1.MetadataEntry.getDefaultInstance());
}
/**
* repeated .grpc.binarylog.v1.MetadataEntry entry = 1;
*/
public io.grpc.binarylog.v1.MetadataEntry.Builder addEntryBuilder(
int index) {
return getEntryFieldBuilder().addBuilder(
index, io.grpc.binarylog.v1.MetadataEntry.getDefaultInstance());
}
/**
* repeated .grpc.binarylog.v1.MetadataEntry entry = 1;
*/
public java.util.List
getEntryBuilderList() {
return getEntryFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.grpc.binarylog.v1.MetadataEntry, io.grpc.binarylog.v1.MetadataEntry.Builder, io.grpc.binarylog.v1.MetadataEntryOrBuilder>
getEntryFieldBuilder() {
if (entryBuilder_ == null) {
entryBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
io.grpc.binarylog.v1.MetadataEntry, io.grpc.binarylog.v1.MetadataEntry.Builder, io.grpc.binarylog.v1.MetadataEntryOrBuilder>(
entry_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
entry_ = null;
}
return entryBuilder_;
}
@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:grpc.binarylog.v1.Metadata)
}
// @@protoc_insertion_point(class_scope:grpc.binarylog.v1.Metadata)
private static final io.grpc.binarylog.v1.Metadata DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.grpc.binarylog.v1.Metadata();
}
public static io.grpc.binarylog.v1.Metadata getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Metadata 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 io.grpc.binarylog.v1.Metadata getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}