
io.envoyproxy.envoy.data.tap.v3.Connection Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/data/tap/v3/common.proto
// Protobuf Java Version: 3.25.1
package io.envoyproxy.envoy.data.tap.v3;
/**
*
* Connection properties.
*
*
* Protobuf type {@code envoy.data.tap.v3.Connection}
*/
public final class Connection extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:envoy.data.tap.v3.Connection)
ConnectionOrBuilder {
private static final long serialVersionUID = 0L;
// Use Connection.newBuilder() to construct.
private Connection(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Connection() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Connection();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.envoyproxy.envoy.data.tap.v3.CommonProto.internal_static_envoy_data_tap_v3_Connection_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.envoyproxy.envoy.data.tap.v3.CommonProto.internal_static_envoy_data_tap_v3_Connection_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.envoyproxy.envoy.data.tap.v3.Connection.class, io.envoyproxy.envoy.data.tap.v3.Connection.Builder.class);
}
private int bitField0_;
public static final int LOCAL_ADDRESS_FIELD_NUMBER = 1;
private io.envoyproxy.envoy.config.core.v3.Address localAddress_;
/**
*
* Local address.
*
*
* .envoy.config.core.v3.Address local_address = 1;
* @return Whether the localAddress field is set.
*/
@java.lang.Override
public boolean hasLocalAddress() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Local address.
*
*
* .envoy.config.core.v3.Address local_address = 1;
* @return The localAddress.
*/
@java.lang.Override
public io.envoyproxy.envoy.config.core.v3.Address getLocalAddress() {
return localAddress_ == null ? io.envoyproxy.envoy.config.core.v3.Address.getDefaultInstance() : localAddress_;
}
/**
*
* Local address.
*
*
* .envoy.config.core.v3.Address local_address = 1;
*/
@java.lang.Override
public io.envoyproxy.envoy.config.core.v3.AddressOrBuilder getLocalAddressOrBuilder() {
return localAddress_ == null ? io.envoyproxy.envoy.config.core.v3.Address.getDefaultInstance() : localAddress_;
}
public static final int REMOTE_ADDRESS_FIELD_NUMBER = 2;
private io.envoyproxy.envoy.config.core.v3.Address remoteAddress_;
/**
*
* Remote address.
*
*
* .envoy.config.core.v3.Address remote_address = 2;
* @return Whether the remoteAddress field is set.
*/
@java.lang.Override
public boolean hasRemoteAddress() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Remote address.
*
*
* .envoy.config.core.v3.Address remote_address = 2;
* @return The remoteAddress.
*/
@java.lang.Override
public io.envoyproxy.envoy.config.core.v3.Address getRemoteAddress() {
return remoteAddress_ == null ? io.envoyproxy.envoy.config.core.v3.Address.getDefaultInstance() : remoteAddress_;
}
/**
*
* Remote address.
*
*
* .envoy.config.core.v3.Address remote_address = 2;
*/
@java.lang.Override
public io.envoyproxy.envoy.config.core.v3.AddressOrBuilder getRemoteAddressOrBuilder() {
return remoteAddress_ == null ? io.envoyproxy.envoy.config.core.v3.Address.getDefaultInstance() : remoteAddress_;
}
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, getLocalAddress());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getRemoteAddress());
}
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, getLocalAddress());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getRemoteAddress());
}
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.tap.v3.Connection)) {
return super.equals(obj);
}
io.envoyproxy.envoy.data.tap.v3.Connection other = (io.envoyproxy.envoy.data.tap.v3.Connection) obj;
if (hasLocalAddress() != other.hasLocalAddress()) return false;
if (hasLocalAddress()) {
if (!getLocalAddress()
.equals(other.getLocalAddress())) return false;
}
if (hasRemoteAddress() != other.hasRemoteAddress()) return false;
if (hasRemoteAddress()) {
if (!getRemoteAddress()
.equals(other.getRemoteAddress())) 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 (hasLocalAddress()) {
hash = (37 * hash) + LOCAL_ADDRESS_FIELD_NUMBER;
hash = (53 * hash) + getLocalAddress().hashCode();
}
if (hasRemoteAddress()) {
hash = (37 * hash) + REMOTE_ADDRESS_FIELD_NUMBER;
hash = (53 * hash) + getRemoteAddress().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.envoyproxy.envoy.data.tap.v3.Connection parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.data.tap.v3.Connection 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.tap.v3.Connection parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.data.tap.v3.Connection 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.tap.v3.Connection parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.data.tap.v3.Connection parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.envoyproxy.envoy.data.tap.v3.Connection parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.data.tap.v3.Connection 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.tap.v3.Connection parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.data.tap.v3.Connection 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.tap.v3.Connection parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.data.tap.v3.Connection 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.tap.v3.Connection 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;
}
/**
*
* Connection properties.
*
*
* Protobuf type {@code envoy.data.tap.v3.Connection}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:envoy.data.tap.v3.Connection)
io.envoyproxy.envoy.data.tap.v3.ConnectionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.envoyproxy.envoy.data.tap.v3.CommonProto.internal_static_envoy_data_tap_v3_Connection_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.envoyproxy.envoy.data.tap.v3.CommonProto.internal_static_envoy_data_tap_v3_Connection_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.envoyproxy.envoy.data.tap.v3.Connection.class, io.envoyproxy.envoy.data.tap.v3.Connection.Builder.class);
}
// Construct using io.envoyproxy.envoy.data.tap.v3.Connection.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getLocalAddressFieldBuilder();
getRemoteAddressFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
localAddress_ = null;
if (localAddressBuilder_ != null) {
localAddressBuilder_.dispose();
localAddressBuilder_ = null;
}
remoteAddress_ = null;
if (remoteAddressBuilder_ != null) {
remoteAddressBuilder_.dispose();
remoteAddressBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.envoyproxy.envoy.data.tap.v3.CommonProto.internal_static_envoy_data_tap_v3_Connection_descriptor;
}
@java.lang.Override
public io.envoyproxy.envoy.data.tap.v3.Connection getDefaultInstanceForType() {
return io.envoyproxy.envoy.data.tap.v3.Connection.getDefaultInstance();
}
@java.lang.Override
public io.envoyproxy.envoy.data.tap.v3.Connection build() {
io.envoyproxy.envoy.data.tap.v3.Connection result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.envoyproxy.envoy.data.tap.v3.Connection buildPartial() {
io.envoyproxy.envoy.data.tap.v3.Connection result = new io.envoyproxy.envoy.data.tap.v3.Connection(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(io.envoyproxy.envoy.data.tap.v3.Connection result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.localAddress_ = localAddressBuilder_ == null
? localAddress_
: localAddressBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.remoteAddress_ = remoteAddressBuilder_ == null
? remoteAddress_
: remoteAddressBuilder_.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.tap.v3.Connection) {
return mergeFrom((io.envoyproxy.envoy.data.tap.v3.Connection)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.envoyproxy.envoy.data.tap.v3.Connection other) {
if (other == io.envoyproxy.envoy.data.tap.v3.Connection.getDefaultInstance()) return this;
if (other.hasLocalAddress()) {
mergeLocalAddress(other.getLocalAddress());
}
if (other.hasRemoteAddress()) {
mergeRemoteAddress(other.getRemoteAddress());
}
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(
getLocalAddressFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getRemoteAddressFieldBuilder().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.config.core.v3.Address localAddress_;
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.config.core.v3.Address, io.envoyproxy.envoy.config.core.v3.Address.Builder, io.envoyproxy.envoy.config.core.v3.AddressOrBuilder> localAddressBuilder_;
/**
*
* Local address.
*
*
* .envoy.config.core.v3.Address local_address = 1;
* @return Whether the localAddress field is set.
*/
public boolean hasLocalAddress() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Local address.
*
*
* .envoy.config.core.v3.Address local_address = 1;
* @return The localAddress.
*/
public io.envoyproxy.envoy.config.core.v3.Address getLocalAddress() {
if (localAddressBuilder_ == null) {
return localAddress_ == null ? io.envoyproxy.envoy.config.core.v3.Address.getDefaultInstance() : localAddress_;
} else {
return localAddressBuilder_.getMessage();
}
}
/**
*
* Local address.
*
*
* .envoy.config.core.v3.Address local_address = 1;
*/
public Builder setLocalAddress(io.envoyproxy.envoy.config.core.v3.Address value) {
if (localAddressBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
localAddress_ = value;
} else {
localAddressBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* Local address.
*
*
* .envoy.config.core.v3.Address local_address = 1;
*/
public Builder setLocalAddress(
io.envoyproxy.envoy.config.core.v3.Address.Builder builderForValue) {
if (localAddressBuilder_ == null) {
localAddress_ = builderForValue.build();
} else {
localAddressBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* Local address.
*
*
* .envoy.config.core.v3.Address local_address = 1;
*/
public Builder mergeLocalAddress(io.envoyproxy.envoy.config.core.v3.Address value) {
if (localAddressBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
localAddress_ != null &&
localAddress_ != io.envoyproxy.envoy.config.core.v3.Address.getDefaultInstance()) {
getLocalAddressBuilder().mergeFrom(value);
} else {
localAddress_ = value;
}
} else {
localAddressBuilder_.mergeFrom(value);
}
if (localAddress_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
*
* Local address.
*
*
* .envoy.config.core.v3.Address local_address = 1;
*/
public Builder clearLocalAddress() {
bitField0_ = (bitField0_ & ~0x00000001);
localAddress_ = null;
if (localAddressBuilder_ != null) {
localAddressBuilder_.dispose();
localAddressBuilder_ = null;
}
onChanged();
return this;
}
/**
*
* Local address.
*
*
* .envoy.config.core.v3.Address local_address = 1;
*/
public io.envoyproxy.envoy.config.core.v3.Address.Builder getLocalAddressBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getLocalAddressFieldBuilder().getBuilder();
}
/**
*
* Local address.
*
*
* .envoy.config.core.v3.Address local_address = 1;
*/
public io.envoyproxy.envoy.config.core.v3.AddressOrBuilder getLocalAddressOrBuilder() {
if (localAddressBuilder_ != null) {
return localAddressBuilder_.getMessageOrBuilder();
} else {
return localAddress_ == null ?
io.envoyproxy.envoy.config.core.v3.Address.getDefaultInstance() : localAddress_;
}
}
/**
*
* Local address.
*
*
* .envoy.config.core.v3.Address local_address = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.config.core.v3.Address, io.envoyproxy.envoy.config.core.v3.Address.Builder, io.envoyproxy.envoy.config.core.v3.AddressOrBuilder>
getLocalAddressFieldBuilder() {
if (localAddressBuilder_ == null) {
localAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.config.core.v3.Address, io.envoyproxy.envoy.config.core.v3.Address.Builder, io.envoyproxy.envoy.config.core.v3.AddressOrBuilder>(
getLocalAddress(),
getParentForChildren(),
isClean());
localAddress_ = null;
}
return localAddressBuilder_;
}
private io.envoyproxy.envoy.config.core.v3.Address remoteAddress_;
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.config.core.v3.Address, io.envoyproxy.envoy.config.core.v3.Address.Builder, io.envoyproxy.envoy.config.core.v3.AddressOrBuilder> remoteAddressBuilder_;
/**
*
* Remote address.
*
*
* .envoy.config.core.v3.Address remote_address = 2;
* @return Whether the remoteAddress field is set.
*/
public boolean hasRemoteAddress() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Remote address.
*
*
* .envoy.config.core.v3.Address remote_address = 2;
* @return The remoteAddress.
*/
public io.envoyproxy.envoy.config.core.v3.Address getRemoteAddress() {
if (remoteAddressBuilder_ == null) {
return remoteAddress_ == null ? io.envoyproxy.envoy.config.core.v3.Address.getDefaultInstance() : remoteAddress_;
} else {
return remoteAddressBuilder_.getMessage();
}
}
/**
*
* Remote address.
*
*
* .envoy.config.core.v3.Address remote_address = 2;
*/
public Builder setRemoteAddress(io.envoyproxy.envoy.config.core.v3.Address value) {
if (remoteAddressBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
remoteAddress_ = value;
} else {
remoteAddressBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* Remote address.
*
*
* .envoy.config.core.v3.Address remote_address = 2;
*/
public Builder setRemoteAddress(
io.envoyproxy.envoy.config.core.v3.Address.Builder builderForValue) {
if (remoteAddressBuilder_ == null) {
remoteAddress_ = builderForValue.build();
} else {
remoteAddressBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* Remote address.
*
*
* .envoy.config.core.v3.Address remote_address = 2;
*/
public Builder mergeRemoteAddress(io.envoyproxy.envoy.config.core.v3.Address value) {
if (remoteAddressBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
remoteAddress_ != null &&
remoteAddress_ != io.envoyproxy.envoy.config.core.v3.Address.getDefaultInstance()) {
getRemoteAddressBuilder().mergeFrom(value);
} else {
remoteAddress_ = value;
}
} else {
remoteAddressBuilder_.mergeFrom(value);
}
if (remoteAddress_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
*
* Remote address.
*
*
* .envoy.config.core.v3.Address remote_address = 2;
*/
public Builder clearRemoteAddress() {
bitField0_ = (bitField0_ & ~0x00000002);
remoteAddress_ = null;
if (remoteAddressBuilder_ != null) {
remoteAddressBuilder_.dispose();
remoteAddressBuilder_ = null;
}
onChanged();
return this;
}
/**
*
* Remote address.
*
*
* .envoy.config.core.v3.Address remote_address = 2;
*/
public io.envoyproxy.envoy.config.core.v3.Address.Builder getRemoteAddressBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getRemoteAddressFieldBuilder().getBuilder();
}
/**
*
* Remote address.
*
*
* .envoy.config.core.v3.Address remote_address = 2;
*/
public io.envoyproxy.envoy.config.core.v3.AddressOrBuilder getRemoteAddressOrBuilder() {
if (remoteAddressBuilder_ != null) {
return remoteAddressBuilder_.getMessageOrBuilder();
} else {
return remoteAddress_ == null ?
io.envoyproxy.envoy.config.core.v3.Address.getDefaultInstance() : remoteAddress_;
}
}
/**
*
* Remote address.
*
*
* .envoy.config.core.v3.Address remote_address = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.config.core.v3.Address, io.envoyproxy.envoy.config.core.v3.Address.Builder, io.envoyproxy.envoy.config.core.v3.AddressOrBuilder>
getRemoteAddressFieldBuilder() {
if (remoteAddressBuilder_ == null) {
remoteAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.config.core.v3.Address, io.envoyproxy.envoy.config.core.v3.Address.Builder, io.envoyproxy.envoy.config.core.v3.AddressOrBuilder>(
getRemoteAddress(),
getParentForChildren(),
isClean());
remoteAddress_ = null;
}
return remoteAddressBuilder_;
}
@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.tap.v3.Connection)
}
// @@protoc_insertion_point(class_scope:envoy.data.tap.v3.Connection)
private static final io.envoyproxy.envoy.data.tap.v3.Connection DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.envoyproxy.envoy.data.tap.v3.Connection();
}
public static io.envoyproxy.envoy.data.tap.v3.Connection getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Connection 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.tap.v3.Connection getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy