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

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

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: envoy/data/accesslog/v3/accesslog.proto

// Protobuf Java Version: 3.25.5
package io.envoyproxy.envoy.data.accesslog.v3;

/**
 * Protobuf type {@code envoy.data.accesslog.v3.TCPAccessLogEntry}
 */
public final class TCPAccessLogEntry extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:envoy.data.accesslog.v3.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
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(
      UnusedPrivateParameter unused) {
    return new TCPAccessLogEntry();
  }

  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return io.envoyproxy.envoy.data.accesslog.v3.AccesslogProto.internal_static_envoy_data_accesslog_v3_TCPAccessLogEntry_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return io.envoyproxy.envoy.data.accesslog.v3.AccesslogProto.internal_static_envoy_data_accesslog_v3_TCPAccessLogEntry_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            io.envoyproxy.envoy.data.accesslog.v3.TCPAccessLogEntry.class, io.envoyproxy.envoy.data.accesslog.v3.TCPAccessLogEntry.Builder.class);
  }

  private int bitField0_;
  public static final int COMMON_PROPERTIES_FIELD_NUMBER = 1;
  private io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon commonProperties_;
  /**
   * 
   * Common properties shared by all Envoy access logs.
   * 
* * .envoy.data.accesslog.v3.AccessLogCommon common_properties = 1; * @return Whether the commonProperties field is set. */ @java.lang.Override public boolean hasCommonProperties() { return ((bitField0_ & 0x00000001) != 0); } /** *
   * Common properties shared by all Envoy access logs.
   * 
* * .envoy.data.accesslog.v3.AccessLogCommon common_properties = 1; * @return The commonProperties. */ @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon getCommonProperties() { return commonProperties_ == null ? io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon.getDefaultInstance() : commonProperties_; } /** *
   * Common properties shared by all Envoy access logs.
   * 
* * .envoy.data.accesslog.v3.AccessLogCommon common_properties = 1; */ @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommonOrBuilder getCommonPropertiesOrBuilder() { return commonProperties_ == null ? io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon.getDefaultInstance() : commonProperties_; } public static final int CONNECTION_PROPERTIES_FIELD_NUMBER = 2; private io.envoyproxy.envoy.data.accesslog.v3.ConnectionProperties connectionProperties_; /** *
   * Properties of the TCP connection.
   * 
* * .envoy.data.accesslog.v3.ConnectionProperties connection_properties = 2; * @return Whether the connectionProperties field is set. */ @java.lang.Override public boolean hasConnectionProperties() { return ((bitField0_ & 0x00000002) != 0); } /** *
   * Properties of the TCP connection.
   * 
* * .envoy.data.accesslog.v3.ConnectionProperties connection_properties = 2; * @return The connectionProperties. */ @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.ConnectionProperties getConnectionProperties() { return connectionProperties_ == null ? io.envoyproxy.envoy.data.accesslog.v3.ConnectionProperties.getDefaultInstance() : connectionProperties_; } /** *
   * Properties of the TCP connection.
   * 
* * .envoy.data.accesslog.v3.ConnectionProperties connection_properties = 2; */ @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.ConnectionPropertiesOrBuilder getConnectionPropertiesOrBuilder() { return connectionProperties_ == null ? io.envoyproxy.envoy.data.accesslog.v3.ConnectionProperties.getDefaultInstance() : connectionProperties_; } 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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getCommonProperties()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getConnectionProperties()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getCommonProperties()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getConnectionProperties()); } 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.envoyproxy.envoy.data.accesslog.v3.TCPAccessLogEntry)) { return super.equals(obj); } io.envoyproxy.envoy.data.accesslog.v3.TCPAccessLogEntry other = (io.envoyproxy.envoy.data.accesslog.v3.TCPAccessLogEntry) obj; if (hasCommonProperties() != other.hasCommonProperties()) return false; if (hasCommonProperties()) { if (!getCommonProperties() .equals(other.getCommonProperties())) return false; } if (hasConnectionProperties() != other.hasConnectionProperties()) return false; if (hasConnectionProperties()) { if (!getConnectionProperties() .equals(other.getConnectionProperties())) 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 (hasCommonProperties()) { hash = (37 * hash) + COMMON_PROPERTIES_FIELD_NUMBER; hash = (53 * hash) + getCommonProperties().hashCode(); } if (hasConnectionProperties()) { hash = (37 * hash) + CONNECTION_PROPERTIES_FIELD_NUMBER; hash = (53 * hash) + getConnectionProperties().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.data.accesslog.v3.TCPAccessLogEntry parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.data.accesslog.v3.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.v3.TCPAccessLogEntry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.data.accesslog.v3.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.v3.TCPAccessLogEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.data.accesslog.v3.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.v3.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.v3.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.v3.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.v3.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.v3.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.v3.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); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.envoyproxy.envoy.data.accesslog.v3.TCPAccessLogEntry 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; } /** * Protobuf type {@code envoy.data.accesslog.v3.TCPAccessLogEntry} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.data.accesslog.v3.TCPAccessLogEntry) io.envoyproxy.envoy.data.accesslog.v3.TCPAccessLogEntryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.data.accesslog.v3.AccesslogProto.internal_static_envoy_data_accesslog_v3_TCPAccessLogEntry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.data.accesslog.v3.AccesslogProto.internal_static_envoy_data_accesslog_v3_TCPAccessLogEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.data.accesslog.v3.TCPAccessLogEntry.class, io.envoyproxy.envoy.data.accesslog.v3.TCPAccessLogEntry.Builder.class); } // Construct using io.envoyproxy.envoy.data.accesslog.v3.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) { getCommonPropertiesFieldBuilder(); getConnectionPropertiesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; commonProperties_ = null; if (commonPropertiesBuilder_ != null) { commonPropertiesBuilder_.dispose(); commonPropertiesBuilder_ = null; } connectionProperties_ = null; if (connectionPropertiesBuilder_ != null) { connectionPropertiesBuilder_.dispose(); connectionPropertiesBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.data.accesslog.v3.AccesslogProto.internal_static_envoy_data_accesslog_v3_TCPAccessLogEntry_descriptor; } @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.TCPAccessLogEntry getDefaultInstanceForType() { return io.envoyproxy.envoy.data.accesslog.v3.TCPAccessLogEntry.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.TCPAccessLogEntry build() { io.envoyproxy.envoy.data.accesslog.v3.TCPAccessLogEntry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.TCPAccessLogEntry buildPartial() { io.envoyproxy.envoy.data.accesslog.v3.TCPAccessLogEntry result = new io.envoyproxy.envoy.data.accesslog.v3.TCPAccessLogEntry(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(io.envoyproxy.envoy.data.accesslog.v3.TCPAccessLogEntry result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.commonProperties_ = commonPropertiesBuilder_ == null ? commonProperties_ : commonPropertiesBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.connectionProperties_ = connectionPropertiesBuilder_ == null ? connectionProperties_ : connectionPropertiesBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_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.envoyproxy.envoy.data.accesslog.v3.TCPAccessLogEntry) { return mergeFrom((io.envoyproxy.envoy.data.accesslog.v3.TCPAccessLogEntry)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.data.accesslog.v3.TCPAccessLogEntry other) { if (other == io.envoyproxy.envoy.data.accesslog.v3.TCPAccessLogEntry.getDefaultInstance()) return this; if (other.hasCommonProperties()) { mergeCommonProperties(other.getCommonProperties()); } if (other.hasConnectionProperties()) { mergeConnectionProperties(other.getConnectionProperties()); } 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: { input.readMessage( getCommonPropertiesFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getConnectionPropertiesFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 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 io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon commonProperties_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon, io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon.Builder, io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommonOrBuilder> commonPropertiesBuilder_; /** *
     * Common properties shared by all Envoy access logs.
     * 
* * .envoy.data.accesslog.v3.AccessLogCommon common_properties = 1; * @return Whether the commonProperties field is set. */ public boolean hasCommonProperties() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Common properties shared by all Envoy access logs.
     * 
