com.vesoft.nebula.proto.graph.PlanInfo Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: graph.proto
// Protobuf Java Version: 3.25.1
package com.vesoft.nebula.proto.graph;
/**
* Protobuf type {@code nebula.proto.graph.PlanInfo}
*/
public final class PlanInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:nebula.proto.graph.PlanInfo)
PlanInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use PlanInfo.newBuilder() to construct.
private PlanInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PlanInfo() {
id_ = com.google.protobuf.ByteString.EMPTY;
name_ = com.google.protobuf.ByteString.EMPTY;
details_ = com.google.protobuf.ByteString.EMPTY;
columns_ = emptyList(com.google.protobuf.ByteString.class);
otherStatsJson_ = com.google.protobuf.ByteString.EMPTY;
children_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PlanInfo();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vesoft.nebula.proto.graph.Graph.internal_static_nebula_proto_graph_PlanInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vesoft.nebula.proto.graph.Graph.internal_static_nebula_proto_graph_PlanInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vesoft.nebula.proto.graph.PlanInfo.class, com.vesoft.nebula.proto.graph.PlanInfo.Builder.class);
}
public static final int ID_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString id_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes id = 1;
* @return The id.
*/
@java.lang.Override
public com.google.protobuf.ByteString getId() {
return id_;
}
public static final int NAME_FIELD_NUMBER = 2;
private com.google.protobuf.ByteString name_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes name = 2;
* @return The name.
*/
@java.lang.Override
public com.google.protobuf.ByteString getName() {
return name_;
}
public static final int DETAILS_FIELD_NUMBER = 3;
private com.google.protobuf.ByteString details_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes details = 3;
* @return The details.
*/
@java.lang.Override
public com.google.protobuf.ByteString getDetails() {
return details_;
}
public static final int COLUMNS_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.ProtobufList columns_ =
emptyList(com.google.protobuf.ByteString.class);
/**
* repeated bytes columns = 4;
* @return A list containing the columns.
*/
@java.lang.Override
public java.util.List
getColumnsList() {
return columns_;
}
/**
* repeated bytes columns = 4;
* @return The count of columns.
*/
public int getColumnsCount() {
return columns_.size();
}
/**
* repeated bytes columns = 4;
* @param index The index of the element to return.
* @return The columns at the given index.
*/
public com.google.protobuf.ByteString getColumns(int index) {
return columns_.get(index);
}
public static final int TIME_MS_FIELD_NUMBER = 5;
private double timeMs_ = 0D;
/**
* double time_ms = 5;
* @return The timeMs.
*/
@java.lang.Override
public double getTimeMs() {
return timeMs_;
}
public static final int ROWS_FIELD_NUMBER = 6;
private long rows_ = 0L;
/**
* int64 rows = 6;
* @return The rows.
*/
@java.lang.Override
public long getRows() {
return rows_;
}
public static final int MEMORY_KIB_FIELD_NUMBER = 7;
private double memoryKib_ = 0D;
/**
* double memory_kib = 7;
* @return The memoryKib.
*/
@java.lang.Override
public double getMemoryKib() {
return memoryKib_;
}
public static final int BLOCKED_MS_FIELD_NUMBER = 8;
private double blockedMs_ = 0D;
/**
* double blocked_ms = 8;
* @return The blockedMs.
*/
@java.lang.Override
public double getBlockedMs() {
return blockedMs_;
}
public static final int QUEUED_MS_FIELD_NUMBER = 9;
private double queuedMs_ = 0D;
/**
* double queued_ms = 9;
* @return The queuedMs.
*/
@java.lang.Override
public double getQueuedMs() {
return queuedMs_;
}
public static final int CONSUME_MS_FIELD_NUMBER = 10;
private double consumeMs_ = 0D;
/**
* double consume_ms = 10;
* @return The consumeMs.
*/
@java.lang.Override
public double getConsumeMs() {
return consumeMs_;
}
public static final int PRODUCE_MS_FIELD_NUMBER = 11;
private double produceMs_ = 0D;
/**
* double produce_ms = 11;
* @return The produceMs.
*/
@java.lang.Override
public double getProduceMs() {
return produceMs_;
}
public static final int FINISH_MS_FIELD_NUMBER = 12;
private double finishMs_ = 0D;
/**
* double finish_ms = 12;
* @return The finishMs.
*/
@java.lang.Override
public double getFinishMs() {
return finishMs_;
}
public static final int BATCHES_FIELD_NUMBER = 13;
private long batches_ = 0L;
/**
* int64 batches = 13;
* @return The batches.
*/
@java.lang.Override
public long getBatches() {
return batches_;
}
public static final int CONCURRENCY_FIELD_NUMBER = 14;
private long concurrency_ = 0L;
/**
* int64 concurrency = 14;
* @return The concurrency.
*/
@java.lang.Override
public long getConcurrency() {
return concurrency_;
}
public static final int OTHER_STATS_JSON_FIELD_NUMBER = 15;
private com.google.protobuf.ByteString otherStatsJson_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes other_stats_json = 15;
* @return The otherStatsJson.
*/
@java.lang.Override
public com.google.protobuf.ByteString getOtherStatsJson() {
return otherStatsJson_;
}
public static final int CHILDREN_FIELD_NUMBER = 16;
@SuppressWarnings("serial")
private java.util.List children_;
/**
* repeated .nebula.proto.graph.PlanInfo children = 16;
*/
@java.lang.Override
public java.util.List getChildrenList() {
return children_;
}
/**
* repeated .nebula.proto.graph.PlanInfo children = 16;
*/
@java.lang.Override
public java.util.List extends com.vesoft.nebula.proto.graph.PlanInfoOrBuilder>
getChildrenOrBuilderList() {
return children_;
}
/**
* repeated .nebula.proto.graph.PlanInfo children = 16;
*/
@java.lang.Override
public int getChildrenCount() {
return children_.size();
}
/**
* repeated .nebula.proto.graph.PlanInfo children = 16;
*/
@java.lang.Override
public com.vesoft.nebula.proto.graph.PlanInfo getChildren(int index) {
return children_.get(index);
}
/**
* repeated .nebula.proto.graph.PlanInfo children = 16;
*/
@java.lang.Override
public com.vesoft.nebula.proto.graph.PlanInfoOrBuilder getChildrenOrBuilder(
int index) {
return children_.get(index);
}
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 (!id_.isEmpty()) {
output.writeBytes(1, id_);
}
if (!name_.isEmpty()) {
output.writeBytes(2, name_);
}
if (!details_.isEmpty()) {
output.writeBytes(3, details_);
}
for (int i = 0; i < columns_.size(); i++) {
output.writeBytes(4, columns_.get(i));
}
if (java.lang.Double.doubleToRawLongBits(timeMs_) != 0) {
output.writeDouble(5, timeMs_);
}
if (rows_ != 0L) {
output.writeInt64(6, rows_);
}
if (java.lang.Double.doubleToRawLongBits(memoryKib_) != 0) {
output.writeDouble(7, memoryKib_);
}
if (java.lang.Double.doubleToRawLongBits(blockedMs_) != 0) {
output.writeDouble(8, blockedMs_);
}
if (java.lang.Double.doubleToRawLongBits(queuedMs_) != 0) {
output.writeDouble(9, queuedMs_);
}
if (java.lang.Double.doubleToRawLongBits(consumeMs_) != 0) {
output.writeDouble(10, consumeMs_);
}
if (java.lang.Double.doubleToRawLongBits(produceMs_) != 0) {
output.writeDouble(11, produceMs_);
}
if (java.lang.Double.doubleToRawLongBits(finishMs_) != 0) {
output.writeDouble(12, finishMs_);
}
if (batches_ != 0L) {
output.writeInt64(13, batches_);
}
if (concurrency_ != 0L) {
output.writeInt64(14, concurrency_);
}
if (!otherStatsJson_.isEmpty()) {
output.writeBytes(15, otherStatsJson_);
}
for (int i = 0; i < children_.size(); i++) {
output.writeMessage(16, children_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!id_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, id_);
}
if (!name_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, name_);
}
if (!details_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, details_);
}
{
int dataSize = 0;
for (int i = 0; i < columns_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(columns_.get(i));
}
size += dataSize;
size += 1 * getColumnsList().size();
}
if (java.lang.Double.doubleToRawLongBits(timeMs_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(5, timeMs_);
}
if (rows_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(6, rows_);
}
if (java.lang.Double.doubleToRawLongBits(memoryKib_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(7, memoryKib_);
}
if (java.lang.Double.doubleToRawLongBits(blockedMs_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(8, blockedMs_);
}
if (java.lang.Double.doubleToRawLongBits(queuedMs_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(9, queuedMs_);
}
if (java.lang.Double.doubleToRawLongBits(consumeMs_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(10, consumeMs_);
}
if (java.lang.Double.doubleToRawLongBits(produceMs_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(11, produceMs_);
}
if (java.lang.Double.doubleToRawLongBits(finishMs_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(12, finishMs_);
}
if (batches_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(13, batches_);
}
if (concurrency_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(14, concurrency_);
}
if (!otherStatsJson_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(15, otherStatsJson_);
}
for (int i = 0; i < children_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(16, children_.get(i));
}
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.vesoft.nebula.proto.graph.PlanInfo)) {
return super.equals(obj);
}
com.vesoft.nebula.proto.graph.PlanInfo other = (com.vesoft.nebula.proto.graph.PlanInfo) obj;
if (!getId()
.equals(other.getId())) return false;
if (!getName()
.equals(other.getName())) return false;
if (!getDetails()
.equals(other.getDetails())) return false;
if (!getColumnsList()
.equals(other.getColumnsList())) return false;
if (java.lang.Double.doubleToLongBits(getTimeMs())
!= java.lang.Double.doubleToLongBits(
other.getTimeMs())) return false;
if (getRows()
!= other.getRows()) return false;
if (java.lang.Double.doubleToLongBits(getMemoryKib())
!= java.lang.Double.doubleToLongBits(
other.getMemoryKib())) return false;
if (java.lang.Double.doubleToLongBits(getBlockedMs())
!= java.lang.Double.doubleToLongBits(
other.getBlockedMs())) return false;
if (java.lang.Double.doubleToLongBits(getQueuedMs())
!= java.lang.Double.doubleToLongBits(
other.getQueuedMs())) return false;
if (java.lang.Double.doubleToLongBits(getConsumeMs())
!= java.lang.Double.doubleToLongBits(
other.getConsumeMs())) return false;
if (java.lang.Double.doubleToLongBits(getProduceMs())
!= java.lang.Double.doubleToLongBits(
other.getProduceMs())) return false;
if (java.lang.Double.doubleToLongBits(getFinishMs())
!= java.lang.Double.doubleToLongBits(
other.getFinishMs())) return false;
if (getBatches()
!= other.getBatches()) return false;
if (getConcurrency()
!= other.getConcurrency()) return false;
if (!getOtherStatsJson()
.equals(other.getOtherStatsJson())) return false;
if (!getChildrenList()
.equals(other.getChildrenList())) 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) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + DETAILS_FIELD_NUMBER;
hash = (53 * hash) + getDetails().hashCode();
if (getColumnsCount() > 0) {
hash = (37 * hash) + COLUMNS_FIELD_NUMBER;
hash = (53 * hash) + getColumnsList().hashCode();
}
hash = (37 * hash) + TIME_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getTimeMs()));
hash = (37 * hash) + ROWS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getRows());
hash = (37 * hash) + MEMORY_KIB_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getMemoryKib()));
hash = (37 * hash) + BLOCKED_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getBlockedMs()));
hash = (37 * hash) + QUEUED_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getQueuedMs()));
hash = (37 * hash) + CONSUME_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getConsumeMs()));
hash = (37 * hash) + PRODUCE_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getProduceMs()));
hash = (37 * hash) + FINISH_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getFinishMs()));
hash = (37 * hash) + BATCHES_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getBatches());
hash = (37 * hash) + CONCURRENCY_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getConcurrency());
hash = (37 * hash) + OTHER_STATS_JSON_FIELD_NUMBER;
hash = (53 * hash) + getOtherStatsJson().hashCode();
if (getChildrenCount() > 0) {
hash = (37 * hash) + CHILDREN_FIELD_NUMBER;
hash = (53 * hash) + getChildrenList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.vesoft.nebula.proto.graph.PlanInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vesoft.nebula.proto.graph.PlanInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vesoft.nebula.proto.graph.PlanInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vesoft.nebula.proto.graph.PlanInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vesoft.nebula.proto.graph.PlanInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.vesoft.nebula.proto.graph.PlanInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.vesoft.nebula.proto.graph.PlanInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vesoft.nebula.proto.graph.PlanInfo 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.vesoft.nebula.proto.graph.PlanInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.vesoft.nebula.proto.graph.PlanInfo 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.vesoft.nebula.proto.graph.PlanInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.vesoft.nebula.proto.graph.PlanInfo 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.vesoft.nebula.proto.graph.PlanInfo 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 nebula.proto.graph.PlanInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:nebula.proto.graph.PlanInfo)
com.vesoft.nebula.proto.graph.PlanInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.vesoft.nebula.proto.graph.Graph.internal_static_nebula_proto_graph_PlanInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.vesoft.nebula.proto.graph.Graph.internal_static_nebula_proto_graph_PlanInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.vesoft.nebula.proto.graph.PlanInfo.class, com.vesoft.nebula.proto.graph.PlanInfo.Builder.class);
}
// Construct using com.vesoft.nebula.proto.graph.PlanInfo.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
id_ = com.google.protobuf.ByteString.EMPTY;
name_ = com.google.protobuf.ByteString.EMPTY;
details_ = com.google.protobuf.ByteString.EMPTY;
columns_ = emptyList(com.google.protobuf.ByteString.class);
timeMs_ = 0D;
rows_ = 0L;
memoryKib_ = 0D;
blockedMs_ = 0D;
queuedMs_ = 0D;
consumeMs_ = 0D;
produceMs_ = 0D;
finishMs_ = 0D;
batches_ = 0L;
concurrency_ = 0L;
otherStatsJson_ = com.google.protobuf.ByteString.EMPTY;
if (childrenBuilder_ == null) {
children_ = java.util.Collections.emptyList();
} else {
children_ = null;
childrenBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00008000);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.vesoft.nebula.proto.graph.Graph.internal_static_nebula_proto_graph_PlanInfo_descriptor;
}
@java.lang.Override
public com.vesoft.nebula.proto.graph.PlanInfo getDefaultInstanceForType() {
return com.vesoft.nebula.proto.graph.PlanInfo.getDefaultInstance();
}
@java.lang.Override
public com.vesoft.nebula.proto.graph.PlanInfo build() {
com.vesoft.nebula.proto.graph.PlanInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.vesoft.nebula.proto.graph.PlanInfo buildPartial() {
com.vesoft.nebula.proto.graph.PlanInfo result = new com.vesoft.nebula.proto.graph.PlanInfo(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(com.vesoft.nebula.proto.graph.PlanInfo result) {
if (childrenBuilder_ == null) {
if (((bitField0_ & 0x00008000) != 0)) {
children_ = java.util.Collections.unmodifiableList(children_);
bitField0_ = (bitField0_ & ~0x00008000);
}
result.children_ = children_;
} else {
result.children_ = childrenBuilder_.build();
}
}
private void buildPartial0(com.vesoft.nebula.proto.graph.PlanInfo result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.id_ = id_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.name_ = name_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.details_ = details_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
columns_.makeImmutable();
result.columns_ = columns_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.timeMs_ = timeMs_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.rows_ = rows_;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.memoryKib_ = memoryKib_;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.blockedMs_ = blockedMs_;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.queuedMs_ = queuedMs_;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.consumeMs_ = consumeMs_;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.produceMs_ = produceMs_;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
result.finishMs_ = finishMs_;
}
if (((from_bitField0_ & 0x00001000) != 0)) {
result.batches_ = batches_;
}
if (((from_bitField0_ & 0x00002000) != 0)) {
result.concurrency_ = concurrency_;
}
if (((from_bitField0_ & 0x00004000) != 0)) {
result.otherStatsJson_ = otherStatsJson_;
}
}
@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 com.vesoft.nebula.proto.graph.PlanInfo) {
return mergeFrom((com.vesoft.nebula.proto.graph.PlanInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.vesoft.nebula.proto.graph.PlanInfo other) {
if (other == com.vesoft.nebula.proto.graph.PlanInfo.getDefaultInstance()) return this;
if (other.getId() != com.google.protobuf.ByteString.EMPTY) {
setId(other.getId());
}
if (other.getName() != com.google.protobuf.ByteString.EMPTY) {
setName(other.getName());
}
if (other.getDetails() != com.google.protobuf.ByteString.EMPTY) {
setDetails(other.getDetails());
}
if (!other.columns_.isEmpty()) {
if (columns_.isEmpty()) {
columns_ = other.columns_;
columns_.makeImmutable();
bitField0_ |= 0x00000008;
} else {
ensureColumnsIsMutable();
columns_.addAll(other.columns_);
}
onChanged();
}
if (other.getTimeMs() != 0D) {
setTimeMs(other.getTimeMs());
}
if (other.getRows() != 0L) {
setRows(other.getRows());
}
if (other.getMemoryKib() != 0D) {
setMemoryKib(other.getMemoryKib());
}
if (other.getBlockedMs() != 0D) {
setBlockedMs(other.getBlockedMs());
}
if (other.getQueuedMs() != 0D) {
setQueuedMs(other.getQueuedMs());
}
if (other.getConsumeMs() != 0D) {
setConsumeMs(other.getConsumeMs());
}
if (other.getProduceMs() != 0D) {
setProduceMs(other.getProduceMs());
}
if (other.getFinishMs() != 0D) {
setFinishMs(other.getFinishMs());
}
if (other.getBatches() != 0L) {
setBatches(other.getBatches());
}
if (other.getConcurrency() != 0L) {
setConcurrency(other.getConcurrency());
}
if (other.getOtherStatsJson() != com.google.protobuf.ByteString.EMPTY) {
setOtherStatsJson(other.getOtherStatsJson());
}
if (childrenBuilder_ == null) {
if (!other.children_.isEmpty()) {
if (children_.isEmpty()) {
children_ = other.children_;
bitField0_ = (bitField0_ & ~0x00008000);
} else {
ensureChildrenIsMutable();
children_.addAll(other.children_);
}
onChanged();
}
} else {
if (!other.children_.isEmpty()) {
if (childrenBuilder_.isEmpty()) {
childrenBuilder_.dispose();
childrenBuilder_ = null;
children_ = other.children_;
bitField0_ = (bitField0_ & ~0x00008000);
childrenBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getChildrenFieldBuilder() : null;
} else {
childrenBuilder_.addAllMessages(other.children_);
}
}
}
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: {
id_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
name_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
details_ = input.readBytes();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
com.google.protobuf.ByteString v = input.readBytes();
ensureColumnsIsMutable();
columns_.add(v);
break;
} // case 34
case 41: {
timeMs_ = input.readDouble();
bitField0_ |= 0x00000010;
break;
} // case 41
case 48: {
rows_ = input.readInt64();
bitField0_ |= 0x00000020;
break;
} // case 48
case 57: {
memoryKib_ = input.readDouble();
bitField0_ |= 0x00000040;
break;
} // case 57
case 65: {
blockedMs_ = input.readDouble();
bitField0_ |= 0x00000080;
break;
} // case 65
case 73: {
queuedMs_ = input.readDouble();
bitField0_ |= 0x00000100;
break;
} // case 73
case 81: {
consumeMs_ = input.readDouble();
bitField0_ |= 0x00000200;
break;
} // case 81
case 89: {
produceMs_ = input.readDouble();
bitField0_ |= 0x00000400;
break;
} // case 89
case 97: {
finishMs_ = input.readDouble();
bitField0_ |= 0x00000800;
break;
} // case 97
case 104: {
batches_ = input.readInt64();
bitField0_ |= 0x00001000;
break;
} // case 104
case 112: {
concurrency_ = input.readInt64();
bitField0_ |= 0x00002000;
break;
} // case 112
case 122: {
otherStatsJson_ = input.readBytes();
bitField0_ |= 0x00004000;
break;
} // case 122
case 130: {
com.vesoft.nebula.proto.graph.PlanInfo m =
input.readMessage(
com.vesoft.nebula.proto.graph.PlanInfo.parser(),
extensionRegistry);
if (childrenBuilder_ == null) {
ensureChildrenIsMutable();
children_.add(m);
} else {
childrenBuilder_.addMessage(m);
}
break;
} // case 130
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 com.google.protobuf.ByteString id_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes id = 1;
* @return The id.
*/
@java.lang.Override
public com.google.protobuf.ByteString getId() {
return id_;
}
/**
* bytes id = 1;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
id_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* bytes id = 1;
* @return This builder for chaining.
*/
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = getDefaultInstance().getId();
onChanged();
return this;
}
private com.google.protobuf.ByteString name_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes name = 2;
* @return The name.
*/
@java.lang.Override
public com.google.protobuf.ByteString getName() {
return name_;
}
/**
* bytes name = 2;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* bytes name = 2;
* @return This builder for chaining.
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000002);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
private com.google.protobuf.ByteString details_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes details = 3;
* @return The details.
*/
@java.lang.Override
public com.google.protobuf.ByteString getDetails() {
return details_;
}
/**
* bytes details = 3;
* @param value The details to set.
* @return This builder for chaining.
*/
public Builder setDetails(com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
details_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* bytes details = 3;
* @return This builder for chaining.
*/
public Builder clearDetails() {
bitField0_ = (bitField0_ & ~0x00000004);
details_ = getDefaultInstance().getDetails();
onChanged();
return this;
}
private com.google.protobuf.Internal.ProtobufList columns_ = emptyList(com.google.protobuf.ByteString.class);
private void ensureColumnsIsMutable() {
if (!columns_.isModifiable()) {
columns_ = makeMutableCopy(columns_);
}
bitField0_ |= 0x00000008;
}
/**
* repeated bytes columns = 4;
* @return A list containing the columns.
*/
public java.util.List
getColumnsList() {
columns_.makeImmutable();
return columns_;
}
/**
* repeated bytes columns = 4;
* @return The count of columns.
*/
public int getColumnsCount() {
return columns_.size();
}
/**
* repeated bytes columns = 4;
* @param index The index of the element to return.
* @return The columns at the given index.
*/
public com.google.protobuf.ByteString getColumns(int index) {
return columns_.get(index);
}
/**
* repeated bytes columns = 4;
* @param index The index to set the value at.
* @param value The columns to set.
* @return This builder for chaining.
*/
public Builder setColumns(
int index, com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
ensureColumnsIsMutable();
columns_.set(index, value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* repeated bytes columns = 4;
* @param value The columns to add.
* @return This builder for chaining.
*/
public Builder addColumns(com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
ensureColumnsIsMutable();
columns_.add(value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* repeated bytes columns = 4;
* @param values The columns to add.
* @return This builder for chaining.
*/
public Builder addAllColumns(
java.lang.Iterable extends com.google.protobuf.ByteString> values) {
ensureColumnsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, columns_);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* repeated bytes columns = 4;
* @return This builder for chaining.
*/
public Builder clearColumns() {
columns_ = emptyList(com.google.protobuf.ByteString.class);
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
private double timeMs_ ;
/**
* double time_ms = 5;
* @return The timeMs.
*/
@java.lang.Override
public double getTimeMs() {
return timeMs_;
}
/**
* double time_ms = 5;
* @param value The timeMs to set.
* @return This builder for chaining.
*/
public Builder setTimeMs(double value) {
timeMs_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* double time_ms = 5;
* @return This builder for chaining.
*/
public Builder clearTimeMs() {
bitField0_ = (bitField0_ & ~0x00000010);
timeMs_ = 0D;
onChanged();
return this;
}
private long rows_ ;
/**
* int64 rows = 6;
* @return The rows.
*/
@java.lang.Override
public long getRows() {
return rows_;
}
/**
* int64 rows = 6;
* @param value The rows to set.
* @return This builder for chaining.
*/
public Builder setRows(long value) {
rows_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* int64 rows = 6;
* @return This builder for chaining.
*/
public Builder clearRows() {
bitField0_ = (bitField0_ & ~0x00000020);
rows_ = 0L;
onChanged();
return this;
}
private double memoryKib_ ;
/**
* double memory_kib = 7;
* @return The memoryKib.
*/
@java.lang.Override
public double getMemoryKib() {
return memoryKib_;
}
/**
* double memory_kib = 7;
* @param value The memoryKib to set.
* @return This builder for chaining.
*/
public Builder setMemoryKib(double value) {
memoryKib_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* double memory_kib = 7;
* @return This builder for chaining.
*/
public Builder clearMemoryKib() {
bitField0_ = (bitField0_ & ~0x00000040);
memoryKib_ = 0D;
onChanged();
return this;
}
private double blockedMs_ ;
/**
* double blocked_ms = 8;
* @return The blockedMs.
*/
@java.lang.Override
public double getBlockedMs() {
return blockedMs_;
}
/**
* double blocked_ms = 8;
* @param value The blockedMs to set.
* @return This builder for chaining.
*/
public Builder setBlockedMs(double value) {
blockedMs_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* double blocked_ms = 8;
* @return This builder for chaining.
*/
public Builder clearBlockedMs() {
bitField0_ = (bitField0_ & ~0x00000080);
blockedMs_ = 0D;
onChanged();
return this;
}
private double queuedMs_ ;
/**
* double queued_ms = 9;
* @return The queuedMs.
*/
@java.lang.Override
public double getQueuedMs() {
return queuedMs_;
}
/**
* double queued_ms = 9;
* @param value The queuedMs to set.
* @return This builder for chaining.
*/
public Builder setQueuedMs(double value) {
queuedMs_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* double queued_ms = 9;
* @return This builder for chaining.
*/
public Builder clearQueuedMs() {
bitField0_ = (bitField0_ & ~0x00000100);
queuedMs_ = 0D;
onChanged();
return this;
}
private double consumeMs_ ;
/**
* double consume_ms = 10;
* @return The consumeMs.
*/
@java.lang.Override
public double getConsumeMs() {
return consumeMs_;
}
/**
* double consume_ms = 10;
* @param value The consumeMs to set.
* @return This builder for chaining.
*/
public Builder setConsumeMs(double value) {
consumeMs_ = value;
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
* double consume_ms = 10;
* @return This builder for chaining.
*/
public Builder clearConsumeMs() {
bitField0_ = (bitField0_ & ~0x00000200);
consumeMs_ = 0D;
onChanged();
return this;
}
private double produceMs_ ;
/**
* double produce_ms = 11;
* @return The produceMs.
*/
@java.lang.Override
public double getProduceMs() {
return produceMs_;
}
/**
* double produce_ms = 11;
* @param value The produceMs to set.
* @return This builder for chaining.
*/
public Builder setProduceMs(double value) {
produceMs_ = value;
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
* double produce_ms = 11;
* @return This builder for chaining.
*/
public Builder clearProduceMs() {
bitField0_ = (bitField0_ & ~0x00000400);
produceMs_ = 0D;
onChanged();
return this;
}
private double finishMs_ ;
/**
* double finish_ms = 12;
* @return The finishMs.
*/
@java.lang.Override
public double getFinishMs() {
return finishMs_;
}
/**
* double finish_ms = 12;
* @param value The finishMs to set.
* @return This builder for chaining.
*/
public Builder setFinishMs(double value) {
finishMs_ = value;
bitField0_ |= 0x00000800;
onChanged();
return this;
}
/**
* double finish_ms = 12;
* @return This builder for chaining.
*/
public Builder clearFinishMs() {
bitField0_ = (bitField0_ & ~0x00000800);
finishMs_ = 0D;
onChanged();
return this;
}
private long batches_ ;
/**
* int64 batches = 13;
* @return The batches.
*/
@java.lang.Override
public long getBatches() {
return batches_;
}
/**
* int64 batches = 13;
* @param value The batches to set.
* @return This builder for chaining.
*/
public Builder setBatches(long value) {
batches_ = value;
bitField0_ |= 0x00001000;
onChanged();
return this;
}
/**
* int64 batches = 13;
* @return This builder for chaining.
*/
public Builder clearBatches() {
bitField0_ = (bitField0_ & ~0x00001000);
batches_ = 0L;
onChanged();
return this;
}
private long concurrency_ ;
/**
* int64 concurrency = 14;
* @return The concurrency.
*/
@java.lang.Override
public long getConcurrency() {
return concurrency_;
}
/**
* int64 concurrency = 14;
* @param value The concurrency to set.
* @return This builder for chaining.
*/
public Builder setConcurrency(long value) {
concurrency_ = value;
bitField0_ |= 0x00002000;
onChanged();
return this;
}
/**
* int64 concurrency = 14;
* @return This builder for chaining.
*/
public Builder clearConcurrency() {
bitField0_ = (bitField0_ & ~0x00002000);
concurrency_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.ByteString otherStatsJson_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes other_stats_json = 15;
* @return The otherStatsJson.
*/
@java.lang.Override
public com.google.protobuf.ByteString getOtherStatsJson() {
return otherStatsJson_;
}
/**
* bytes other_stats_json = 15;
* @param value The otherStatsJson to set.
* @return This builder for chaining.
*/
public Builder setOtherStatsJson(com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
otherStatsJson_ = value;
bitField0_ |= 0x00004000;
onChanged();
return this;
}
/**
* bytes other_stats_json = 15;
* @return This builder for chaining.
*/
public Builder clearOtherStatsJson() {
bitField0_ = (bitField0_ & ~0x00004000);
otherStatsJson_ = getDefaultInstance().getOtherStatsJson();
onChanged();
return this;
}
private java.util.List children_ =
java.util.Collections.emptyList();
private void ensureChildrenIsMutable() {
if (!((bitField0_ & 0x00008000) != 0)) {
children_ = new java.util.ArrayList(children_);
bitField0_ |= 0x00008000;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.vesoft.nebula.proto.graph.PlanInfo, com.vesoft.nebula.proto.graph.PlanInfo.Builder, com.vesoft.nebula.proto.graph.PlanInfoOrBuilder> childrenBuilder_;
/**
* repeated .nebula.proto.graph.PlanInfo children = 16;
*/
public java.util.List getChildrenList() {
if (childrenBuilder_ == null) {
return java.util.Collections.unmodifiableList(children_);
} else {
return childrenBuilder_.getMessageList();
}
}
/**
* repeated .nebula.proto.graph.PlanInfo children = 16;
*/
public int getChildrenCount() {
if (childrenBuilder_ == null) {
return children_.size();
} else {
return childrenBuilder_.getCount();
}
}
/**
* repeated .nebula.proto.graph.PlanInfo children = 16;
*/
public com.vesoft.nebula.proto.graph.PlanInfo getChildren(int index) {
if (childrenBuilder_ == null) {
return children_.get(index);
} else {
return childrenBuilder_.getMessage(index);
}
}
/**
* repeated .nebula.proto.graph.PlanInfo children = 16;
*/
public Builder setChildren(
int index, com.vesoft.nebula.proto.graph.PlanInfo value) {
if (childrenBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureChildrenIsMutable();
children_.set(index, value);
onChanged();
} else {
childrenBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .nebula.proto.graph.PlanInfo children = 16;
*/
public Builder setChildren(
int index, com.vesoft.nebula.proto.graph.PlanInfo.Builder builderForValue) {
if (childrenBuilder_ == null) {
ensureChildrenIsMutable();
children_.set(index, builderForValue.build());
onChanged();
} else {
childrenBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .nebula.proto.graph.PlanInfo children = 16;
*/
public Builder addChildren(com.vesoft.nebula.proto.graph.PlanInfo value) {
if (childrenBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureChildrenIsMutable();
children_.add(value);
onChanged();
} else {
childrenBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .nebula.proto.graph.PlanInfo children = 16;
*/
public Builder addChildren(
int index, com.vesoft.nebula.proto.graph.PlanInfo value) {
if (childrenBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureChildrenIsMutable();
children_.add(index, value);
onChanged();
} else {
childrenBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .nebula.proto.graph.PlanInfo children = 16;
*/
public Builder addChildren(
com.vesoft.nebula.proto.graph.PlanInfo.Builder builderForValue) {
if (childrenBuilder_ == null) {
ensureChildrenIsMutable();
children_.add(builderForValue.build());
onChanged();
} else {
childrenBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .nebula.proto.graph.PlanInfo children = 16;
*/
public Builder addChildren(
int index, com.vesoft.nebula.proto.graph.PlanInfo.Builder builderForValue) {
if (childrenBuilder_ == null) {
ensureChildrenIsMutable();
children_.add(index, builderForValue.build());
onChanged();
} else {
childrenBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .nebula.proto.graph.PlanInfo children = 16;
*/
public Builder addAllChildren(
java.lang.Iterable extends com.vesoft.nebula.proto.graph.PlanInfo> values) {
if (childrenBuilder_ == null) {
ensureChildrenIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, children_);
onChanged();
} else {
childrenBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .nebula.proto.graph.PlanInfo children = 16;
*/
public Builder clearChildren() {
if (childrenBuilder_ == null) {
children_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00008000);
onChanged();
} else {
childrenBuilder_.clear();
}
return this;
}
/**
* repeated .nebula.proto.graph.PlanInfo children = 16;
*/
public Builder removeChildren(int index) {
if (childrenBuilder_ == null) {
ensureChildrenIsMutable();
children_.remove(index);
onChanged();
} else {
childrenBuilder_.remove(index);
}
return this;
}
/**
* repeated .nebula.proto.graph.PlanInfo children = 16;
*/
public com.vesoft.nebula.proto.graph.PlanInfo.Builder getChildrenBuilder(
int index) {
return getChildrenFieldBuilder().getBuilder(index);
}
/**
* repeated .nebula.proto.graph.PlanInfo children = 16;
*/
public com.vesoft.nebula.proto.graph.PlanInfoOrBuilder getChildrenOrBuilder(
int index) {
if (childrenBuilder_ == null) {
return children_.get(index); } else {
return childrenBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .nebula.proto.graph.PlanInfo children = 16;
*/
public java.util.List extends com.vesoft.nebula.proto.graph.PlanInfoOrBuilder>
getChildrenOrBuilderList() {
if (childrenBuilder_ != null) {
return childrenBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(children_);
}
}
/**
* repeated .nebula.proto.graph.PlanInfo children = 16;
*/
public com.vesoft.nebula.proto.graph.PlanInfo.Builder addChildrenBuilder() {
return getChildrenFieldBuilder().addBuilder(
com.vesoft.nebula.proto.graph.PlanInfo.getDefaultInstance());
}
/**
* repeated .nebula.proto.graph.PlanInfo children = 16;
*/
public com.vesoft.nebula.proto.graph.PlanInfo.Builder addChildrenBuilder(
int index) {
return getChildrenFieldBuilder().addBuilder(
index, com.vesoft.nebula.proto.graph.PlanInfo.getDefaultInstance());
}
/**
* repeated .nebula.proto.graph.PlanInfo children = 16;
*/
public java.util.List
getChildrenBuilderList() {
return getChildrenFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.vesoft.nebula.proto.graph.PlanInfo, com.vesoft.nebula.proto.graph.PlanInfo.Builder, com.vesoft.nebula.proto.graph.PlanInfoOrBuilder>
getChildrenFieldBuilder() {
if (childrenBuilder_ == null) {
childrenBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.vesoft.nebula.proto.graph.PlanInfo, com.vesoft.nebula.proto.graph.PlanInfo.Builder, com.vesoft.nebula.proto.graph.PlanInfoOrBuilder>(
children_,
((bitField0_ & 0x00008000) != 0),
getParentForChildren(),
isClean());
children_ = null;
}
return childrenBuilder_;
}
@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:nebula.proto.graph.PlanInfo)
}
// @@protoc_insertion_point(class_scope:nebula.proto.graph.PlanInfo)
private static final com.vesoft.nebula.proto.graph.PlanInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.vesoft.nebula.proto.graph.PlanInfo();
}
public static com.vesoft.nebula.proto.graph.PlanInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public PlanInfo 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.vesoft.nebula.proto.graph.PlanInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}