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/bootstrap/v3/bootstrap.proto
package io.envoyproxy.envoy.config.bootstrap.v3;
/**
*
* Configuration for :ref:`access logs <arch_overview_access_logs>`
* emitted by the administration server.
*
*
* repeated .envoy.config.accesslog.v3.AccessLog access_log = 5;
*/
@java.lang.Override
public io.envoyproxy.envoy.config.accesslog.v3.AccessLogOrBuilder getAccessLogOrBuilder(
int index) {
return accessLog_.get(index);
}
public static final int ACCESS_LOG_PATH_FIELD_NUMBER = 1;
private volatile java.lang.Object accessLogPath_;
/**
*
* The path to write the access log for the administration server. If no
* access log is desired specify ‘/dev/null’. This is only required if
* :ref:`address <envoy_v3_api_field_config.bootstrap.v3.Admin.address>` is set.
* Deprecated in favor of ``access_log`` which offers more options.
*
* The path to write the access log for the administration server. If no
* access log is desired specify ‘/dev/null’. This is only required if
* :ref:`address <envoy_v3_api_field_config.bootstrap.v3.Admin.address>` is set.
* Deprecated in favor of ``access_log`` which offers more options.
*
*
* string access_log_path = 1 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
* @deprecated envoy.config.bootstrap.v3.Admin.access_log_path is deprecated.
* See envoy/config/bootstrap/v3/bootstrap.proto;l=429
* @return The bytes for accessLogPath.
*/
@java.lang.Override
@java.lang.Deprecated public com.google.protobuf.ByteString
getAccessLogPathBytes() {
java.lang.Object ref = accessLogPath_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
accessLogPath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PROFILE_PATH_FIELD_NUMBER = 2;
private volatile java.lang.Object profilePath_;
/**
*
* The cpu profiler output path for the administration server. If no profile
* path is specified, the default is ‘/var/log/envoy/envoy.prof’.
*
* Additional socket options that may not be present in Envoy source code or
* precompiled binaries.
*
*
* repeated .envoy.config.core.v3.SocketOption socket_options = 4;
*/
@java.lang.Override
public io.envoyproxy.envoy.config.core.v3.SocketOptionOrBuilder getSocketOptionsOrBuilder(
int index) {
return socketOptions_.get(index);
}
public static final int IGNORE_GLOBAL_CONN_LIMIT_FIELD_NUMBER = 6;
private boolean ignoreGlobalConnLimit_;
/**
*
* Indicates whether :ref:`global_downstream_max_connections <config_overload_manager_limiting_connections>`
* should apply to the admin interface or not.
*
*
* bool ignore_global_conn_limit = 6;
* @return The ignoreGlobalConnLimit.
*/
@java.lang.Override
public boolean getIgnoreGlobalConnLimit() {
return ignoreGlobalConnLimit_;
}
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(accessLogPath_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, accessLogPath_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(profilePath_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, profilePath_);
}
if (address_ != null) {
output.writeMessage(3, getAddress());
}
for (int i = 0; i < socketOptions_.size(); i++) {
output.writeMessage(4, socketOptions_.get(i));
}
for (int i = 0; i < accessLog_.size(); i++) {
output.writeMessage(5, accessLog_.get(i));
}
if (ignoreGlobalConnLimit_ != false) {
output.writeBool(6, ignoreGlobalConnLimit_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accessLogPath_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, accessLogPath_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(profilePath_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, profilePath_);
}
if (address_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getAddress());
}
for (int i = 0; i < socketOptions_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, socketOptions_.get(i));
}
for (int i = 0; i < accessLog_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, accessLog_.get(i));
}
if (ignoreGlobalConnLimit_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(6, ignoreGlobalConnLimit_);
}
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.bootstrap.v3.Admin)) {
return super.equals(obj);
}
io.envoyproxy.envoy.config.bootstrap.v3.Admin other = (io.envoyproxy.envoy.config.bootstrap.v3.Admin) obj;
if (!getAccessLogList()
.equals(other.getAccessLogList())) return false;
if (!getAccessLogPath()
.equals(other.getAccessLogPath())) return false;
if (!getProfilePath()
.equals(other.getProfilePath())) return false;
if (hasAddress() != other.hasAddress()) return false;
if (hasAddress()) {
if (!getAddress()
.equals(other.getAddress())) return false;
}
if (!getSocketOptionsList()
.equals(other.getSocketOptionsList())) return false;
if (getIgnoreGlobalConnLimit()
!= other.getIgnoreGlobalConnLimit()) 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 (getAccessLogCount() > 0) {
hash = (37 * hash) + ACCESS_LOG_FIELD_NUMBER;
hash = (53 * hash) + getAccessLogList().hashCode();
}
hash = (37 * hash) + ACCESS_LOG_PATH_FIELD_NUMBER;
hash = (53 * hash) + getAccessLogPath().hashCode();
hash = (37 * hash) + PROFILE_PATH_FIELD_NUMBER;
hash = (53 * hash) + getProfilePath().hashCode();
if (hasAddress()) {
hash = (37 * hash) + ADDRESS_FIELD_NUMBER;
hash = (53 * hash) + getAddress().hashCode();
}
if (getSocketOptionsCount() > 0) {
hash = (37 * hash) + SOCKET_OPTIONS_FIELD_NUMBER;
hash = (53 * hash) + getSocketOptionsList().hashCode();
}
hash = (37 * hash) + IGNORE_GLOBAL_CONN_LIMIT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIgnoreGlobalConnLimit());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.envoyproxy.envoy.config.bootstrap.v3.Admin parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.config.bootstrap.v3.Admin 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.bootstrap.v3.Admin parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.config.bootstrap.v3.Admin 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.bootstrap.v3.Admin parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.config.bootstrap.v3.Admin parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.envoyproxy.envoy.config.bootstrap.v3.Admin parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.config.bootstrap.v3.Admin 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.bootstrap.v3.Admin parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.config.bootstrap.v3.Admin 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.bootstrap.v3.Admin parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.config.bootstrap.v3.Admin 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.bootstrap.v3.Admin 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;
}
/**
*
* The path to write the access log for the administration server. If no
* access log is desired specify ‘/dev/null’. This is only required if
* :ref:`address <envoy_v3_api_field_config.bootstrap.v3.Admin.address>` is set.
* Deprecated in favor of ``access_log`` which offers more options.
*
* The path to write the access log for the administration server. If no
* access log is desired specify ‘/dev/null’. This is only required if
* :ref:`address <envoy_v3_api_field_config.bootstrap.v3.Admin.address>` is set.
* Deprecated in favor of ``access_log`` which offers more options.
*
*
* string access_log_path = 1 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
* @deprecated envoy.config.bootstrap.v3.Admin.access_log_path is deprecated.
* See envoy/config/bootstrap/v3/bootstrap.proto;l=429
* @return The bytes for accessLogPath.
*/
@java.lang.Deprecated public com.google.protobuf.ByteString
getAccessLogPathBytes() {
java.lang.Object ref = accessLogPath_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
accessLogPath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The path to write the access log for the administration server. If no
* access log is desired specify ‘/dev/null’. This is only required if
* :ref:`address <envoy_v3_api_field_config.bootstrap.v3.Admin.address>` is set.
* Deprecated in favor of ``access_log`` which offers more options.
*
*
* string access_log_path = 1 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
* @deprecated envoy.config.bootstrap.v3.Admin.access_log_path is deprecated.
* See envoy/config/bootstrap/v3/bootstrap.proto;l=429
* @param value The accessLogPath to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setAccessLogPath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
accessLogPath_ = value;
onChanged();
return this;
}
/**
*
* The path to write the access log for the administration server. If no
* access log is desired specify ‘/dev/null’. This is only required if
* :ref:`address <envoy_v3_api_field_config.bootstrap.v3.Admin.address>` is set.
* Deprecated in favor of ``access_log`` which offers more options.
*
*
* string access_log_path = 1 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
* @deprecated envoy.config.bootstrap.v3.Admin.access_log_path is deprecated.
* See envoy/config/bootstrap/v3/bootstrap.proto;l=429
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearAccessLogPath() {
accessLogPath_ = getDefaultInstance().getAccessLogPath();
onChanged();
return this;
}
/**
*
* The path to write the access log for the administration server. If no
* access log is desired specify ‘/dev/null’. This is only required if
* :ref:`address <envoy_v3_api_field_config.bootstrap.v3.Admin.address>` is set.
* Deprecated in favor of ``access_log`` which offers more options.
*
*
* string access_log_path = 1 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
* @deprecated envoy.config.bootstrap.v3.Admin.access_log_path is deprecated.
* See envoy/config/bootstrap/v3/bootstrap.proto;l=429
* @param value The bytes for accessLogPath to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setAccessLogPathBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
accessLogPath_ = value;
onChanged();
return this;
}
private java.lang.Object profilePath_ = "";
/**
*
* The cpu profiler output path for the administration server. If no profile
* path is specified, the default is ‘/var/log/envoy/envoy.prof’.
*
* Indicates whether :ref:`global_downstream_max_connections <config_overload_manager_limiting_connections>`
* should apply to the admin interface or not.
*
* Indicates whether :ref:`global_downstream_max_connections <config_overload_manager_limiting_connections>`
* should apply to the admin interface or not.
*
*
* bool ignore_global_conn_limit = 6;
* @param value The ignoreGlobalConnLimit to set.
* @return This builder for chaining.
*/
public Builder setIgnoreGlobalConnLimit(boolean value) {
ignoreGlobalConnLimit_ = value;
onChanged();
return this;
}
/**
*
* Indicates whether :ref:`global_downstream_max_connections <config_overload_manager_limiting_connections>`
* should apply to the admin interface or not.
*
*
* bool ignore_global_conn_limit = 6;
* @return This builder for chaining.
*/
public Builder clearIgnoreGlobalConnLimit() {
ignoreGlobalConnLimit_ = false;
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:envoy.config.bootstrap.v3.Admin)
}
// @@protoc_insertion_point(class_scope:envoy.config.bootstrap.v3.Admin)
private static final io.envoyproxy.envoy.config.bootstrap.v3.Admin DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.envoyproxy.envoy.config.bootstrap.v3.Admin();
}
public static io.envoyproxy.envoy.config.bootstrap.v3.Admin getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Admin parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Admin(input, extensionRegistry);
}
};
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.config.bootstrap.v3.Admin getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}