* * .envoy.data.accesslog.v3.AccessLogCommon common_properties = 1; * @return The commonProperties. */ public io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon getCommonProperties() { if (commonPropertiesBuilder_ == null) { return commonProperties_ == null ? io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon.getDefaultInstance() : commonProperties_; } else { return commonPropertiesBuilder_.getMessage(); } } /** *
     * Common properties shared by all Envoy access logs.
     * 
* * .envoy.data.accesslog.v3.AccessLogCommon common_properties = 1; */ public Builder setCommonProperties(io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon value) { if (commonPropertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } commonProperties_ = value; } else { commonPropertiesBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * Common properties shared by all Envoy access logs.
     * 
* * .envoy.data.accesslog.v3.AccessLogCommon common_properties = 1; */ public Builder setCommonProperties( io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon.Builder builderForValue) { if (commonPropertiesBuilder_ == null) { commonProperties_ = builderForValue.build(); } else { commonPropertiesBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * Common properties shared by all Envoy access logs.
     * 
* * .envoy.data.accesslog.v3.AccessLogCommon common_properties = 1; */ public Builder mergeCommonProperties(io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon value) { if (commonPropertiesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && commonProperties_ != null && commonProperties_ != io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon.getDefaultInstance()) { getCommonPropertiesBuilder().mergeFrom(value); } else { commonProperties_ = value; } } else { commonPropertiesBuilder_.mergeFrom(value); } if (commonProperties_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** *
     * Common properties shared by all Envoy access logs.
     * 
* * .envoy.data.accesslog.v3.AccessLogCommon common_properties = 1; */ public Builder clearCommonProperties() { bitField0_ = (bitField0_ & ~0x00000001); commonProperties_ = null; if (commonPropertiesBuilder_ != null) { commonPropertiesBuilder_.dispose(); commonPropertiesBuilder_ = null; } onChanged(); return this; } /** *
     * Common properties shared by all Envoy access logs.
     * 
* * .envoy.data.accesslog.v3.AccessLogCommon common_properties = 1; */ public io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon.Builder getCommonPropertiesBuilder() { bitField0_ |= 0x00000001; onChanged(); return getCommonPropertiesFieldBuilder().getBuilder(); } /** *
     * Common properties shared by all Envoy access logs.
     * 
* * .envoy.data.accesslog.v3.AccessLogCommon common_properties = 1; */ public io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommonOrBuilder getCommonPropertiesOrBuilder() { if (commonPropertiesBuilder_ != null) { return commonPropertiesBuilder_.getMessageOrBuilder(); } else { return commonProperties_ == null ? io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon.getDefaultInstance() : commonProperties_; } } /** *
     * Common properties shared by all Envoy access logs.
     * 
* * .envoy.data.accesslog.v3.AccessLogCommon common_properties = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon, io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon.Builder, io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommonOrBuilder> getCommonPropertiesFieldBuilder() { if (commonPropertiesBuilder_ == null) { commonPropertiesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon, io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon.Builder, io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommonOrBuilder>( getCommonProperties(), getParentForChildren(), isClean()); commonProperties_ = null; } return commonPropertiesBuilder_; } private io.envoyproxy.envoy.data.accesslog.v3.ConnectionProperties connectionProperties_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.data.accesslog.v3.ConnectionProperties, io.envoyproxy.envoy.data.accesslog.v3.ConnectionProperties.Builder, io.envoyproxy.envoy.data.accesslog.v3.ConnectionPropertiesOrBuilder> connectionPropertiesBuilder_; /** *
     * Properties of the TCP connection.
     * 
* * .envoy.data.accesslog.v3.ConnectionProperties connection_properties = 2; * @return Whether the connectionProperties field is set. */ public boolean hasConnectionProperties() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Properties of the TCP connection.
     * 
* * .envoy.data.accesslog.v3.ConnectionProperties connection_properties = 2; * @return The connectionProperties. */ public io.envoyproxy.envoy.data.accesslog.v3.ConnectionProperties getConnectionProperties() { if (connectionPropertiesBuilder_ == null) { return connectionProperties_ == null ? io.envoyproxy.envoy.data.accesslog.v3.ConnectionProperties.getDefaultInstance() : connectionProperties_; } else { return connectionPropertiesBuilder_.getMessage(); } } /** *
     * Properties of the TCP connection.
     * 
* * .envoy.data.accesslog.v3.ConnectionProperties connection_properties = 2; */ public Builder setConnectionProperties(io.envoyproxy.envoy.data.accesslog.v3.ConnectionProperties value) { if (connectionPropertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } connectionProperties_ = value; } else { connectionPropertiesBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * Properties of the TCP connection.
     * 
* * .envoy.data.accesslog.v3.ConnectionProperties connection_properties = 2; */ public Builder setConnectionProperties( io.envoyproxy.envoy.data.accesslog.v3.ConnectionProperties.Builder builderForValue) { if (connectionPropertiesBuilder_ == null) { connectionProperties_ = builderForValue.build(); } else { connectionPropertiesBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * Properties of the TCP connection.
     * 
* * .envoy.data.accesslog.v3.ConnectionProperties connection_properties = 2; */ public Builder mergeConnectionProperties(io.envoyproxy.envoy.data.accesslog.v3.ConnectionProperties value) { if (connectionPropertiesBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && connectionProperties_ != null && connectionProperties_ != io.envoyproxy.envoy.data.accesslog.v3.ConnectionProperties.getDefaultInstance()) { getConnectionPropertiesBuilder().mergeFrom(value); } else { connectionProperties_ = value; } } else { connectionPropertiesBuilder_.mergeFrom(value); } if (connectionProperties_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** *
     * Properties of the TCP connection.
     * 
* * .envoy.data.accesslog.v3.ConnectionProperties connection_properties = 2; */ public Builder clearConnectionProperties() { bitField0_ = (bitField0_ & ~0x00000002); connectionProperties_ = null; if (connectionPropertiesBuilder_ != null) { connectionPropertiesBuilder_.dispose(); connectionPropertiesBuilder_ = null; } onChanged(); return this; } /** *
     * Properties of the TCP connection.
     * 
* * .envoy.data.accesslog.v3.ConnectionProperties connection_properties = 2; */ public io.envoyproxy.envoy.data.accesslog.v3.ConnectionProperties.Builder getConnectionPropertiesBuilder() { bitField0_ |= 0x00000002; onChanged(); return getConnectionPropertiesFieldBuilder().getBuilder(); } /** *
     * Properties of the TCP connection.
     * 
* * .envoy.data.accesslog.v3.ConnectionProperties connection_properties = 2; */ public io.envoyproxy.envoy.data.accesslog.v3.ConnectionPropertiesOrBuilder getConnectionPropertiesOrBuilder() { if (connectionPropertiesBuilder_ != null) { return connectionPropertiesBuilder_.getMessageOrBuilder(); } else { return connectionProperties_ == null ? io.envoyproxy.envoy.data.accesslog.v3.ConnectionProperties.getDefaultInstance() : connectionProperties_; } } /** *
     * Properties of the TCP connection.
     * 
* * .envoy.data.accesslog.v3.ConnectionProperties connection_properties = 2; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.data.accesslog.v3.ConnectionProperties, io.envoyproxy.envoy.data.accesslog.v3.ConnectionProperties.Builder, io.envoyproxy.envoy.data.accesslog.v3.ConnectionPropertiesOrBuilder> getConnectionPropertiesFieldBuilder() { if (connectionPropertiesBuilder_ == null) { connectionPropertiesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.data.accesslog.v3.ConnectionProperties, io.envoyproxy.envoy.data.accesslog.v3.ConnectionProperties.Builder, io.envoyproxy.envoy.data.accesslog.v3.ConnectionPropertiesOrBuilder>( getConnectionProperties(), getParentForChildren(), isClean()); connectionProperties_ = null; } return connectionPropertiesBuilder_; } @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:envoy.data.accesslog.v3.TCPAccessLogEntry) } // @@protoc_insertion_point(class_scope:envoy.data.accesslog.v3.TCPAccessLogEntry) private static final io.envoyproxy.envoy.data.accesslog.v3.TCPAccessLogEntry DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.data.accesslog.v3.TCPAccessLogEntry(); } public static io.envoyproxy.envoy.data.accesslog.v3.TCPAccessLogEntry getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TCPAccessLogEntry 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.envoyproxy.envoy.data.accesslog.v3.TCPAccessLogEntry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy