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

io.envoyproxy.envoy.config.bootstrap.v2.Admin Maven / Gradle / Ivy

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

package io.envoyproxy.envoy.config.bootstrap.v2;

/**
 * 
 * Administration interface :ref:`operations documentation
 * <operations_admin_interface>`.
 * 
* * Protobuf type {@code envoy.config.bootstrap.v2.Admin} */ public final class Admin extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.config.bootstrap.v2.Admin) AdminOrBuilder { private static final long serialVersionUID = 0L; // Use Admin.newBuilder() to construct. private Admin(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Admin() { accessLogPath_ = ""; profilePath_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Admin( 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: { java.lang.String s = input.readStringRequireUtf8(); accessLogPath_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); profilePath_ = s; break; } case 26: { io.envoyproxy.envoy.api.v2.core.Address.Builder subBuilder = null; if (address_ != null) { subBuilder = address_.toBuilder(); } address_ = input.readMessage(io.envoyproxy.envoy.api.v2.core.Address.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(address_); address_ = 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.config.bootstrap.v2.BootstrapProto.internal_static_envoy_config_bootstrap_v2_Admin_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v2.BootstrapProto.internal_static_envoy_config_bootstrap_v2_Admin_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v2.Admin.class, io.envoyproxy.envoy.config.bootstrap.v2.Admin.Builder.class); } 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_api_field_config.bootstrap.v2.Admin.address>` is set.
   * 
* * string access_log_path = 1; */ public java.lang.String getAccessLogPath() { java.lang.Object ref = accessLogPath_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); accessLogPath_ = s; return s; } } /** *
   * 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_api_field_config.bootstrap.v2.Admin.address>` is set.
   * 
* * string access_log_path = 1; */ 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’.
   * 
* * string profile_path = 2; */ public java.lang.String getProfilePath() { java.lang.Object ref = profilePath_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); profilePath_ = s; return s; } } /** *
   * The cpu profiler output path for the administration server. If no profile
   * path is specified, the default is ‘/var/log/envoy/envoy.prof’.
   * 
* * string profile_path = 2; */ public com.google.protobuf.ByteString getProfilePathBytes() { java.lang.Object ref = profilePath_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); profilePath_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ADDRESS_FIELD_NUMBER = 3; private io.envoyproxy.envoy.api.v2.core.Address address_; /** *
   * The TCP address that the administration server will listen on.
   * If not specified, Envoy will not start an administration server.
   * 
* * .envoy.api.v2.core.Address address = 3; */ public boolean hasAddress() { return address_ != null; } /** *
   * The TCP address that the administration server will listen on.
   * If not specified, Envoy will not start an administration server.
   * 
* * .envoy.api.v2.core.Address address = 3; */ public io.envoyproxy.envoy.api.v2.core.Address getAddress() { return address_ == null ? io.envoyproxy.envoy.api.v2.core.Address.getDefaultInstance() : address_; } /** *
   * The TCP address that the administration server will listen on.
   * If not specified, Envoy will not start an administration server.
   * 
* * .envoy.api.v2.core.Address address = 3; */ public io.envoyproxy.envoy.api.v2.core.AddressOrBuilder getAddressOrBuilder() { return getAddress(); } 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 (!getAccessLogPathBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, accessLogPath_); } if (!getProfilePathBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, profilePath_); } if (address_ != null) { output.writeMessage(3, getAddress()); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getAccessLogPathBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, accessLogPath_); } if (!getProfilePathBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, profilePath_); } if (address_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getAddress()); } 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.v2.Admin)) { return super.equals(obj); } io.envoyproxy.envoy.config.bootstrap.v2.Admin other = (io.envoyproxy.envoy.config.bootstrap.v2.Admin) obj; boolean result = true; result = result && getAccessLogPath() .equals(other.getAccessLogPath()); result = result && getProfilePath() .equals(other.getProfilePath()); result = result && (hasAddress() == other.hasAddress()); if (hasAddress()) { result = result && getAddress() .equals(other.getAddress()); } 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(); 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(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.config.bootstrap.v2.Admin parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v2.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.v2.Admin parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v2.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.v2.Admin parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.envoyproxy.envoy.config.bootstrap.v2.Admin 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; } /** *
   * Administration interface :ref:`operations documentation
   * <operations_admin_interface>`.
   * 
* * Protobuf type {@code envoy.config.bootstrap.v2.Admin} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.config.bootstrap.v2.Admin) io.envoyproxy.envoy.config.bootstrap.v2.AdminOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.bootstrap.v2.BootstrapProto.internal_static_envoy_config_bootstrap_v2_Admin_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v2.BootstrapProto.internal_static_envoy_config_bootstrap_v2_Admin_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v2.Admin.class, io.envoyproxy.envoy.config.bootstrap.v2.Admin.Builder.class); } // Construct using io.envoyproxy.envoy.config.bootstrap.v2.Admin.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(); accessLogPath_ = ""; profilePath_ = ""; if (addressBuilder_ == null) { address_ = null; } else { address_ = null; addressBuilder_ = null; } return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.config.bootstrap.v2.BootstrapProto.internal_static_envoy_config_bootstrap_v2_Admin_descriptor; } public io.envoyproxy.envoy.config.bootstrap.v2.Admin getDefaultInstanceForType() { return io.envoyproxy.envoy.config.bootstrap.v2.Admin.getDefaultInstance(); } public io.envoyproxy.envoy.config.bootstrap.v2.Admin build() { io.envoyproxy.envoy.config.bootstrap.v2.Admin result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.envoyproxy.envoy.config.bootstrap.v2.Admin buildPartial() { io.envoyproxy.envoy.config.bootstrap.v2.Admin result = new io.envoyproxy.envoy.config.bootstrap.v2.Admin(this); result.accessLogPath_ = accessLogPath_; result.profilePath_ = profilePath_; if (addressBuilder_ == null) { result.address_ = address_; } else { result.address_ = addressBuilder_.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.config.bootstrap.v2.Admin) { return mergeFrom((io.envoyproxy.envoy.config.bootstrap.v2.Admin)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.config.bootstrap.v2.Admin other) { if (other == io.envoyproxy.envoy.config.bootstrap.v2.Admin.getDefaultInstance()) return this; if (!other.getAccessLogPath().isEmpty()) { accessLogPath_ = other.accessLogPath_; onChanged(); } if (!other.getProfilePath().isEmpty()) { profilePath_ = other.profilePath_; onChanged(); } if (other.hasAddress()) { mergeAddress(other.getAddress()); } 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.config.bootstrap.v2.Admin parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.envoyproxy.envoy.config.bootstrap.v2.Admin) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private 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_api_field_config.bootstrap.v2.Admin.address>` is set.
     * 
* * string access_log_path = 1; */ public java.lang.String getAccessLogPath() { java.lang.Object ref = accessLogPath_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); accessLogPath_ = s; return s; } else { return (java.lang.String) 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_api_field_config.bootstrap.v2.Admin.address>` is set.
     * 
* * string access_log_path = 1; */ 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_api_field_config.bootstrap.v2.Admin.address>` is set.
     * 
* * string access_log_path = 1; */ 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_api_field_config.bootstrap.v2.Admin.address>` is set.
     * 
* * string access_log_path = 1; */ 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_api_field_config.bootstrap.v2.Admin.address>` is set.
     * 
* * string access_log_path = 1; */ 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’.
     * 
* * string profile_path = 2; */ public java.lang.String getProfilePath() { java.lang.Object ref = profilePath_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); profilePath_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * The cpu profiler output path for the administration server. If no profile
     * path is specified, the default is ‘/var/log/envoy/envoy.prof’.
     * 
* * string profile_path = 2; */ public com.google.protobuf.ByteString getProfilePathBytes() { java.lang.Object ref = profilePath_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); profilePath_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * The cpu profiler output path for the administration server. If no profile
     * path is specified, the default is ‘/var/log/envoy/envoy.prof’.
     * 
* * string profile_path = 2; */ public Builder setProfilePath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } profilePath_ = value; onChanged(); return this; } /** *
     * The cpu profiler output path for the administration server. If no profile
     * path is specified, the default is ‘/var/log/envoy/envoy.prof’.
     * 
* * string profile_path = 2; */ public Builder clearProfilePath() { profilePath_ = getDefaultInstance().getProfilePath(); onChanged(); return this; } /** *
     * The cpu profiler output path for the administration server. If no profile
     * path is specified, the default is ‘/var/log/envoy/envoy.prof’.
     * 
* * string profile_path = 2; */ public Builder setProfilePathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); profilePath_ = value; onChanged(); return this; } private io.envoyproxy.envoy.api.v2.core.Address address_ = null; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.Address, io.envoyproxy.envoy.api.v2.core.Address.Builder, io.envoyproxy.envoy.api.v2.core.AddressOrBuilder> addressBuilder_; /** *
     * The TCP address that the administration server will listen on.
     * If not specified, Envoy will not start an administration server.
     * 
* * .envoy.api.v2.core.Address address = 3; */ public boolean hasAddress() { return addressBuilder_ != null || address_ != null; } /** *
     * The TCP address that the administration server will listen on.
     * If not specified, Envoy will not start an administration server.
     * 
* * .envoy.api.v2.core.Address address = 3; */ public io.envoyproxy.envoy.api.v2.core.Address getAddress() { if (addressBuilder_ == null) { return address_ == null ? io.envoyproxy.envoy.api.v2.core.Address.getDefaultInstance() : address_; } else { return addressBuilder_.getMessage(); } } /** *
     * The TCP address that the administration server will listen on.
     * If not specified, Envoy will not start an administration server.
     * 
* * .envoy.api.v2.core.Address address = 3; */ public Builder setAddress(io.envoyproxy.envoy.api.v2.core.Address value) { if (addressBuilder_ == null) { if (value == null) { throw new NullPointerException(); } address_ = value; onChanged(); } else { addressBuilder_.setMessage(value); } return this; } /** *
     * The TCP address that the administration server will listen on.
     * If not specified, Envoy will not start an administration server.
     * 
* * .envoy.api.v2.core.Address address = 3; */ public Builder setAddress( io.envoyproxy.envoy.api.v2.core.Address.Builder builderForValue) { if (addressBuilder_ == null) { address_ = builderForValue.build(); onChanged(); } else { addressBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * The TCP address that the administration server will listen on.
     * If not specified, Envoy will not start an administration server.
     * 
* * .envoy.api.v2.core.Address address = 3; */ public Builder mergeAddress(io.envoyproxy.envoy.api.v2.core.Address value) { if (addressBuilder_ == null) { if (address_ != null) { address_ = io.envoyproxy.envoy.api.v2.core.Address.newBuilder(address_).mergeFrom(value).buildPartial(); } else { address_ = value; } onChanged(); } else { addressBuilder_.mergeFrom(value); } return this; } /** *
     * The TCP address that the administration server will listen on.
     * If not specified, Envoy will not start an administration server.
     * 
* * .envoy.api.v2.core.Address address = 3; */ public Builder clearAddress() { if (addressBuilder_ == null) { address_ = null; onChanged(); } else { address_ = null; addressBuilder_ = null; } return this; } /** *
     * The TCP address that the administration server will listen on.
     * If not specified, Envoy will not start an administration server.
     * 
* * .envoy.api.v2.core.Address address = 3; */ public io.envoyproxy.envoy.api.v2.core.Address.Builder getAddressBuilder() { onChanged(); return getAddressFieldBuilder().getBuilder(); } /** *
     * The TCP address that the administration server will listen on.
     * If not specified, Envoy will not start an administration server.
     * 
* * .envoy.api.v2.core.Address address = 3; */ public io.envoyproxy.envoy.api.v2.core.AddressOrBuilder getAddressOrBuilder() { if (addressBuilder_ != null) { return addressBuilder_.getMessageOrBuilder(); } else { return address_ == null ? io.envoyproxy.envoy.api.v2.core.Address.getDefaultInstance() : address_; } } /** *
     * The TCP address that the administration server will listen on.
     * If not specified, Envoy will not start an administration server.
     * 
* * .envoy.api.v2.core.Address address = 3; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.Address, io.envoyproxy.envoy.api.v2.core.Address.Builder, io.envoyproxy.envoy.api.v2.core.AddressOrBuilder> getAddressFieldBuilder() { if (addressBuilder_ == null) { addressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.Address, io.envoyproxy.envoy.api.v2.core.Address.Builder, io.envoyproxy.envoy.api.v2.core.AddressOrBuilder>( getAddress(), getParentForChildren(), isClean()); address_ = null; } return addressBuilder_; } 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.config.bootstrap.v2.Admin) } // @@protoc_insertion_point(class_scope:envoy.config.bootstrap.v2.Admin) private static final io.envoyproxy.envoy.config.bootstrap.v2.Admin DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.config.bootstrap.v2.Admin(); } public static io.envoyproxy.envoy.config.bootstrap.v2.Admin getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { 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; } public io.envoyproxy.envoy.config.bootstrap.v2.Admin getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy