Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/config/accesslog/v2/als.proto
package io.envoyproxy.envoy.config.accesslog.v2;
/**
*
* Configuration for the built-in *envoy.tcp_grpc_access_log* type. This configuration will
* populate *StreamAccessLogsMessage.tcp_logs*.
*
*
* Protobuf type {@code envoy.config.accesslog.v2.TcpGrpcAccessLogConfig}
*/
public final class TcpGrpcAccessLogConfig extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:envoy.config.accesslog.v2.TcpGrpcAccessLogConfig)
TcpGrpcAccessLogConfigOrBuilder {
private static final long serialVersionUID = 0L;
// Use TcpGrpcAccessLogConfig.newBuilder() to construct.
private TcpGrpcAccessLogConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TcpGrpcAccessLogConfig() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TcpGrpcAccessLogConfig();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TcpGrpcAccessLogConfig(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
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;
case 10: {
io.envoyproxy.envoy.config.accesslog.v2.CommonGrpcAccessLogConfig.Builder subBuilder = null;
if (commonConfig_ != null) {
subBuilder = commonConfig_.toBuilder();
}
commonConfig_ = input.readMessage(io.envoyproxy.envoy.config.accesslog.v2.CommonGrpcAccessLogConfig.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(commonConfig_);
commonConfig_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
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.config.accesslog.v2.AlsProto.internal_static_envoy_config_accesslog_v2_TcpGrpcAccessLogConfig_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.envoyproxy.envoy.config.accesslog.v2.AlsProto.internal_static_envoy_config_accesslog_v2_TcpGrpcAccessLogConfig_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.envoyproxy.envoy.config.accesslog.v2.TcpGrpcAccessLogConfig.class, io.envoyproxy.envoy.config.accesslog.v2.TcpGrpcAccessLogConfig.Builder.class);
}
public static final int COMMON_CONFIG_FIELD_NUMBER = 1;
private io.envoyproxy.envoy.config.accesslog.v2.CommonGrpcAccessLogConfig commonConfig_;
/**
* .envoy.config.accesslog.v2.CommonGrpcAccessLogConfig common_config = 1 [(.validate.rules) = { ... }
*/
public boolean hasCommonConfig() {
return commonConfig_ != null;
}
/**
* .envoy.config.accesslog.v2.CommonGrpcAccessLogConfig common_config = 1 [(.validate.rules) = { ... }
*/
public io.envoyproxy.envoy.config.accesslog.v2.CommonGrpcAccessLogConfig getCommonConfig() {
return commonConfig_ == null ? io.envoyproxy.envoy.config.accesslog.v2.CommonGrpcAccessLogConfig.getDefaultInstance() : commonConfig_;
}
/**
* .envoy.config.accesslog.v2.CommonGrpcAccessLogConfig common_config = 1 [(.validate.rules) = { ... }
*/
public io.envoyproxy.envoy.config.accesslog.v2.CommonGrpcAccessLogConfigOrBuilder getCommonConfigOrBuilder() {
return getCommonConfig();
}
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 (commonConfig_ != null) {
output.writeMessage(1, getCommonConfig());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (commonConfig_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getCommonConfig());
}
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.config.accesslog.v2.TcpGrpcAccessLogConfig)) {
return super.equals(obj);
}
io.envoyproxy.envoy.config.accesslog.v2.TcpGrpcAccessLogConfig other = (io.envoyproxy.envoy.config.accesslog.v2.TcpGrpcAccessLogConfig) obj;
if (hasCommonConfig() != other.hasCommonConfig()) return false;
if (hasCommonConfig()) {
if (!getCommonConfig()
.equals(other.getCommonConfig())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCommonConfig()) {
hash = (37 * hash) + COMMON_CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getCommonConfig().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.envoyproxy.envoy.config.accesslog.v2.TcpGrpcAccessLogConfig parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.config.accesslog.v2.TcpGrpcAccessLogConfig 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.config.accesslog.v2.TcpGrpcAccessLogConfig parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.config.accesslog.v2.TcpGrpcAccessLogConfig 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.config.accesslog.v2.TcpGrpcAccessLogConfig parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.config.accesslog.v2.TcpGrpcAccessLogConfig parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.envoyproxy.envoy.config.accesslog.v2.TcpGrpcAccessLogConfig parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.config.accesslog.v2.TcpGrpcAccessLogConfig 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.config.accesslog.v2.TcpGrpcAccessLogConfig parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.config.accesslog.v2.TcpGrpcAccessLogConfig 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.config.accesslog.v2.TcpGrpcAccessLogConfig parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.config.accesslog.v2.TcpGrpcAccessLogConfig 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.config.accesslog.v2.TcpGrpcAccessLogConfig 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;
}
/**
*
* Configuration for the built-in *envoy.tcp_grpc_access_log* type. This configuration will
* populate *StreamAccessLogsMessage.tcp_logs*.
*