com.alibaba.graphscope.proto.groot.GetLoggerInfoResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of groot-client Show documentation
Show all versions of groot-client Show documentation
The Java client of Groot, a persistence storage engine
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: groot/sdk/client.proto
package com.alibaba.graphscope.proto.groot;
/**
* Protobuf type {@code gs.rpc.groot.GetLoggerInfoResponse}
*/
public final class GetLoggerInfoResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gs.rpc.groot.GetLoggerInfoResponse)
GetLoggerInfoResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetLoggerInfoResponse.newBuilder() to construct.
private GetLoggerInfoResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetLoggerInfoResponse() {
loggerServers_ = "";
loggerTopic_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetLoggerInfoResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.alibaba.graphscope.proto.groot.ClientOuterClass.internal_static_gs_rpc_groot_GetLoggerInfoResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.alibaba.graphscope.proto.groot.ClientOuterClass.internal_static_gs_rpc_groot_GetLoggerInfoResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.alibaba.graphscope.proto.groot.GetLoggerInfoResponse.class, com.alibaba.graphscope.proto.groot.GetLoggerInfoResponse.Builder.class);
}
public static final int LOGGERSERVERS_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object loggerServers_ = "";
/**
* string loggerServers = 1;
* @return The loggerServers.
*/
@java.lang.Override
public java.lang.String getLoggerServers() {
java.lang.Object ref = loggerServers_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
loggerServers_ = s;
return s;
}
}
/**
* string loggerServers = 1;
* @return The bytes for loggerServers.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLoggerServersBytes() {
java.lang.Object ref = loggerServers_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
loggerServers_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LOGGERTOPIC_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object loggerTopic_ = "";
/**
* string loggerTopic = 2;
* @return The loggerTopic.
*/
@java.lang.Override
public java.lang.String getLoggerTopic() {
java.lang.Object ref = loggerTopic_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
loggerTopic_ = s;
return s;
}
}
/**
* string loggerTopic = 2;
* @return The bytes for loggerTopic.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLoggerTopicBytes() {
java.lang.Object ref = loggerTopic_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
loggerTopic_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LOGGERQUEUECOUNT_FIELD_NUMBER = 3;
private int loggerQueueCount_ = 0;
/**
* int32 loggerQueueCount = 3;
* @return The loggerQueueCount.
*/
@java.lang.Override
public int getLoggerQueueCount() {
return loggerQueueCount_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(loggerServers_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, loggerServers_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(loggerTopic_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, loggerTopic_);
}
if (loggerQueueCount_ != 0) {
output.writeInt32(3, loggerQueueCount_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(loggerServers_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, loggerServers_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(loggerTopic_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, loggerTopic_);
}
if (loggerQueueCount_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, loggerQueueCount_);
}
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 com.alibaba.graphscope.proto.groot.GetLoggerInfoResponse)) {
return super.equals(obj);
}
com.alibaba.graphscope.proto.groot.GetLoggerInfoResponse other = (com.alibaba.graphscope.proto.groot.GetLoggerInfoResponse) obj;
if (!getLoggerServers()
.equals(other.getLoggerServers())) return false;
if (!getLoggerTopic()
.equals(other.getLoggerTopic())) return false;
if (getLoggerQueueCount()
!= other.getLoggerQueueCount()) 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();
hash = (37 * hash) + LOGGERSERVERS_FIELD_NUMBER;
hash = (53 * hash) + getLoggerServers().hashCode();
hash = (37 * hash) + LOGGERTOPIC_FIELD_NUMBER;
hash = (53 * hash) + getLoggerTopic().hashCode();
hash = (37 * hash) + LOGGERQUEUECOUNT_FIELD_NUMBER;
hash = (53 * hash) + getLoggerQueueCount();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.alibaba.graphscope.proto.groot.GetLoggerInfoResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.alibaba.graphscope.proto.groot.GetLoggerInfoResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.alibaba.graphscope.proto.groot.GetLoggerInfoResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.alibaba.graphscope.proto.groot.GetLoggerInfoResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.alibaba.graphscope.proto.groot.GetLoggerInfoResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.alibaba.graphscope.proto.groot.GetLoggerInfoResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.alibaba.graphscope.proto.groot.GetLoggerInfoResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.alibaba.graphscope.proto.groot.GetLoggerInfoResponse 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 com.alibaba.graphscope.proto.groot.GetLoggerInfoResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.alibaba.graphscope.proto.groot.GetLoggerInfoResponse 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 com.alibaba.graphscope.proto.groot.GetLoggerInfoResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.alibaba.graphscope.proto.groot.GetLoggerInfoResponse 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(com.alibaba.graphscope.proto.groot.GetLoggerInfoResponse 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 gs.rpc.groot.GetLoggerInfoResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gs.rpc.groot.GetLoggerInfoResponse)
com.alibaba.graphscope.proto.groot.GetLoggerInfoResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.alibaba.graphscope.proto.groot.ClientOuterClass.internal_static_gs_rpc_groot_GetLoggerInfoResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.alibaba.graphscope.proto.groot.ClientOuterClass.internal_static_gs_rpc_groot_GetLoggerInfoResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.alibaba.graphscope.proto.groot.GetLoggerInfoResponse.class, com.alibaba.graphscope.proto.groot.GetLoggerInfoResponse.Builder.class);
}
// Construct using com.alibaba.graphscope.proto.groot.GetLoggerInfoResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
loggerServers_ = "";
loggerTopic_ = "";
loggerQueueCount_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.alibaba.graphscope.proto.groot.ClientOuterClass.internal_static_gs_rpc_groot_GetLoggerInfoResponse_descriptor;
}
@java.lang.Override
public com.alibaba.graphscope.proto.groot.GetLoggerInfoResponse getDefaultInstanceForType() {
return com.alibaba.graphscope.proto.groot.GetLoggerInfoResponse.getDefaultInstance();
}
@java.lang.Override
public com.alibaba.graphscope.proto.groot.GetLoggerInfoResponse build() {
com.alibaba.graphscope.proto.groot.GetLoggerInfoResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.alibaba.graphscope.proto.groot.GetLoggerInfoResponse buildPartial() {
com.alibaba.graphscope.proto.groot.GetLoggerInfoResponse result = new com.alibaba.graphscope.proto.groot.GetLoggerInfoResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.alibaba.graphscope.proto.groot.GetLoggerInfoResponse result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.loggerServers_ = loggerServers_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.loggerTopic_ = loggerTopic_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.loggerQueueCount_ = loggerQueueCount_;
}
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.alibaba.graphscope.proto.groot.GetLoggerInfoResponse) {
return mergeFrom((com.alibaba.graphscope.proto.groot.GetLoggerInfoResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.alibaba.graphscope.proto.groot.GetLoggerInfoResponse other) {
if (other == com.alibaba.graphscope.proto.groot.GetLoggerInfoResponse.getDefaultInstance()) return this;
if (!other.getLoggerServers().isEmpty()) {
loggerServers_ = other.loggerServers_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getLoggerTopic().isEmpty()) {
loggerTopic_ = other.loggerTopic_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.getLoggerQueueCount() != 0) {
setLoggerQueueCount(other.getLoggerQueueCount());
}
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: {
loggerServers_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
loggerTopic_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 24: {
loggerQueueCount_ = input.readInt32();
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 java.lang.Object loggerServers_ = "";
/**
* string loggerServers = 1;
* @return The loggerServers.
*/
public java.lang.String getLoggerServers() {
java.lang.Object ref = loggerServers_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
loggerServers_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string loggerServers = 1;
* @return The bytes for loggerServers.
*/
public com.google.protobuf.ByteString
getLoggerServersBytes() {
java.lang.Object ref = loggerServers_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
loggerServers_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string loggerServers = 1;
* @param value The loggerServers to set.
* @return This builder for chaining.
*/
public Builder setLoggerServers(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
loggerServers_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* string loggerServers = 1;
* @return This builder for chaining.
*/
public Builder clearLoggerServers() {
loggerServers_ = getDefaultInstance().getLoggerServers();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* string loggerServers = 1;
* @param value The bytes for loggerServers to set.
* @return This builder for chaining.
*/
public Builder setLoggerServersBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
loggerServers_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object loggerTopic_ = "";
/**
* string loggerTopic = 2;
* @return The loggerTopic.
*/
public java.lang.String getLoggerTopic() {
java.lang.Object ref = loggerTopic_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
loggerTopic_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string loggerTopic = 2;
* @return The bytes for loggerTopic.
*/
public com.google.protobuf.ByteString
getLoggerTopicBytes() {
java.lang.Object ref = loggerTopic_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
loggerTopic_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string loggerTopic = 2;
* @param value The loggerTopic to set.
* @return This builder for chaining.
*/
public Builder setLoggerTopic(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
loggerTopic_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* string loggerTopic = 2;
* @return This builder for chaining.
*/
public Builder clearLoggerTopic() {
loggerTopic_ = getDefaultInstance().getLoggerTopic();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* string loggerTopic = 2;
* @param value The bytes for loggerTopic to set.
* @return This builder for chaining.
*/
public Builder setLoggerTopicBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
loggerTopic_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private int loggerQueueCount_ ;
/**
* int32 loggerQueueCount = 3;
* @return The loggerQueueCount.
*/
@java.lang.Override
public int getLoggerQueueCount() {
return loggerQueueCount_;
}
/**
* int32 loggerQueueCount = 3;
* @param value The loggerQueueCount to set.
* @return This builder for chaining.
*/
public Builder setLoggerQueueCount(int value) {
loggerQueueCount_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* int32 loggerQueueCount = 3;
* @return This builder for chaining.
*/
public Builder clearLoggerQueueCount() {
bitField0_ = (bitField0_ & ~0x00000004);
loggerQueueCount_ = 0;
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:gs.rpc.groot.GetLoggerInfoResponse)
}
// @@protoc_insertion_point(class_scope:gs.rpc.groot.GetLoggerInfoResponse)
private static final com.alibaba.graphscope.proto.groot.GetLoggerInfoResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.alibaba.graphscope.proto.groot.GetLoggerInfoResponse();
}
public static com.alibaba.graphscope.proto.groot.GetLoggerInfoResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetLoggerInfoResponse 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 com.alibaba.graphscope.proto.groot.GetLoggerInfoResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy