io.milvus.grpc.ConnectResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of milvus-sdk-java Show documentation
Show all versions of milvus-sdk-java Show documentation
Java SDK for Milvus, a distributed high-performance vector database.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: milvus.proto
package io.milvus.grpc;
/**
* Protobuf type {@code milvus.proto.milvus.ConnectResponse}
*/
public final class ConnectResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:milvus.proto.milvus.ConnectResponse)
ConnectResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use ConnectResponse.newBuilder() to construct.
private ConnectResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ConnectResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ConnectResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.milvus.grpc.MilvusProto.internal_static_milvus_proto_milvus_ConnectResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.milvus.grpc.MilvusProto.internal_static_milvus_proto_milvus_ConnectResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.milvus.grpc.ConnectResponse.class, io.milvus.grpc.ConnectResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private io.milvus.grpc.Status status_;
/**
* .milvus.proto.common.Status status = 1;
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .milvus.proto.common.Status status = 1;
* @return The status.
*/
@java.lang.Override
public io.milvus.grpc.Status getStatus() {
return status_ == null ? io.milvus.grpc.Status.getDefaultInstance() : status_;
}
/**
* .milvus.proto.common.Status status = 1;
*/
@java.lang.Override
public io.milvus.grpc.StatusOrBuilder getStatusOrBuilder() {
return status_ == null ? io.milvus.grpc.Status.getDefaultInstance() : status_;
}
public static final int SERVER_INFO_FIELD_NUMBER = 2;
private io.milvus.grpc.ServerInfo serverInfo_;
/**
* .milvus.proto.common.ServerInfo server_info = 2;
* @return Whether the serverInfo field is set.
*/
@java.lang.Override
public boolean hasServerInfo() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* .milvus.proto.common.ServerInfo server_info = 2;
* @return The serverInfo.
*/
@java.lang.Override
public io.milvus.grpc.ServerInfo getServerInfo() {
return serverInfo_ == null ? io.milvus.grpc.ServerInfo.getDefaultInstance() : serverInfo_;
}
/**
* .milvus.proto.common.ServerInfo server_info = 2;
*/
@java.lang.Override
public io.milvus.grpc.ServerInfoOrBuilder getServerInfoOrBuilder() {
return serverInfo_ == null ? io.milvus.grpc.ServerInfo.getDefaultInstance() : serverInfo_;
}
public static final int IDENTIFIER_FIELD_NUMBER = 3;
private long identifier_ = 0L;
/**
* int64 identifier = 3;
* @return The identifier.
*/
@java.lang.Override
public long getIdentifier() {
return identifier_;
}
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, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getServerInfo());
}
if (identifier_ != 0L) {
output.writeInt64(3, identifier_);
}
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, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getServerInfo());
}
if (identifier_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, identifier_);
}
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.milvus.grpc.ConnectResponse)) {
return super.equals(obj);
}
io.milvus.grpc.ConnectResponse other = (io.milvus.grpc.ConnectResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (hasServerInfo() != other.hasServerInfo()) return false;
if (hasServerInfo()) {
if (!getServerInfo()
.equals(other.getServerInfo())) return false;
}
if (getIdentifier()
!= other.getIdentifier()) 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 (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (hasServerInfo()) {
hash = (37 * hash) + SERVER_INFO_FIELD_NUMBER;
hash = (53 * hash) + getServerInfo().hashCode();
}
hash = (37 * hash) + IDENTIFIER_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getIdentifier());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.milvus.grpc.ConnectResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.milvus.grpc.ConnectResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.milvus.grpc.ConnectResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.milvus.grpc.ConnectResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.milvus.grpc.ConnectResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.milvus.grpc.ConnectResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.milvus.grpc.ConnectResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.milvus.grpc.ConnectResponse 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.milvus.grpc.ConnectResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.milvus.grpc.ConnectResponse 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.milvus.grpc.ConnectResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.milvus.grpc.ConnectResponse 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.milvus.grpc.ConnectResponse 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;
}
/**
* Protobuf type {@code milvus.proto.milvus.ConnectResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:milvus.proto.milvus.ConnectResponse)
io.milvus.grpc.ConnectResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.milvus.grpc.MilvusProto.internal_static_milvus_proto_milvus_ConnectResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.milvus.grpc.MilvusProto.internal_static_milvus_proto_milvus_ConnectResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.milvus.grpc.ConnectResponse.class, io.milvus.grpc.ConnectResponse.Builder.class);
}
// Construct using io.milvus.grpc.ConnectResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
getServerInfoFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
serverInfo_ = null;
if (serverInfoBuilder_ != null) {
serverInfoBuilder_.dispose();
serverInfoBuilder_ = null;
}
identifier_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.milvus.grpc.MilvusProto.internal_static_milvus_proto_milvus_ConnectResponse_descriptor;
}
@java.lang.Override
public io.milvus.grpc.ConnectResponse getDefaultInstanceForType() {
return io.milvus.grpc.ConnectResponse.getDefaultInstance();
}
@java.lang.Override
public io.milvus.grpc.ConnectResponse build() {
io.milvus.grpc.ConnectResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.milvus.grpc.ConnectResponse buildPartial() {
io.milvus.grpc.ConnectResponse result = new io.milvus.grpc.ConnectResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(io.milvus.grpc.ConnectResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.serverInfo_ = serverInfoBuilder_ == null
? serverInfo_
: serverInfoBuilder_.build();
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.identifier_ = identifier_;
}
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.milvus.grpc.ConnectResponse) {
return mergeFrom((io.milvus.grpc.ConnectResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.milvus.grpc.ConnectResponse other) {
if (other == io.milvus.grpc.ConnectResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (other.hasServerInfo()) {
mergeServerInfo(other.getServerInfo());
}
if (other.getIdentifier() != 0L) {
setIdentifier(other.getIdentifier());
}
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(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getServerInfoFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
case 24: {
identifier_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
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.milvus.grpc.Status status_;
private com.google.protobuf.SingleFieldBuilderV3<
io.milvus.grpc.Status, io.milvus.grpc.Status.Builder, io.milvus.grpc.StatusOrBuilder> statusBuilder_;
/**
* .milvus.proto.common.Status status = 1;
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .milvus.proto.common.Status status = 1;
* @return The status.
*/
public io.milvus.grpc.Status getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? io.milvus.grpc.Status.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* .milvus.proto.common.Status status = 1;
*/
public Builder setStatus(io.milvus.grpc.Status value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .milvus.proto.common.Status status = 1;
*/
public Builder setStatus(
io.milvus.grpc.Status.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .milvus.proto.common.Status status = 1;
*/
public Builder mergeStatus(io.milvus.grpc.Status value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != io.milvus.grpc.Status.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* .milvus.proto.common.Status status = 1;
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* .milvus.proto.common.Status status = 1;
*/
public io.milvus.grpc.Status.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* .milvus.proto.common.Status status = 1;
*/
public io.milvus.grpc.StatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
io.milvus.grpc.Status.getDefaultInstance() : status_;
}
}
/**
* .milvus.proto.common.Status status = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.milvus.grpc.Status, io.milvus.grpc.Status.Builder, io.milvus.grpc.StatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.milvus.grpc.Status, io.milvus.grpc.Status.Builder, io.milvus.grpc.StatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private io.milvus.grpc.ServerInfo serverInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
io.milvus.grpc.ServerInfo, io.milvus.grpc.ServerInfo.Builder, io.milvus.grpc.ServerInfoOrBuilder> serverInfoBuilder_;
/**
* .milvus.proto.common.ServerInfo server_info = 2;
* @return Whether the serverInfo field is set.
*/
public boolean hasServerInfo() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* .milvus.proto.common.ServerInfo server_info = 2;
* @return The serverInfo.
*/
public io.milvus.grpc.ServerInfo getServerInfo() {
if (serverInfoBuilder_ == null) {
return serverInfo_ == null ? io.milvus.grpc.ServerInfo.getDefaultInstance() : serverInfo_;
} else {
return serverInfoBuilder_.getMessage();
}
}
/**
* .milvus.proto.common.ServerInfo server_info = 2;
*/
public Builder setServerInfo(io.milvus.grpc.ServerInfo value) {
if (serverInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
serverInfo_ = value;
} else {
serverInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* .milvus.proto.common.ServerInfo server_info = 2;
*/
public Builder setServerInfo(
io.milvus.grpc.ServerInfo.Builder builderForValue) {
if (serverInfoBuilder_ == null) {
serverInfo_ = builderForValue.build();
} else {
serverInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* .milvus.proto.common.ServerInfo server_info = 2;
*/
public Builder mergeServerInfo(io.milvus.grpc.ServerInfo value) {
if (serverInfoBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
serverInfo_ != null &&
serverInfo_ != io.milvus.grpc.ServerInfo.getDefaultInstance()) {
getServerInfoBuilder().mergeFrom(value);
} else {
serverInfo_ = value;
}
} else {
serverInfoBuilder_.mergeFrom(value);
}
if (serverInfo_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* .milvus.proto.common.ServerInfo server_info = 2;
*/
public Builder clearServerInfo() {
bitField0_ = (bitField0_ & ~0x00000002);
serverInfo_ = null;
if (serverInfoBuilder_ != null) {
serverInfoBuilder_.dispose();
serverInfoBuilder_ = null;
}
onChanged();
return this;
}
/**
* .milvus.proto.common.ServerInfo server_info = 2;
*/
public io.milvus.grpc.ServerInfo.Builder getServerInfoBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getServerInfoFieldBuilder().getBuilder();
}
/**
* .milvus.proto.common.ServerInfo server_info = 2;
*/
public io.milvus.grpc.ServerInfoOrBuilder getServerInfoOrBuilder() {
if (serverInfoBuilder_ != null) {
return serverInfoBuilder_.getMessageOrBuilder();
} else {
return serverInfo_ == null ?
io.milvus.grpc.ServerInfo.getDefaultInstance() : serverInfo_;
}
}
/**
* .milvus.proto.common.ServerInfo server_info = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.milvus.grpc.ServerInfo, io.milvus.grpc.ServerInfo.Builder, io.milvus.grpc.ServerInfoOrBuilder>
getServerInfoFieldBuilder() {
if (serverInfoBuilder_ == null) {
serverInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.milvus.grpc.ServerInfo, io.milvus.grpc.ServerInfo.Builder, io.milvus.grpc.ServerInfoOrBuilder>(
getServerInfo(),
getParentForChildren(),
isClean());
serverInfo_ = null;
}
return serverInfoBuilder_;
}
private long identifier_ ;
/**
* int64 identifier = 3;
* @return The identifier.
*/
@java.lang.Override
public long getIdentifier() {
return identifier_;
}
/**
* int64 identifier = 3;
* @param value The identifier to set.
* @return This builder for chaining.
*/
public Builder setIdentifier(long value) {
identifier_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* int64 identifier = 3;
* @return This builder for chaining.
*/
public Builder clearIdentifier() {
bitField0_ = (bitField0_ & ~0x00000004);
identifier_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:milvus.proto.milvus.ConnectResponse)
}
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.ConnectResponse)
private static final io.milvus.grpc.ConnectResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.milvus.grpc.ConnectResponse();
}
public static io.milvus.grpc.ConnectResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ConnectResponse 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.milvus.grpc.ConnectResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}