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

io.envoyproxy.envoy.data.accesslog.v2.TCPAccessLogEntry Maven / Gradle / Ivy

There is a newer version: 1.0.47
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: envoy/data/accesslog/v2/accesslog.proto

package io.envoyproxy.envoy.data.accesslog.v2;

/**
 * 
 * [#not-implemented-hide:]
 * 
* * Protobuf type {@code envoy.data.accesslog.v2.TCPAccessLogEntry} */ public final class TCPAccessLogEntry extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.data.accesslog.v2.TCPAccessLogEntry) TCPAccessLogEntryOrBuilder { private static final long serialVersionUID = 0L; // Use TCPAccessLogEntry.newBuilder() to construct. private TCPAccessLogEntry(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TCPAccessLogEntry() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TCPAccessLogEntry( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon.Builder subBuilder = null; if (commonProperties_ != null) { subBuilder = commonProperties_.toBuilder(); } commonProperties_ = input.readMessage(io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(commonProperties_); commonProperties_ = subBuilder.buildPartial(); } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.data.accesslog.v2.AccesslogProto.internal_static_envoy_data_accesslog_v2_TCPAccessLogEntry_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.data.accesslog.v2.AccesslogProto.internal_static_envoy_data_accesslog_v2_TCPAccessLogEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.data.accesslog.v2.TCPAccessLogEntry.class, io.envoyproxy.envoy.data.accesslog.v2.TCPAccessLogEntry.Builder.class); } public static final int COMMON_PROPERTIES_FIELD_NUMBER = 1; private io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon commonProperties_; /** *
   * Common properties shared by all Envoy access logs.
   * 
* * .envoy.data.accesslog.v2.AccessLogCommon common_properties = 1; */ public boolean hasCommonProperties() { return commonProperties_ != null; } /** *
   * Common properties shared by all Envoy access logs.
   * 
* * .envoy.data.accesslog.v2.AccessLogCommon common_properties = 1; */ public io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon getCommonProperties() { return commonProperties_ == null ? io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon.getDefaultInstance() : commonProperties_; } /** *
   * Common properties shared by all Envoy access logs.
   * 
* * .envoy.data.accesslog.v2.AccessLogCommon common_properties = 1; */ public io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommonOrBuilder getCommonPropertiesOrBuilder() { return getCommonProperties(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (commonProperties_ != null) { output.writeMessage(1, getCommonProperties()); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (commonProperties_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getCommonProperties()); } size += unknownFields.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.envoyproxy.envoy.data.accesslog.v2.TCPAccessLogEntry)) { return super.equals(obj); } io.envoyproxy.envoy.data.accesslog.v2.TCPAccessLogEntry other = (io.envoyproxy.envoy.data.accesslog.v2.TCPAccessLogEntry) obj; boolean result = true; result = result && (hasCommonProperties() == other.hasCommonProperties()); if (hasCommonProperties()) { result = result && getCommonProperties() .equals(other.getCommonProperties()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasCommonProperties()) { hash = (37 * hash) + COMMON_PROPERTIES_FIELD_NUMBER; hash = (53 * hash) + getCommonProperties().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.data.accesslog.v2.TCPAccessLogEntry parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.data.accesslog.v2.TCPAccessLogEntry parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.data.accesslog.v2.TCPAccessLogEntry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.data.accesslog.v2.TCPAccessLogEntry parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.data.accesslog.v2.TCPAccessLogEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.data.accesslog.v2.TCPAccessLogEntry parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.data.accesslog.v2.TCPAccessLogEntry parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.data.accesslog.v2.TCPAccessLogEntry 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.envoyproxy.envoy.data.accesslog.v2.TCPAccessLogEntry parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.data.accesslog.v2.TCPAccessLogEntry 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.envoyproxy.envoy.data.accesslog.v2.TCPAccessLogEntry parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.data.accesslog.v2.TCPAccessLogEntry parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.envoyproxy.envoy.data.accesslog.v2.TCPAccessLogEntry prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } 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; } /** *
   * [#not-implemented-hide:]
   * 
* * Protobuf type {@code envoy.data.accesslog.v2.TCPAccessLogEntry} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.data.accesslog.v2.TCPAccessLogEntry) io.envoyproxy.envoy.data.accesslog.v2.TCPAccessLogEntryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.data.accesslog.v2.AccesslogProto.internal_static_envoy_data_accesslog_v2_TCPAccessLogEntry_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.data.accesslog.v2.AccesslogProto.internal_static_envoy_data_accesslog_v2_TCPAccessLogEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.data.accesslog.v2.TCPAccessLogEntry.class, io.envoyproxy.envoy.data.accesslog.v2.TCPAccessLogEntry.Builder.class); } // Construct using io.envoyproxy.envoy.data.accesslog.v2.TCPAccessLogEntry.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); if (commonPropertiesBuilder_ == null) { commonProperties_ = null; } else { commonProperties_ = null; commonPropertiesBuilder_ = null; } return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.data.accesslog.v2.AccesslogProto.internal_static_envoy_data_accesslog_v2_TCPAccessLogEntry_descriptor; } public io.envoyproxy.envoy.data.accesslog.v2.TCPAccessLogEntry getDefaultInstanceForType() { return io.envoyproxy.envoy.data.accesslog.v2.TCPAccessLogEntry.getDefaultInstance(); } public io.envoyproxy.envoy.data.accesslog.v2.TCPAccessLogEntry build() { io.envoyproxy.envoy.data.accesslog.v2.TCPAccessLogEntry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.envoyproxy.envoy.data.accesslog.v2.TCPAccessLogEntry buildPartial() { io.envoyproxy.envoy.data.accesslog.v2.TCPAccessLogEntry result = new io.envoyproxy.envoy.data.accesslog.v2.TCPAccessLogEntry(this); if (commonPropertiesBuilder_ == null) { result.commonProperties_ = commonProperties_; } else { result.commonProperties_ = commonPropertiesBuilder_.build(); } onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.envoyproxy.envoy.data.accesslog.v2.TCPAccessLogEntry) { return mergeFrom((io.envoyproxy.envoy.data.accesslog.v2.TCPAccessLogEntry)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.data.accesslog.v2.TCPAccessLogEntry other) { if (other == io.envoyproxy.envoy.data.accesslog.v2.TCPAccessLogEntry.getDefaultInstance()) return this; if (other.hasCommonProperties()) { mergeCommonProperties(other.getCommonProperties()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.envoyproxy.envoy.data.accesslog.v2.TCPAccessLogEntry parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.envoyproxy.envoy.data.accesslog.v2.TCPAccessLogEntry) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon commonProperties_ = null; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon, io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon.Builder, io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommonOrBuilder> commonPropertiesBuilder_; /** *
     * Common properties shared by all Envoy access logs.
     * 
* * .envoy.data.accesslog.v2.AccessLogCommon common_properties = 1; */ public boolean hasCommonProperties() { return commonPropertiesBuilder_ != null || commonProperties_ != null; } /** *
     * Common properties shared by all Envoy access logs.
     * 
* * .envoy.data.accesslog.v2.AccessLogCommon common_properties = 1; */ public io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon getCommonProperties() { if (commonPropertiesBuilder_ == null) { return commonProperties_ == null ? io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon.getDefaultInstance() : commonProperties_; } else { return commonPropertiesBuilder_.getMessage(); } } /** *
     * Common properties shared by all Envoy access logs.
     * 
* * .envoy.data.accesslog.v2.AccessLogCommon common_properties = 1; */ public Builder setCommonProperties(io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon value) { if (commonPropertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } commonProperties_ = value; onChanged(); } else { commonPropertiesBuilder_.setMessage(value); } return this; } /** *
     * Common properties shared by all Envoy access logs.
     * 
* * .envoy.data.accesslog.v2.AccessLogCommon common_properties = 1; */ public Builder setCommonProperties( io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon.Builder builderForValue) { if (commonPropertiesBuilder_ == null) { commonProperties_ = builderForValue.build(); onChanged(); } else { commonPropertiesBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Common properties shared by all Envoy access logs.
     * 
* * .envoy.data.accesslog.v2.AccessLogCommon common_properties = 1; */ public Builder mergeCommonProperties(io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon value) { if (commonPropertiesBuilder_ == null) { if (commonProperties_ != null) { commonProperties_ = io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon.newBuilder(commonProperties_).mergeFrom(value).buildPartial(); } else { commonProperties_ = value; } onChanged(); } else { commonPropertiesBuilder_.mergeFrom(value); } return this; } /** *
     * Common properties shared by all Envoy access logs.
     * 
* * .envoy.data.accesslog.v2.AccessLogCommon common_properties = 1; */ public Builder clearCommonProperties() { if (commonPropertiesBuilder_ == null) { commonProperties_ = null; onChanged(); } else { commonProperties_ = null; commonPropertiesBuilder_ = null; } return this; } /** *
     * Common properties shared by all Envoy access logs.
     * 
* * .envoy.data.accesslog.v2.AccessLogCommon common_properties = 1; */ public io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon.Builder getCommonPropertiesBuilder() { onChanged(); return getCommonPropertiesFieldBuilder().getBuilder(); } /** *
     * Common properties shared by all Envoy access logs.
     * 
* * .envoy.data.accesslog.v2.AccessLogCommon common_properties = 1; */ public io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommonOrBuilder getCommonPropertiesOrBuilder() { if (commonPropertiesBuilder_ != null) { return commonPropertiesBuilder_.getMessageOrBuilder(); } else { return commonProperties_ == null ? io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon.getDefaultInstance() : commonProperties_; } } /** *
     * Common properties shared by all Envoy access logs.
     * 
* * .envoy.data.accesslog.v2.AccessLogCommon common_properties = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon, io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon.Builder, io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommonOrBuilder> getCommonPropertiesFieldBuilder() { if (commonPropertiesBuilder_ == null) { commonPropertiesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon, io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon.Builder, io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommonOrBuilder>( getCommonProperties(), getParentForChildren(), isClean()); commonProperties_ = null; } return commonPropertiesBuilder_; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:envoy.data.accesslog.v2.TCPAccessLogEntry) } // @@protoc_insertion_point(class_scope:envoy.data.accesslog.v2.TCPAccessLogEntry) private static final io.envoyproxy.envoy.data.accesslog.v2.TCPAccessLogEntry DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.data.accesslog.v2.TCPAccessLogEntry(); } public static io.envoyproxy.envoy.data.accesslog.v2.TCPAccessLogEntry getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public TCPAccessLogEntry parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TCPAccessLogEntry(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public io.envoyproxy.envoy.data.accesslog.v2.TCPAccessLogEntry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy