
alluxio.shaded.client.io.grpc.channelz.v1.Socket Maven / Gradle / Ivy
// Generated by the protocol buffer alluxio.shaded.client.com.iler. DO NOT EDIT!
// source: grpc/channelz/v1/channelz.proto
package alluxio.shaded.client.io.grpc.channelz.v1;
/**
*
* Information about an actual connection. Pronounced "sock-ay".
*
*
* Protobuf type {@code grpc.channelz.v1.Socket}
*/
public final class Socket extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:grpc.channelz.v1.Socket)
SocketOrBuilder {
private static final long serialVersionUID = 0L;
// Use Socket.newBuilder() to construct.
private Socket(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Socket() {
remoteName_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Socket();
}
@java.lang.Override
public final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.shaded.client.io.grpc.channelz.v1.ChannelzProto.internal_static_grpc_channelz_v1_Socket_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.shaded.client.io.grpc.channelz.v1.ChannelzProto.internal_static_grpc_channelz_v1_Socket_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.shaded.client.io.grpc.channelz.v1.Socket.class, alluxio.shaded.client.io.grpc.channelz.v1.Socket.Builder.class);
}
public static final int REF_FIELD_NUMBER = 1;
private alluxio.shaded.client.io.grpc.channelz.v1.SocketRef ref_;
/**
*
* The identifier for the Socket.
*
*
* .grpc.channelz.v1.SocketRef ref = 1;
* @return Whether the ref field is set.
*/
@java.lang.Override
public boolean hasRef() {
return ref_ != null;
}
/**
*
* The identifier for the Socket.
*
*
* .grpc.channelz.v1.SocketRef ref = 1;
* @return The ref.
*/
@java.lang.Override
public alluxio.shaded.client.io.grpc.channelz.v1.SocketRef getRef() {
return ref_ == null ? alluxio.shaded.client.io.grpc.channelz.v1.SocketRef.getDefaultInstance() : ref_;
}
/**
*
* The identifier for the Socket.
*
*
* .grpc.channelz.v1.SocketRef ref = 1;
*/
@java.lang.Override
public alluxio.shaded.client.io.grpc.channelz.v1.SocketRefOrBuilder getRefOrBuilder() {
return getRef();
}
public static final int DATA_FIELD_NUMBER = 2;
private alluxio.shaded.client.io.grpc.channelz.v1.SocketData data_;
/**
*
* Data specific to this Socket.
*
*
* .grpc.channelz.v1.SocketData data = 2;
* @return Whether the data field is set.
*/
@java.lang.Override
public boolean hasData() {
return data_ != null;
}
/**
*
* Data specific to this Socket.
*
*
* .grpc.channelz.v1.SocketData data = 2;
* @return The data.
*/
@java.lang.Override
public alluxio.shaded.client.io.grpc.channelz.v1.SocketData getData() {
return data_ == null ? alluxio.shaded.client.io.grpc.channelz.v1.SocketData.getDefaultInstance() : data_;
}
/**
*
* Data specific to this Socket.
*
*
* .grpc.channelz.v1.SocketData data = 2;
*/
@java.lang.Override
public alluxio.shaded.client.io.grpc.channelz.v1.SocketDataOrBuilder getDataOrBuilder() {
return getData();
}
public static final int LOCAL_FIELD_NUMBER = 3;
private alluxio.shaded.client.io.grpc.channelz.v1.Address local_;
/**
*
* The locally bound address.
*
*
* .grpc.channelz.v1.Address local = 3;
* @return Whether the local field is set.
*/
@java.lang.Override
public boolean hasLocal() {
return local_ != null;
}
/**
*
* The locally bound address.
*
*
* .grpc.channelz.v1.Address local = 3;
* @return The local.
*/
@java.lang.Override
public alluxio.shaded.client.io.grpc.channelz.v1.Address getLocal() {
return local_ == null ? alluxio.shaded.client.io.grpc.channelz.v1.Address.getDefaultInstance() : local_;
}
/**
*
* The locally bound address.
*
*
* .grpc.channelz.v1.Address local = 3;
*/
@java.lang.Override
public alluxio.shaded.client.io.grpc.channelz.v1.AddressOrBuilder getLocalOrBuilder() {
return getLocal();
}
public static final int REMOTE_FIELD_NUMBER = 4;
private alluxio.shaded.client.io.grpc.channelz.v1.Address remote_;
/**
*
* The remote bound address. May be absent.
*
*
* .grpc.channelz.v1.Address remote = 4;
* @return Whether the remote field is set.
*/
@java.lang.Override
public boolean hasRemote() {
return remote_ != null;
}
/**
*
* The remote bound address. May be absent.
*
*
* .grpc.channelz.v1.Address remote = 4;
* @return The remote.
*/
@java.lang.Override
public alluxio.shaded.client.io.grpc.channelz.v1.Address getRemote() {
return remote_ == null ? alluxio.shaded.client.io.grpc.channelz.v1.Address.getDefaultInstance() : remote_;
}
/**
*
* The remote bound address. May be absent.
*
*
* .grpc.channelz.v1.Address remote = 4;
*/
@java.lang.Override
public alluxio.shaded.client.io.grpc.channelz.v1.AddressOrBuilder getRemoteOrBuilder() {
return getRemote();
}
public static final int SECURITY_FIELD_NUMBER = 5;
private alluxio.shaded.client.io.grpc.channelz.v1.Security security_;
/**
*
* Security details for this socket. May be absent if not available, or
* there is no security on the socket.
*
*
* .grpc.channelz.v1.Security security = 5;
* @return Whether the security field is set.
*/
@java.lang.Override
public boolean hasSecurity() {
return security_ != null;
}
/**
*
* Security details for this socket. May be absent if not available, or
* there is no security on the socket.
*
*
* .grpc.channelz.v1.Security security = 5;
* @return The security.
*/
@java.lang.Override
public alluxio.shaded.client.io.grpc.channelz.v1.Security getSecurity() {
return security_ == null ? alluxio.shaded.client.io.grpc.channelz.v1.Security.getDefaultInstance() : security_;
}
/**
*
* Security details for this socket. May be absent if not available, or
* there is no security on the socket.
*
*
* .grpc.channelz.v1.Security security = 5;
*/
@java.lang.Override
public alluxio.shaded.client.io.grpc.channelz.v1.SecurityOrBuilder getSecurityOrBuilder() {
return getSecurity();
}
public static final int REMOTE_NAME_FIELD_NUMBER = 6;
private volatile java.lang.Object remoteName_;
/**
*
* Optional, represents the name of the remote endpoint, if different than
* the original target name.
*
*
* string remote_name = 6;
* @return The remoteName.
*/
@java.lang.Override
public java.lang.String getRemoteName() {
java.lang.Object ref = remoteName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
remoteName_ = s;
return s;
}
}
/**
*
* Optional, represents the name of the remote endpoint, if different than
* the original target name.
*
*
* string remote_name = 6;
* @return The bytes for remoteName.
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString
getRemoteNameBytes() {
java.lang.Object ref = remoteName_;
if (ref instanceof java.lang.String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
remoteName_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
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(alluxio.shaded.client.com.google.protobuf.CodedOutputStream output)
throws java.alluxio.shaded.client.io.IOException {
if (ref_ != null) {
output.writeMessage(1, getRef());
}
if (data_ != null) {
output.writeMessage(2, getData());
}
if (local_ != null) {
output.writeMessage(3, getLocal());
}
if (remote_ != null) {
output.writeMessage(4, getRemote());
}
if (security_ != null) {
output.writeMessage(5, getSecurity());
}
if (!alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.isStringEmpty(remoteName_)) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 6, remoteName_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (ref_ != null) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteMessageSize(1, getRef());
}
if (data_ != null) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteMessageSize(2, getData());
}
if (local_ != null) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteMessageSize(3, getLocal());
}
if (remote_ != null) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteMessageSize(4, getRemote());
}
if (security_ != null) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteMessageSize(5, getSecurity());
}
if (!alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.isStringEmpty(remoteName_)) {
size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(6, remoteName_);
}
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 alluxio.shaded.client.io.grpc.channelz.v1.Socket)) {
return super.equals(obj);
}
alluxio.shaded.client.io.grpc.channelz.v1.Socket other = (alluxio.shaded.client.io.grpc.channelz.v1.Socket) obj;
if (hasRef() != other.hasRef()) return false;
if (hasRef()) {
if (!getRef()
.equals(other.getRef())) return false;
}
if (hasData() != other.hasData()) return false;
if (hasData()) {
if (!getData()
.equals(other.getData())) return false;
}
if (hasLocal() != other.hasLocal()) return false;
if (hasLocal()) {
if (!getLocal()
.equals(other.getLocal())) return false;
}
if (hasRemote() != other.hasRemote()) return false;
if (hasRemote()) {
if (!getRemote()
.equals(other.getRemote())) return false;
}
if (hasSecurity() != other.hasSecurity()) return false;
if (hasSecurity()) {
if (!getSecurity()
.equals(other.getSecurity())) return false;
}
if (!getRemoteName()
.equals(other.getRemoteName())) 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 (hasRef()) {
hash = (37 * hash) + REF_FIELD_NUMBER;
hash = (53 * hash) + getRef().hashCode();
}
if (hasData()) {
hash = (37 * hash) + DATA_FIELD_NUMBER;
hash = (53 * hash) + getData().hashCode();
}
if (hasLocal()) {
hash = (37 * hash) + LOCAL_FIELD_NUMBER;
hash = (53 * hash) + getLocal().hashCode();
}
if (hasRemote()) {
hash = (37 * hash) + REMOTE_FIELD_NUMBER;
hash = (53 * hash) + getRemote().hashCode();
}
if (hasSecurity()) {
hash = (37 * hash) + SECURITY_FIELD_NUMBER;
hash = (53 * hash) + getSecurity().hashCode();
}
hash = (37 * hash) + REMOTE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getRemoteName().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static alluxio.shaded.client.io.grpc.channelz.v1.Socket parseFrom(
java.nio.ByteBuffer data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.shaded.client.io.grpc.channelz.v1.Socket parseFrom(
java.nio.ByteBuffer data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.shaded.client.io.grpc.channelz.v1.Socket parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.shaded.client.io.grpc.channelz.v1.Socket parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.shaded.client.io.grpc.channelz.v1.Socket parseFrom(byte[] data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.shaded.client.io.grpc.channelz.v1.Socket parseFrom(
byte[] data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.shaded.client.io.grpc.channelz.v1.Socket parseFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.shaded.client.io.grpc.channelz.v1.Socket parseFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.shaded.client.io.grpc.channelz.v1.Socket parseDelimitedFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static alluxio.shaded.client.io.grpc.channelz.v1.Socket parseDelimitedFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.shaded.client.io.grpc.channelz.v1.Socket parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.shaded.client.io.grpc.channelz.v1.Socket parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.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(alluxio.shaded.client.io.grpc.channelz.v1.Socket 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(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Information about an actual connection. Pronounced "sock-ay".
*
*
* Protobuf type {@code grpc.channelz.v1.Socket}
*/
public static final class Builder extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:grpc.channelz.v1.Socket)
alluxio.shaded.client.io.grpc.channelz.v1.SocketOrBuilder {
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.shaded.client.io.grpc.channelz.v1.ChannelzProto.internal_static_grpc_channelz_v1_Socket_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.shaded.client.io.grpc.channelz.v1.ChannelzProto.internal_static_grpc_channelz_v1_Socket_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.shaded.client.io.grpc.channelz.v1.Socket.class, alluxio.shaded.client.io.grpc.channelz.v1.Socket.Builder.class);
}
// Construct using alluxio.shaded.client.io.grpc.channelz.v1.Socket.newBuilder()
private Builder() {
}
private Builder(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
if (refBuilder_ == null) {
ref_ = null;
} else {
ref_ = null;
refBuilder_ = null;
}
if (dataBuilder_ == null) {
data_ = null;
} else {
data_ = null;
dataBuilder_ = null;
}
if (localBuilder_ == null) {
local_ = null;
} else {
local_ = null;
localBuilder_ = null;
}
if (remoteBuilder_ == null) {
remote_ = null;
} else {
remote_ = null;
remoteBuilder_ = null;
}
if (securityBuilder_ == null) {
security_ = null;
} else {
security_ = null;
securityBuilder_ = null;
}
remoteName_ = "";
return this;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return alluxio.shaded.client.io.grpc.channelz.v1.ChannelzProto.internal_static_grpc_channelz_v1_Socket_descriptor;
}
@java.lang.Override
public alluxio.shaded.client.io.grpc.channelz.v1.Socket getDefaultInstanceForType() {
return alluxio.shaded.client.io.grpc.channelz.v1.Socket.getDefaultInstance();
}
@java.lang.Override
public alluxio.shaded.client.io.grpc.channelz.v1.Socket build() {
alluxio.shaded.client.io.grpc.channelz.v1.Socket result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public alluxio.shaded.client.io.grpc.channelz.v1.Socket buildPartial() {
alluxio.shaded.client.io.grpc.channelz.v1.Socket result = new alluxio.shaded.client.io.grpc.channelz.v1.Socket(this);
if (refBuilder_ == null) {
result.ref_ = ref_;
} else {
result.ref_ = refBuilder_.build();
}
if (dataBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = dataBuilder_.build();
}
if (localBuilder_ == null) {
result.local_ = local_;
} else {
result.local_ = localBuilder_.build();
}
if (remoteBuilder_ == null) {
result.remote_ = remote_;
} else {
result.remote_ = remoteBuilder_.build();
}
if (securityBuilder_ == null) {
result.security_ = security_;
} else {
result.security_ = securityBuilder_.build();
}
result.remoteName_ = remoteName_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
alluxio.shaded.client.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(alluxio.shaded.client.com.google.protobuf.Message other) {
if (other instanceof alluxio.shaded.client.io.grpc.channelz.v1.Socket) {
return mergeFrom((alluxio.shaded.client.io.grpc.channelz.v1.Socket)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(alluxio.shaded.client.io.grpc.channelz.v1.Socket other) {
if (other == alluxio.shaded.client.io.grpc.channelz.v1.Socket.getDefaultInstance()) return this;
if (other.hasRef()) {
mergeRef(other.getRef());
}
if (other.hasData()) {
mergeData(other.getData());
}
if (other.hasLocal()) {
mergeLocal(other.getLocal());
}
if (other.hasRemote()) {
mergeRemote(other.getRemote());
}
if (other.hasSecurity()) {
mergeSecurity(other.getSecurity());
}
if (!other.getRemoteName().isEmpty()) {
remoteName_ = other.remoteName_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.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(
getRefFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 10
case 18: {
input.readMessage(
getDataFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 18
case 26: {
input.readMessage(
getLocalFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 26
case 34: {
input.readMessage(
getRemoteFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 34
case 42: {
input.readMessage(
getSecurityFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 42
case 50: {
remoteName_ = input.readStringRequireUtf8();
break;
} // case 50
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private alluxio.shaded.client.io.grpc.channelz.v1.SocketRef ref_;
private alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.shaded.client.io.grpc.channelz.v1.SocketRef, alluxio.shaded.client.io.grpc.channelz.v1.SocketRef.Builder, alluxio.shaded.client.io.grpc.channelz.v1.SocketRefOrBuilder> refBuilder_;
/**
*
* The identifier for the Socket.
*
*
* .grpc.channelz.v1.SocketRef ref = 1;
* @return Whether the ref field is set.
*/
public boolean hasRef() {
return refBuilder_ != null || ref_ != null;
}
/**
*
* The identifier for the Socket.
*
*
* .grpc.channelz.v1.SocketRef ref = 1;
* @return The ref.
*/
public alluxio.shaded.client.io.grpc.channelz.v1.SocketRef getRef() {
if (refBuilder_ == null) {
return ref_ == null ? alluxio.shaded.client.io.grpc.channelz.v1.SocketRef.getDefaultInstance() : ref_;
} else {
return refBuilder_.getMessage();
}
}
/**
*
* The identifier for the Socket.
*
*
* .grpc.channelz.v1.SocketRef ref = 1;
*/
public Builder setRef(alluxio.shaded.client.io.grpc.channelz.v1.SocketRef value) {
if (refBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ref_ = value;
onChanged();
} else {
refBuilder_.setMessage(value);
}
return this;
}
/**
*
* The identifier for the Socket.
*
*
* .grpc.channelz.v1.SocketRef ref = 1;
*/
public Builder setRef(
alluxio.shaded.client.io.grpc.channelz.v1.SocketRef.Builder builderForValue) {
if (refBuilder_ == null) {
ref_ = builderForValue.build();
onChanged();
} else {
refBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The identifier for the Socket.
*
*
* .grpc.channelz.v1.SocketRef ref = 1;
*/
public Builder mergeRef(alluxio.shaded.client.io.grpc.channelz.v1.SocketRef value) {
if (refBuilder_ == null) {
if (ref_ != null) {
ref_ =
alluxio.shaded.client.io.grpc.channelz.v1.SocketRef.newBuilder(ref_).mergeFrom(value).buildPartial();
} else {
ref_ = value;
}
onChanged();
} else {
refBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The identifier for the Socket.
*
*
* .grpc.channelz.v1.SocketRef ref = 1;
*/
public Builder clearRef() {
if (refBuilder_ == null) {
ref_ = null;
onChanged();
} else {
ref_ = null;
refBuilder_ = null;
}
return this;
}
/**
*
* The identifier for the Socket.
*
*
* .grpc.channelz.v1.SocketRef ref = 1;
*/
public alluxio.shaded.client.io.grpc.channelz.v1.SocketRef.Builder getRefBuilder() {
onChanged();
return getRefFieldBuilder().getBuilder();
}
/**
*
* The identifier for the Socket.
*
*
* .grpc.channelz.v1.SocketRef ref = 1;
*/
public alluxio.shaded.client.io.grpc.channelz.v1.SocketRefOrBuilder getRefOrBuilder() {
if (refBuilder_ != null) {
return refBuilder_.getMessageOrBuilder();
} else {
return ref_ == null ?
alluxio.shaded.client.io.grpc.channelz.v1.SocketRef.getDefaultInstance() : ref_;
}
}
/**
*
* The identifier for the Socket.
*
*
* .grpc.channelz.v1.SocketRef ref = 1;
*/
private alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.shaded.client.io.grpc.channelz.v1.SocketRef, alluxio.shaded.client.io.grpc.channelz.v1.SocketRef.Builder, alluxio.shaded.client.io.grpc.channelz.v1.SocketRefOrBuilder>
getRefFieldBuilder() {
if (refBuilder_ == null) {
refBuilder_ = new alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.shaded.client.io.grpc.channelz.v1.SocketRef, alluxio.shaded.client.io.grpc.channelz.v1.SocketRef.Builder, alluxio.shaded.client.io.grpc.channelz.v1.SocketRefOrBuilder>(
getRef(),
getParentForChildren(),
isClean());
ref_ = null;
}
return refBuilder_;
}
private alluxio.shaded.client.io.grpc.channelz.v1.SocketData data_;
private alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.shaded.client.io.grpc.channelz.v1.SocketData, alluxio.shaded.client.io.grpc.channelz.v1.SocketData.Builder, alluxio.shaded.client.io.grpc.channelz.v1.SocketDataOrBuilder> dataBuilder_;
/**
*
* Data specific to this Socket.
*
*
* .grpc.channelz.v1.SocketData data = 2;
* @return Whether the data field is set.
*/
public boolean hasData() {
return dataBuilder_ != null || data_ != null;
}
/**
*
* Data specific to this Socket.
*
*
* .grpc.channelz.v1.SocketData data = 2;
* @return The data.
*/
public alluxio.shaded.client.io.grpc.channelz.v1.SocketData getData() {
if (dataBuilder_ == null) {
return data_ == null ? alluxio.shaded.client.io.grpc.channelz.v1.SocketData.getDefaultInstance() : data_;
} else {
return dataBuilder_.getMessage();
}
}
/**
*
* Data specific to this Socket.
*
*
* .grpc.channelz.v1.SocketData data = 2;
*/
public Builder setData(alluxio.shaded.client.io.grpc.channelz.v1.SocketData value) {
if (dataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
dataBuilder_.setMessage(value);
}
return this;
}
/**
*
* Data specific to this Socket.
*
*
* .grpc.channelz.v1.SocketData data = 2;
*/
public Builder setData(
alluxio.shaded.client.io.grpc.channelz.v1.SocketData.Builder builderForValue) {
if (dataBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
dataBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Data specific to this Socket.
*
*
* .grpc.channelz.v1.SocketData data = 2;
*/
public Builder mergeData(alluxio.shaded.client.io.grpc.channelz.v1.SocketData value) {
if (dataBuilder_ == null) {
if (data_ != null) {
data_ =
alluxio.shaded.client.io.grpc.channelz.v1.SocketData.newBuilder(data_).mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
dataBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Data specific to this Socket.
*
*
* .grpc.channelz.v1.SocketData data = 2;
*/
public Builder clearData() {
if (dataBuilder_ == null) {
data_ = null;
onChanged();
} else {
data_ = null;
dataBuilder_ = null;
}
return this;
}
/**
*
* Data specific to this Socket.
*
*
* .grpc.channelz.v1.SocketData data = 2;
*/
public alluxio.shaded.client.io.grpc.channelz.v1.SocketData.Builder getDataBuilder() {
onChanged();
return getDataFieldBuilder().getBuilder();
}
/**
*
* Data specific to this Socket.
*
*
* .grpc.channelz.v1.SocketData data = 2;
*/
public alluxio.shaded.client.io.grpc.channelz.v1.SocketDataOrBuilder getDataOrBuilder() {
if (dataBuilder_ != null) {
return dataBuilder_.getMessageOrBuilder();
} else {
return data_ == null ?
alluxio.shaded.client.io.grpc.channelz.v1.SocketData.getDefaultInstance() : data_;
}
}
/**
*
* Data specific to this Socket.
*
*
* .grpc.channelz.v1.SocketData data = 2;
*/
private alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.shaded.client.io.grpc.channelz.v1.SocketData, alluxio.shaded.client.io.grpc.channelz.v1.SocketData.Builder, alluxio.shaded.client.io.grpc.channelz.v1.SocketDataOrBuilder>
getDataFieldBuilder() {
if (dataBuilder_ == null) {
dataBuilder_ = new alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.shaded.client.io.grpc.channelz.v1.SocketData, alluxio.shaded.client.io.grpc.channelz.v1.SocketData.Builder, alluxio.shaded.client.io.grpc.channelz.v1.SocketDataOrBuilder>(
getData(),
getParentForChildren(),
isClean());
data_ = null;
}
return dataBuilder_;
}
private alluxio.shaded.client.io.grpc.channelz.v1.Address local_;
private alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.shaded.client.io.grpc.channelz.v1.Address, alluxio.shaded.client.io.grpc.channelz.v1.Address.Builder, alluxio.shaded.client.io.grpc.channelz.v1.AddressOrBuilder> localBuilder_;
/**
*
* The locally bound address.
*
*
* .grpc.channelz.v1.Address local = 3;
* @return Whether the local field is set.
*/
public boolean hasLocal() {
return localBuilder_ != null || local_ != null;
}
/**
*
* The locally bound address.
*
*
* .grpc.channelz.v1.Address local = 3;
* @return The local.
*/
public alluxio.shaded.client.io.grpc.channelz.v1.Address getLocal() {
if (localBuilder_ == null) {
return local_ == null ? alluxio.shaded.client.io.grpc.channelz.v1.Address.getDefaultInstance() : local_;
} else {
return localBuilder_.getMessage();
}
}
/**
*
* The locally bound address.
*
*
* .grpc.channelz.v1.Address local = 3;
*/
public Builder setLocal(alluxio.shaded.client.io.grpc.channelz.v1.Address value) {
if (localBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
local_ = value;
onChanged();
} else {
localBuilder_.setMessage(value);
}
return this;
}
/**
*
* The locally bound address.
*
*
* .grpc.channelz.v1.Address local = 3;
*/
public Builder setLocal(
alluxio.shaded.client.io.grpc.channelz.v1.Address.Builder builderForValue) {
if (localBuilder_ == null) {
local_ = builderForValue.build();
onChanged();
} else {
localBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The locally bound address.
*
*
* .grpc.channelz.v1.Address local = 3;
*/
public Builder mergeLocal(alluxio.shaded.client.io.grpc.channelz.v1.Address value) {
if (localBuilder_ == null) {
if (local_ != null) {
local_ =
alluxio.shaded.client.io.grpc.channelz.v1.Address.newBuilder(local_).mergeFrom(value).buildPartial();
} else {
local_ = value;
}
onChanged();
} else {
localBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The locally bound address.
*
*
* .grpc.channelz.v1.Address local = 3;
*/
public Builder clearLocal() {
if (localBuilder_ == null) {
local_ = null;
onChanged();
} else {
local_ = null;
localBuilder_ = null;
}
return this;
}
/**
*
* The locally bound address.
*
*
* .grpc.channelz.v1.Address local = 3;
*/
public alluxio.shaded.client.io.grpc.channelz.v1.Address.Builder getLocalBuilder() {
onChanged();
return getLocalFieldBuilder().getBuilder();
}
/**
*
* The locally bound address.
*
*
* .grpc.channelz.v1.Address local = 3;
*/
public alluxio.shaded.client.io.grpc.channelz.v1.AddressOrBuilder getLocalOrBuilder() {
if (localBuilder_ != null) {
return localBuilder_.getMessageOrBuilder();
} else {
return local_ == null ?
alluxio.shaded.client.io.grpc.channelz.v1.Address.getDefaultInstance() : local_;
}
}
/**
*
* The locally bound address.
*
*
* .grpc.channelz.v1.Address local = 3;
*/
private alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.shaded.client.io.grpc.channelz.v1.Address, alluxio.shaded.client.io.grpc.channelz.v1.Address.Builder, alluxio.shaded.client.io.grpc.channelz.v1.AddressOrBuilder>
getLocalFieldBuilder() {
if (localBuilder_ == null) {
localBuilder_ = new alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.shaded.client.io.grpc.channelz.v1.Address, alluxio.shaded.client.io.grpc.channelz.v1.Address.Builder, alluxio.shaded.client.io.grpc.channelz.v1.AddressOrBuilder>(
getLocal(),
getParentForChildren(),
isClean());
local_ = null;
}
return localBuilder_;
}
private alluxio.shaded.client.io.grpc.channelz.v1.Address remote_;
private alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.shaded.client.io.grpc.channelz.v1.Address, alluxio.shaded.client.io.grpc.channelz.v1.Address.Builder, alluxio.shaded.client.io.grpc.channelz.v1.AddressOrBuilder> remoteBuilder_;
/**
*
* The remote bound address. May be absent.
*
*
* .grpc.channelz.v1.Address remote = 4;
* @return Whether the remote field is set.
*/
public boolean hasRemote() {
return remoteBuilder_ != null || remote_ != null;
}
/**
*
* The remote bound address. May be absent.
*
*
* .grpc.channelz.v1.Address remote = 4;
* @return The remote.
*/
public alluxio.shaded.client.io.grpc.channelz.v1.Address getRemote() {
if (remoteBuilder_ == null) {
return remote_ == null ? alluxio.shaded.client.io.grpc.channelz.v1.Address.getDefaultInstance() : remote_;
} else {
return remoteBuilder_.getMessage();
}
}
/**
*
* The remote bound address. May be absent.
*
*
* .grpc.channelz.v1.Address remote = 4;
*/
public Builder setRemote(alluxio.shaded.client.io.grpc.channelz.v1.Address value) {
if (remoteBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
remote_ = value;
onChanged();
} else {
remoteBuilder_.setMessage(value);
}
return this;
}
/**
*
* The remote bound address. May be absent.
*
*
* .grpc.channelz.v1.Address remote = 4;
*/
public Builder setRemote(
alluxio.shaded.client.io.grpc.channelz.v1.Address.Builder builderForValue) {
if (remoteBuilder_ == null) {
remote_ = builderForValue.build();
onChanged();
} else {
remoteBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The remote bound address. May be absent.
*
*
* .grpc.channelz.v1.Address remote = 4;
*/
public Builder mergeRemote(alluxio.shaded.client.io.grpc.channelz.v1.Address value) {
if (remoteBuilder_ == null) {
if (remote_ != null) {
remote_ =
alluxio.shaded.client.io.grpc.channelz.v1.Address.newBuilder(remote_).mergeFrom(value).buildPartial();
} else {
remote_ = value;
}
onChanged();
} else {
remoteBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The remote bound address. May be absent.
*
*
* .grpc.channelz.v1.Address remote = 4;
*/
public Builder clearRemote() {
if (remoteBuilder_ == null) {
remote_ = null;
onChanged();
} else {
remote_ = null;
remoteBuilder_ = null;
}
return this;
}
/**
*
* The remote bound address. May be absent.
*
*
* .grpc.channelz.v1.Address remote = 4;
*/
public alluxio.shaded.client.io.grpc.channelz.v1.Address.Builder getRemoteBuilder() {
onChanged();
return getRemoteFieldBuilder().getBuilder();
}
/**
*
* The remote bound address. May be absent.
*
*
* .grpc.channelz.v1.Address remote = 4;
*/
public alluxio.shaded.client.io.grpc.channelz.v1.AddressOrBuilder getRemoteOrBuilder() {
if (remoteBuilder_ != null) {
return remoteBuilder_.getMessageOrBuilder();
} else {
return remote_ == null ?
alluxio.shaded.client.io.grpc.channelz.v1.Address.getDefaultInstance() : remote_;
}
}
/**
*
* The remote bound address. May be absent.
*
*
* .grpc.channelz.v1.Address remote = 4;
*/
private alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.shaded.client.io.grpc.channelz.v1.Address, alluxio.shaded.client.io.grpc.channelz.v1.Address.Builder, alluxio.shaded.client.io.grpc.channelz.v1.AddressOrBuilder>
getRemoteFieldBuilder() {
if (remoteBuilder_ == null) {
remoteBuilder_ = new alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.shaded.client.io.grpc.channelz.v1.Address, alluxio.shaded.client.io.grpc.channelz.v1.Address.Builder, alluxio.shaded.client.io.grpc.channelz.v1.AddressOrBuilder>(
getRemote(),
getParentForChildren(),
isClean());
remote_ = null;
}
return remoteBuilder_;
}
private alluxio.shaded.client.io.grpc.channelz.v1.Security security_;
private alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.shaded.client.io.grpc.channelz.v1.Security, alluxio.shaded.client.io.grpc.channelz.v1.Security.Builder, alluxio.shaded.client.io.grpc.channelz.v1.SecurityOrBuilder> securityBuilder_;
/**
*
* Security details for this socket. May be absent if not available, or
* there is no security on the socket.
*
*
* .grpc.channelz.v1.Security security = 5;
* @return Whether the security field is set.
*/
public boolean hasSecurity() {
return securityBuilder_ != null || security_ != null;
}
/**
*
* Security details for this socket. May be absent if not available, or
* there is no security on the socket.
*
*
* .grpc.channelz.v1.Security security = 5;
* @return The security.
*/
public alluxio.shaded.client.io.grpc.channelz.v1.Security getSecurity() {
if (securityBuilder_ == null) {
return security_ == null ? alluxio.shaded.client.io.grpc.channelz.v1.Security.getDefaultInstance() : security_;
} else {
return securityBuilder_.getMessage();
}
}
/**
*
* Security details for this socket. May be absent if not available, or
* there is no security on the socket.
*
*
* .grpc.channelz.v1.Security security = 5;
*/
public Builder setSecurity(alluxio.shaded.client.io.grpc.channelz.v1.Security value) {
if (securityBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
security_ = value;
onChanged();
} else {
securityBuilder_.setMessage(value);
}
return this;
}
/**
*
* Security details for this socket. May be absent if not available, or
* there is no security on the socket.
*
*
* .grpc.channelz.v1.Security security = 5;
*/
public Builder setSecurity(
alluxio.shaded.client.io.grpc.channelz.v1.Security.Builder builderForValue) {
if (securityBuilder_ == null) {
security_ = builderForValue.build();
onChanged();
} else {
securityBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Security details for this socket. May be absent if not available, or
* there is no security on the socket.
*
*
* .grpc.channelz.v1.Security security = 5;
*/
public Builder mergeSecurity(alluxio.shaded.client.io.grpc.channelz.v1.Security value) {
if (securityBuilder_ == null) {
if (security_ != null) {
security_ =
alluxio.shaded.client.io.grpc.channelz.v1.Security.newBuilder(security_).mergeFrom(value).buildPartial();
} else {
security_ = value;
}
onChanged();
} else {
securityBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Security details for this socket. May be absent if not available, or
* there is no security on the socket.
*
*
* .grpc.channelz.v1.Security security = 5;
*/
public Builder clearSecurity() {
if (securityBuilder_ == null) {
security_ = null;
onChanged();
} else {
security_ = null;
securityBuilder_ = null;
}
return this;
}
/**
*
* Security details for this socket. May be absent if not available, or
* there is no security on the socket.
*
*
* .grpc.channelz.v1.Security security = 5;
*/
public alluxio.shaded.client.io.grpc.channelz.v1.Security.Builder getSecurityBuilder() {
onChanged();
return getSecurityFieldBuilder().getBuilder();
}
/**
*
* Security details for this socket. May be absent if not available, or
* there is no security on the socket.
*
*
* .grpc.channelz.v1.Security security = 5;
*/
public alluxio.shaded.client.io.grpc.channelz.v1.SecurityOrBuilder getSecurityOrBuilder() {
if (securityBuilder_ != null) {
return securityBuilder_.getMessageOrBuilder();
} else {
return security_ == null ?
alluxio.shaded.client.io.grpc.channelz.v1.Security.getDefaultInstance() : security_;
}
}
/**
*
* Security details for this socket. May be absent if not available, or
* there is no security on the socket.
*
*
* .grpc.channelz.v1.Security security = 5;
*/
private alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.shaded.client.io.grpc.channelz.v1.Security, alluxio.shaded.client.io.grpc.channelz.v1.Security.Builder, alluxio.shaded.client.io.grpc.channelz.v1.SecurityOrBuilder>
getSecurityFieldBuilder() {
if (securityBuilder_ == null) {
securityBuilder_ = new alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.shaded.client.io.grpc.channelz.v1.Security, alluxio.shaded.client.io.grpc.channelz.v1.Security.Builder, alluxio.shaded.client.io.grpc.channelz.v1.SecurityOrBuilder>(
getSecurity(),
getParentForChildren(),
isClean());
security_ = null;
}
return securityBuilder_;
}
private java.lang.Object remoteName_ = "";
/**
*
* Optional, represents the name of the remote endpoint, if different than
* the original target name.
*
*
* string remote_name = 6;
* @return The remoteName.
*/
public java.lang.String getRemoteName() {
java.lang.Object ref = remoteName_;
if (!(ref instanceof java.lang.String)) {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
remoteName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Optional, represents the name of the remote endpoint, if different than
* the original target name.
*
*
* string remote_name = 6;
* @return The bytes for remoteName.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getRemoteNameBytes() {
java.lang.Object ref = remoteName_;
if (ref instanceof String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
remoteName_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
/**
*
* Optional, represents the name of the remote endpoint, if different than
* the original target name.
*
*
* string remote_name = 6;
* @param value The remoteName to set.
* @return This builder for chaining.
*/
public Builder setRemoteName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
remoteName_ = value;
onChanged();
return this;
}
/**
*
* Optional, represents the name of the remote endpoint, if different than
* the original target name.
*
*
* string remote_name = 6;
* @return This builder for chaining.
*/
public Builder clearRemoteName() {
remoteName_ = getDefaultInstance().getRemoteName();
onChanged();
return this;
}
/**
*
* Optional, represents the name of the remote endpoint, if different than
* the original target name.
*
*
* string remote_name = 6;
* @param value The bytes for remoteName to set.
* @return This builder for chaining.
*/
public Builder setRemoteNameBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
remoteName_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:grpc.channelz.v1.Socket)
}
// @@protoc_insertion_point(class_scope:grpc.channelz.v1.Socket)
private static final alluxio.shaded.client.io.grpc.channelz.v1.Socket DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new alluxio.shaded.client.io.grpc.channelz.v1.Socket();
}
public static alluxio.shaded.client.io.grpc.channelz.v1.Socket getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final alluxio.shaded.client.com.google.protobuf.Parser
PARSER = new alluxio.shaded.client.com.google.protobuf.AbstractParser() {
@java.lang.Override
public Socket parsePartialFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (alluxio.shaded.client.com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.alluxio.shaded.client.io.IOException e) {
throw new alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static alluxio.shaded.client.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public alluxio.shaded.client.io.grpc.channelz.v1.Socket getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy