All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cz.proto.SimplifyDagSubVertex Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: job.proto

package cz.proto;

/**
 * 
 * simplify SQL job dag for log-view & studio
 * 
* * Protobuf type {@code cz.proto.SimplifyDagSubVertex} */ public final class SimplifyDagSubVertex extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.SimplifyDagSubVertex) SimplifyDagSubVertexOrBuilder { private static final long serialVersionUID = 0L; // Use SimplifyDagSubVertex.newBuilder() to construct. private SimplifyDagSubVertex(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SimplifyDagSubVertex() { operatorId_ = ""; parentOperatorId_ = com.google.protobuf.LazyStringArrayList.EMPTY; operatorDigest_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SimplifyDagSubVertex(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SimplifyDagSubVertex( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); operatorId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { parentOperatorId_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } parentOperatorId_.add(s); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); operatorDigest_ = s; break; } case 34: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { operatorAttribute_ = com.google.protobuf.MapField.newMapField( OperatorAttributeDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000002; } com.google.protobuf.MapEntry operatorAttribute__ = input.readMessage( OperatorAttributeDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); operatorAttribute_.getMutableMap().put( operatorAttribute__.getKey(), operatorAttribute__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { parentOperatorId_ = parentOperatorId_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.JobProto.internal_static_cz_proto_SimplifyDagSubVertex_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 4: return internalGetOperatorAttribute(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.JobProto.internal_static_cz_proto_SimplifyDagSubVertex_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.SimplifyDagSubVertex.class, cz.proto.SimplifyDagSubVertex.Builder.class); } public static final int OPERATOR_ID_FIELD_NUMBER = 1; private volatile java.lang.Object operatorId_; /** *
   * TableScan0, Filter1, MergeSort2
   * 
* * string operator_id = 1; * @return The operatorId. */ @java.lang.Override public java.lang.String getOperatorId() { java.lang.Object ref = operatorId_; 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(); operatorId_ = s; return s; } } /** *
   * TableScan0, Filter1, MergeSort2
   * 
* * string operator_id = 1; * @return The bytes for operatorId. */ @java.lang.Override public com.google.protobuf.ByteString getOperatorIdBytes() { java.lang.Object ref = operatorId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); operatorId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PARENT_OPERATOR_ID_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList parentOperatorId_; /** *
   * N*M
   * 
* * repeated string parent_operator_id = 2; * @return A list containing the parentOperatorId. */ public com.google.protobuf.ProtocolStringList getParentOperatorIdList() { return parentOperatorId_; } /** *
   * N*M
   * 
* * repeated string parent_operator_id = 2; * @return The count of parentOperatorId. */ public int getParentOperatorIdCount() { return parentOperatorId_.size(); } /** *
   * N*M
   * 
* * repeated string parent_operator_id = 2; * @param index The index of the element to return. * @return The parentOperatorId at the given index. */ public java.lang.String getParentOperatorId(int index) { return parentOperatorId_.get(index); } /** *
   * N*M
   * 
* * repeated string parent_operator_id = 2; * @param index The index of the value to return. * @return The bytes of the parentOperatorId at the given index. */ public com.google.protobuf.ByteString getParentOperatorIdBytes(int index) { return parentOperatorId_.getByteString(index); } public static final int OPERATOR_DIGEST_FIELD_NUMBER = 3; private volatile java.lang.Object operatorDigest_; /** *
   * operator to String, eg: TableScan->(tableName), Filter->(c_key=1)
   * 
* * string operator_digest = 3; * @return The operatorDigest. */ @java.lang.Override public java.lang.String getOperatorDigest() { java.lang.Object ref = operatorDigest_; 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(); operatorDigest_ = s; return s; } } /** *
   * operator to String, eg: TableScan->(tableName), Filter->(c_key=1)
   * 
* * string operator_digest = 3; * @return The bytes for operatorDigest. */ @java.lang.Override public com.google.protobuf.ByteString getOperatorDigestBytes() { java.lang.Object ref = operatorDigest_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); operatorDigest_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int OPERATOR_ATTRIBUTE_FIELD_NUMBER = 4; private static final class OperatorAttributeDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( cz.proto.JobProto.internal_static_cz_proto_SimplifyDagSubVertex_OperatorAttributeEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } private com.google.protobuf.MapField< java.lang.String, java.lang.String> operatorAttribute_; private com.google.protobuf.MapField internalGetOperatorAttribute() { if (operatorAttribute_ == null) { return com.google.protobuf.MapField.emptyMapField( OperatorAttributeDefaultEntryHolder.defaultEntry); } return operatorAttribute_; } public int getOperatorAttributeCount() { return internalGetOperatorAttribute().getMap().size(); } /** * map<string, string> operator_attribute = 4; */ @java.lang.Override public boolean containsOperatorAttribute( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetOperatorAttribute().getMap().containsKey(key); } /** * Use {@link #getOperatorAttributeMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getOperatorAttribute() { return getOperatorAttributeMap(); } /** * map<string, string> operator_attribute = 4; */ @java.lang.Override public java.util.Map getOperatorAttributeMap() { return internalGetOperatorAttribute().getMap(); } /** * map<string, string> operator_attribute = 4; */ @java.lang.Override public java.lang.String getOperatorAttributeOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetOperatorAttribute().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> operator_attribute = 4; */ @java.lang.Override public java.lang.String getOperatorAttributeOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetOperatorAttribute().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } 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(operatorId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, operatorId_); } for (int i = 0; i < parentOperatorId_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, parentOperatorId_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operatorDigest_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, operatorDigest_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetOperatorAttribute(), OperatorAttributeDefaultEntryHolder.defaultEntry, 4); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operatorId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, operatorId_); } { int dataSize = 0; for (int i = 0; i < parentOperatorId_.size(); i++) { dataSize += computeStringSizeNoTag(parentOperatorId_.getRaw(i)); } size += dataSize; size += 1 * getParentOperatorIdList().size(); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operatorDigest_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, operatorDigest_); } for (java.util.Map.Entry entry : internalGetOperatorAttribute().getMap().entrySet()) { com.google.protobuf.MapEntry operatorAttribute__ = OperatorAttributeDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, operatorAttribute__); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof cz.proto.SimplifyDagSubVertex)) { return super.equals(obj); } cz.proto.SimplifyDagSubVertex other = (cz.proto.SimplifyDagSubVertex) obj; if (!getOperatorId() .equals(other.getOperatorId())) return false; if (!getParentOperatorIdList() .equals(other.getParentOperatorIdList())) return false; if (!getOperatorDigest() .equals(other.getOperatorDigest())) return false; if (!internalGetOperatorAttribute().equals( other.internalGetOperatorAttribute())) return false; if (!unknownFields.equals(other.unknownFields)) 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) + OPERATOR_ID_FIELD_NUMBER; hash = (53 * hash) + getOperatorId().hashCode(); if (getParentOperatorIdCount() > 0) { hash = (37 * hash) + PARENT_OPERATOR_ID_FIELD_NUMBER; hash = (53 * hash) + getParentOperatorIdList().hashCode(); } hash = (37 * hash) + OPERATOR_DIGEST_FIELD_NUMBER; hash = (53 * hash) + getOperatorDigest().hashCode(); if (!internalGetOperatorAttribute().getMap().isEmpty()) { hash = (37 * hash) + OPERATOR_ATTRIBUTE_FIELD_NUMBER; hash = (53 * hash) + internalGetOperatorAttribute().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.SimplifyDagSubVertex parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.SimplifyDagSubVertex parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.SimplifyDagSubVertex parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.SimplifyDagSubVertex parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.SimplifyDagSubVertex parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.SimplifyDagSubVertex parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.SimplifyDagSubVertex parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.SimplifyDagSubVertex 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 cz.proto.SimplifyDagSubVertex parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.SimplifyDagSubVertex 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 cz.proto.SimplifyDagSubVertex parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.SimplifyDagSubVertex 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(cz.proto.SimplifyDagSubVertex 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; } /** *
   * simplify SQL job dag for log-view & studio
   * 
* * Protobuf type {@code cz.proto.SimplifyDagSubVertex} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.SimplifyDagSubVertex) cz.proto.SimplifyDagSubVertexOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.JobProto.internal_static_cz_proto_SimplifyDagSubVertex_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 4: return internalGetOperatorAttribute(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 4: return internalGetMutableOperatorAttribute(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.JobProto.internal_static_cz_proto_SimplifyDagSubVertex_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.SimplifyDagSubVertex.class, cz.proto.SimplifyDagSubVertex.Builder.class); } // Construct using cz.proto.SimplifyDagSubVertex.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); operatorId_ = ""; parentOperatorId_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); operatorDigest_ = ""; internalGetMutableOperatorAttribute().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.JobProto.internal_static_cz_proto_SimplifyDagSubVertex_descriptor; } @java.lang.Override public cz.proto.SimplifyDagSubVertex getDefaultInstanceForType() { return cz.proto.SimplifyDagSubVertex.getDefaultInstance(); } @java.lang.Override public cz.proto.SimplifyDagSubVertex build() { cz.proto.SimplifyDagSubVertex result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.SimplifyDagSubVertex buildPartial() { cz.proto.SimplifyDagSubVertex result = new cz.proto.SimplifyDagSubVertex(this); int from_bitField0_ = bitField0_; result.operatorId_ = operatorId_; if (((bitField0_ & 0x00000001) != 0)) { parentOperatorId_ = parentOperatorId_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.parentOperatorId_ = parentOperatorId_; result.operatorDigest_ = operatorDigest_; result.operatorAttribute_ = internalGetOperatorAttribute(); result.operatorAttribute_.makeImmutable(); onBuilt(); return result; } @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 cz.proto.SimplifyDagSubVertex) { return mergeFrom((cz.proto.SimplifyDagSubVertex)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.SimplifyDagSubVertex other) { if (other == cz.proto.SimplifyDagSubVertex.getDefaultInstance()) return this; if (!other.getOperatorId().isEmpty()) { operatorId_ = other.operatorId_; onChanged(); } if (!other.parentOperatorId_.isEmpty()) { if (parentOperatorId_.isEmpty()) { parentOperatorId_ = other.parentOperatorId_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureParentOperatorIdIsMutable(); parentOperatorId_.addAll(other.parentOperatorId_); } onChanged(); } if (!other.getOperatorDigest().isEmpty()) { operatorDigest_ = other.operatorDigest_; onChanged(); } internalGetMutableOperatorAttribute().mergeFrom( other.internalGetOperatorAttribute()); this.mergeUnknownFields(other.unknownFields); 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 { cz.proto.SimplifyDagSubVertex parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.SimplifyDagSubVertex) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object operatorId_ = ""; /** *
     * TableScan0, Filter1, MergeSort2
     * 
* * string operator_id = 1; * @return The operatorId. */ public java.lang.String getOperatorId() { java.lang.Object ref = operatorId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operatorId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * TableScan0, Filter1, MergeSort2
     * 
* * string operator_id = 1; * @return The bytes for operatorId. */ public com.google.protobuf.ByteString getOperatorIdBytes() { java.lang.Object ref = operatorId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); operatorId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * TableScan0, Filter1, MergeSort2
     * 
* * string operator_id = 1; * @param value The operatorId to set. * @return This builder for chaining. */ public Builder setOperatorId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } operatorId_ = value; onChanged(); return this; } /** *
     * TableScan0, Filter1, MergeSort2
     * 
* * string operator_id = 1; * @return This builder for chaining. */ public Builder clearOperatorId() { operatorId_ = getDefaultInstance().getOperatorId(); onChanged(); return this; } /** *
     * TableScan0, Filter1, MergeSort2
     * 
* * string operator_id = 1; * @param value The bytes for operatorId to set. * @return This builder for chaining. */ public Builder setOperatorIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); operatorId_ = value; onChanged(); return this; } private com.google.protobuf.LazyStringList parentOperatorId_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureParentOperatorIdIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { parentOperatorId_ = new com.google.protobuf.LazyStringArrayList(parentOperatorId_); bitField0_ |= 0x00000001; } } /** *
     * N*M
     * 
* * repeated string parent_operator_id = 2; * @return A list containing the parentOperatorId. */ public com.google.protobuf.ProtocolStringList getParentOperatorIdList() { return parentOperatorId_.getUnmodifiableView(); } /** *
     * N*M
     * 
* * repeated string parent_operator_id = 2; * @return The count of parentOperatorId. */ public int getParentOperatorIdCount() { return parentOperatorId_.size(); } /** *
     * N*M
     * 
* * repeated string parent_operator_id = 2; * @param index The index of the element to return. * @return The parentOperatorId at the given index. */ public java.lang.String getParentOperatorId(int index) { return parentOperatorId_.get(index); } /** *
     * N*M
     * 
* * repeated string parent_operator_id = 2; * @param index The index of the value to return. * @return The bytes of the parentOperatorId at the given index. */ public com.google.protobuf.ByteString getParentOperatorIdBytes(int index) { return parentOperatorId_.getByteString(index); } /** *
     * N*M
     * 
* * repeated string parent_operator_id = 2; * @param index The index to set the value at. * @param value The parentOperatorId to set. * @return This builder for chaining. */ public Builder setParentOperatorId( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureParentOperatorIdIsMutable(); parentOperatorId_.set(index, value); onChanged(); return this; } /** *
     * N*M
     * 
* * repeated string parent_operator_id = 2; * @param value The parentOperatorId to add. * @return This builder for chaining. */ public Builder addParentOperatorId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureParentOperatorIdIsMutable(); parentOperatorId_.add(value); onChanged(); return this; } /** *
     * N*M
     * 
* * repeated string parent_operator_id = 2; * @param values The parentOperatorId to add. * @return This builder for chaining. */ public Builder addAllParentOperatorId( java.lang.Iterable values) { ensureParentOperatorIdIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, parentOperatorId_); onChanged(); return this; } /** *
     * N*M
     * 
* * repeated string parent_operator_id = 2; * @return This builder for chaining. */ public Builder clearParentOperatorId() { parentOperatorId_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
     * N*M
     * 
* * repeated string parent_operator_id = 2; * @param value The bytes of the parentOperatorId to add. * @return This builder for chaining. */ public Builder addParentOperatorIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureParentOperatorIdIsMutable(); parentOperatorId_.add(value); onChanged(); return this; } private java.lang.Object operatorDigest_ = ""; /** *
     * operator to String, eg: TableScan->(tableName), Filter->(c_key=1)
     * 
* * string operator_digest = 3; * @return The operatorDigest. */ public java.lang.String getOperatorDigest() { java.lang.Object ref = operatorDigest_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operatorDigest_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * operator to String, eg: TableScan->(tableName), Filter->(c_key=1)
     * 
* * string operator_digest = 3; * @return The bytes for operatorDigest. */ public com.google.protobuf.ByteString getOperatorDigestBytes() { java.lang.Object ref = operatorDigest_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); operatorDigest_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * operator to String, eg: TableScan->(tableName), Filter->(c_key=1)
     * 
* * string operator_digest = 3; * @param value The operatorDigest to set. * @return This builder for chaining. */ public Builder setOperatorDigest( java.lang.String value) { if (value == null) { throw new NullPointerException(); } operatorDigest_ = value; onChanged(); return this; } /** *
     * operator to String, eg: TableScan->(tableName), Filter->(c_key=1)
     * 
* * string operator_digest = 3; * @return This builder for chaining. */ public Builder clearOperatorDigest() { operatorDigest_ = getDefaultInstance().getOperatorDigest(); onChanged(); return this; } /** *
     * operator to String, eg: TableScan->(tableName), Filter->(c_key=1)
     * 
* * string operator_digest = 3; * @param value The bytes for operatorDigest to set. * @return This builder for chaining. */ public Builder setOperatorDigestBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); operatorDigest_ = value; onChanged(); return this; } private com.google.protobuf.MapField< java.lang.String, java.lang.String> operatorAttribute_; private com.google.protobuf.MapField internalGetOperatorAttribute() { if (operatorAttribute_ == null) { return com.google.protobuf.MapField.emptyMapField( OperatorAttributeDefaultEntryHolder.defaultEntry); } return operatorAttribute_; } private com.google.protobuf.MapField internalGetMutableOperatorAttribute() { onChanged();; if (operatorAttribute_ == null) { operatorAttribute_ = com.google.protobuf.MapField.newMapField( OperatorAttributeDefaultEntryHolder.defaultEntry); } if (!operatorAttribute_.isMutable()) { operatorAttribute_ = operatorAttribute_.copy(); } return operatorAttribute_; } public int getOperatorAttributeCount() { return internalGetOperatorAttribute().getMap().size(); } /** * map<string, string> operator_attribute = 4; */ @java.lang.Override public boolean containsOperatorAttribute( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetOperatorAttribute().getMap().containsKey(key); } /** * Use {@link #getOperatorAttributeMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getOperatorAttribute() { return getOperatorAttributeMap(); } /** * map<string, string> operator_attribute = 4; */ @java.lang.Override public java.util.Map getOperatorAttributeMap() { return internalGetOperatorAttribute().getMap(); } /** * map<string, string> operator_attribute = 4; */ @java.lang.Override public java.lang.String getOperatorAttributeOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetOperatorAttribute().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> operator_attribute = 4; */ @java.lang.Override public java.lang.String getOperatorAttributeOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetOperatorAttribute().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearOperatorAttribute() { internalGetMutableOperatorAttribute().getMutableMap() .clear(); return this; } /** * map<string, string> operator_attribute = 4; */ public Builder removeOperatorAttribute( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableOperatorAttribute().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableOperatorAttribute() { return internalGetMutableOperatorAttribute().getMutableMap(); } /** * map<string, string> operator_attribute = 4; */ public Builder putOperatorAttribute( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableOperatorAttribute().getMutableMap() .put(key, value); return this; } /** * map<string, string> operator_attribute = 4; */ public Builder putAllOperatorAttribute( java.util.Map values) { internalGetMutableOperatorAttribute().getMutableMap() .putAll(values); 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:cz.proto.SimplifyDagSubVertex) } // @@protoc_insertion_point(class_scope:cz.proto.SimplifyDagSubVertex) private static final cz.proto.SimplifyDagSubVertex DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.SimplifyDagSubVertex(); } public static cz.proto.SimplifyDagSubVertex getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SimplifyDagSubVertex parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SimplifyDagSubVertex(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cz.proto.SimplifyDagSubVertex getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy