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

org.hansken.extraction.plugin.grpc.RpcTrace Maven / Gradle / Ivy

There is a newer version: 0.8.3
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: hansken_extraction_plugin/framework/DataMessages.proto

package org.hansken.extraction.plugin.grpc;

/**
 * 
 **
 * A description of a trace, containing the set of types and properties of that trace. It also
 * contains an id. This is a String consisting of numbers separated with a dash,
 * each consecutive numbers representing a level deeper in the trace tree.
 * For example, if this trace has an id of {@code '0-0-1-2'}, the parent of this
 * trace has an id of {@code '0-0-1'} and the root trace has an id of {@code '0'}.
 * It is only used internally in order to verify that we are operating on the correct trace.
 * 
* * Protobuf type {@code org.hansken.extraction.plugin.grpc.RpcTrace} */ public final class RpcTrace extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org.hansken.extraction.plugin.grpc.RpcTrace) RpcTraceOrBuilder { private static final long serialVersionUID = 0L; // Use RpcTrace.newBuilder() to construct. private RpcTrace(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RpcTrace() { id_ = ""; types_ = com.google.protobuf.LazyStringArrayList.EMPTY; properties_ = java.util.Collections.emptyList(); tracelets_ = java.util.Collections.emptyList(); transformations_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new RpcTrace(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RpcTrace( 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(); id_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { types_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } types_.add(s); break; } case 26: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { properties_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } properties_.add( input.readMessage(org.hansken.extraction.plugin.grpc.RpcTraceProperty.parser(), extensionRegistry)); break; } case 34: { if (!((mutable_bitField0_ & 0x00000004) != 0)) { tracelets_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } tracelets_.add( input.readMessage(org.hansken.extraction.plugin.grpc.RpcTracelet.parser(), extensionRegistry)); break; } case 42: { if (!((mutable_bitField0_ & 0x00000008) != 0)) { transformations_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } transformations_.add( input.readMessage(org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation.parser(), extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { types_ = types_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000002) != 0)) { properties_ = java.util.Collections.unmodifiableList(properties_); } if (((mutable_bitField0_ & 0x00000004) != 0)) { tracelets_ = java.util.Collections.unmodifiableList(tracelets_); } if (((mutable_bitField0_ & 0x00000008) != 0)) { transformations_ = java.util.Collections.unmodifiableList(transformations_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.hansken.extraction.plugin.grpc.DataMessages.internal_static_org_hansken_extraction_plugin_grpc_RpcTrace_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.hansken.extraction.plugin.grpc.DataMessages.internal_static_org_hansken_extraction_plugin_grpc_RpcTrace_fieldAccessorTable .ensureFieldAccessorsInitialized( org.hansken.extraction.plugin.grpc.RpcTrace.class, org.hansken.extraction.plugin.grpc.RpcTrace.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** * string id = 1; * @return The id. */ @java.lang.Override public java.lang.String getId() { java.lang.Object ref = id_; 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(); id_ = s; return s; } } /** * string id = 1; * @return The bytes for id. */ @java.lang.Override public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TYPES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList types_; /** * repeated string types = 2; * @return A list containing the types. */ public com.google.protobuf.ProtocolStringList getTypesList() { return types_; } /** * repeated string types = 2; * @return The count of types. */ public int getTypesCount() { return types_.size(); } /** * repeated string types = 2; * @param index The index of the element to return. * @return The types at the given index. */ public java.lang.String getTypes(int index) { return types_.get(index); } /** * repeated string types = 2; * @param index The index of the value to return. * @return The bytes of the types at the given index. */ public com.google.protobuf.ByteString getTypesBytes(int index) { return types_.getByteString(index); } public static final int PROPERTIES_FIELD_NUMBER = 3; private java.util.List properties_; /** * repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3; */ @java.lang.Override public java.util.List getPropertiesList() { return properties_; } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3; */ @java.lang.Override public java.util.List getPropertiesOrBuilderList() { return properties_; } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3; */ @java.lang.Override public int getPropertiesCount() { return properties_.size(); } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3; */ @java.lang.Override public org.hansken.extraction.plugin.grpc.RpcTraceProperty getProperties(int index) { return properties_.get(index); } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3; */ @java.lang.Override public org.hansken.extraction.plugin.grpc.RpcTracePropertyOrBuilder getPropertiesOrBuilder( int index) { return properties_.get(index); } public static final int TRACELETS_FIELD_NUMBER = 4; private java.util.List tracelets_; /** * repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4; */ @java.lang.Override public java.util.List getTraceletsList() { return tracelets_; } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4; */ @java.lang.Override public java.util.List getTraceletsOrBuilderList() { return tracelets_; } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4; */ @java.lang.Override public int getTraceletsCount() { return tracelets_.size(); } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4; */ @java.lang.Override public org.hansken.extraction.plugin.grpc.RpcTracelet getTracelets(int index) { return tracelets_.get(index); } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4; */ @java.lang.Override public org.hansken.extraction.plugin.grpc.RpcTraceletOrBuilder getTraceletsOrBuilder( int index) { return tracelets_.get(index); } public static final int TRANSFORMATIONS_FIELD_NUMBER = 5; private java.util.List transformations_; /** * repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5; */ @java.lang.Override public java.util.List getTransformationsList() { return transformations_; } /** * repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5; */ @java.lang.Override public java.util.List getTransformationsOrBuilderList() { return transformations_; } /** * repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5; */ @java.lang.Override public int getTransformationsCount() { return transformations_.size(); } /** * repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5; */ @java.lang.Override public org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation getTransformations(int index) { return transformations_.get(index); } /** * repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5; */ @java.lang.Override public org.hansken.extraction.plugin.grpc.RpcDataStreamTransformationOrBuilder getTransformationsOrBuilder( int index) { return transformations_.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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } for (int i = 0; i < types_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, types_.getRaw(i)); } for (int i = 0; i < properties_.size(); i++) { output.writeMessage(3, properties_.get(i)); } for (int i = 0; i < tracelets_.size(); i++) { output.writeMessage(4, tracelets_.get(i)); } for (int i = 0; i < transformations_.size(); i++) { output.writeMessage(5, transformations_.get(i)); } 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(id_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } { int dataSize = 0; for (int i = 0; i < types_.size(); i++) { dataSize += computeStringSizeNoTag(types_.getRaw(i)); } size += dataSize; size += 1 * getTypesList().size(); } for (int i = 0; i < properties_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, properties_.get(i)); } for (int i = 0; i < tracelets_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, tracelets_.get(i)); } for (int i = 0; i < transformations_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, transformations_.get(i)); } 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 org.hansken.extraction.plugin.grpc.RpcTrace)) { return super.equals(obj); } org.hansken.extraction.plugin.grpc.RpcTrace other = (org.hansken.extraction.plugin.grpc.RpcTrace) obj; if (!getId() .equals(other.getId())) return false; if (!getTypesList() .equals(other.getTypesList())) return false; if (!getPropertiesList() .equals(other.getPropertiesList())) return false; if (!getTraceletsList() .equals(other.getTraceletsList())) return false; if (!getTransformationsList() .equals(other.getTransformationsList())) 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) + ID_FIELD_NUMBER; hash = (53 * hash) + getId().hashCode(); if (getTypesCount() > 0) { hash = (37 * hash) + TYPES_FIELD_NUMBER; hash = (53 * hash) + getTypesList().hashCode(); } if (getPropertiesCount() > 0) { hash = (37 * hash) + PROPERTIES_FIELD_NUMBER; hash = (53 * hash) + getPropertiesList().hashCode(); } if (getTraceletsCount() > 0) { hash = (37 * hash) + TRACELETS_FIELD_NUMBER; hash = (53 * hash) + getTraceletsList().hashCode(); } if (getTransformationsCount() > 0) { hash = (37 * hash) + TRANSFORMATIONS_FIELD_NUMBER; hash = (53 * hash) + getTransformationsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.hansken.extraction.plugin.grpc.RpcTrace parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.hansken.extraction.plugin.grpc.RpcTrace parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.hansken.extraction.plugin.grpc.RpcTrace parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.hansken.extraction.plugin.grpc.RpcTrace parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.hansken.extraction.plugin.grpc.RpcTrace parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.hansken.extraction.plugin.grpc.RpcTrace parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.hansken.extraction.plugin.grpc.RpcTrace parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.hansken.extraction.plugin.grpc.RpcTrace 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 org.hansken.extraction.plugin.grpc.RpcTrace parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.hansken.extraction.plugin.grpc.RpcTrace 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 org.hansken.extraction.plugin.grpc.RpcTrace parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.hansken.extraction.plugin.grpc.RpcTrace 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(org.hansken.extraction.plugin.grpc.RpcTrace 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; } /** *
   **
   * A description of a trace, containing the set of types and properties of that trace. It also
   * contains an id. This is a String consisting of numbers separated with a dash,
   * each consecutive numbers representing a level deeper in the trace tree.
   * For example, if this trace has an id of {@code '0-0-1-2'}, the parent of this
   * trace has an id of {@code '0-0-1'} and the root trace has an id of {@code '0'}.
   * It is only used internally in order to verify that we are operating on the correct trace.
   * 
* * Protobuf type {@code org.hansken.extraction.plugin.grpc.RpcTrace} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:org.hansken.extraction.plugin.grpc.RpcTrace) org.hansken.extraction.plugin.grpc.RpcTraceOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.hansken.extraction.plugin.grpc.DataMessages.internal_static_org_hansken_extraction_plugin_grpc_RpcTrace_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.hansken.extraction.plugin.grpc.DataMessages.internal_static_org_hansken_extraction_plugin_grpc_RpcTrace_fieldAccessorTable .ensureFieldAccessorsInitialized( org.hansken.extraction.plugin.grpc.RpcTrace.class, org.hansken.extraction.plugin.grpc.RpcTrace.Builder.class); } // Construct using org.hansken.extraction.plugin.grpc.RpcTrace.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getPropertiesFieldBuilder(); getTraceletsFieldBuilder(); getTransformationsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); id_ = ""; types_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); if (propertiesBuilder_ == null) { properties_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { propertiesBuilder_.clear(); } if (traceletsBuilder_ == null) { tracelets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { traceletsBuilder_.clear(); } if (transformationsBuilder_ == null) { transformations_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); } else { transformationsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.hansken.extraction.plugin.grpc.DataMessages.internal_static_org_hansken_extraction_plugin_grpc_RpcTrace_descriptor; } @java.lang.Override public org.hansken.extraction.plugin.grpc.RpcTrace getDefaultInstanceForType() { return org.hansken.extraction.plugin.grpc.RpcTrace.getDefaultInstance(); } @java.lang.Override public org.hansken.extraction.plugin.grpc.RpcTrace build() { org.hansken.extraction.plugin.grpc.RpcTrace result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.hansken.extraction.plugin.grpc.RpcTrace buildPartial() { org.hansken.extraction.plugin.grpc.RpcTrace result = new org.hansken.extraction.plugin.grpc.RpcTrace(this); int from_bitField0_ = bitField0_; result.id_ = id_; if (((bitField0_ & 0x00000001) != 0)) { types_ = types_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.types_ = types_; if (propertiesBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { properties_ = java.util.Collections.unmodifiableList(properties_); bitField0_ = (bitField0_ & ~0x00000002); } result.properties_ = properties_; } else { result.properties_ = propertiesBuilder_.build(); } if (traceletsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { tracelets_ = java.util.Collections.unmodifiableList(tracelets_); bitField0_ = (bitField0_ & ~0x00000004); } result.tracelets_ = tracelets_; } else { result.tracelets_ = traceletsBuilder_.build(); } if (transformationsBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { transformations_ = java.util.Collections.unmodifiableList(transformations_); bitField0_ = (bitField0_ & ~0x00000008); } result.transformations_ = transformations_; } else { result.transformations_ = transformationsBuilder_.build(); } 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 org.hansken.extraction.plugin.grpc.RpcTrace) { return mergeFrom((org.hansken.extraction.plugin.grpc.RpcTrace)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.hansken.extraction.plugin.grpc.RpcTrace other) { if (other == org.hansken.extraction.plugin.grpc.RpcTrace.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); } if (!other.types_.isEmpty()) { if (types_.isEmpty()) { types_ = other.types_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTypesIsMutable(); types_.addAll(other.types_); } onChanged(); } if (propertiesBuilder_ == null) { if (!other.properties_.isEmpty()) { if (properties_.isEmpty()) { properties_ = other.properties_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensurePropertiesIsMutable(); properties_.addAll(other.properties_); } onChanged(); } } else { if (!other.properties_.isEmpty()) { if (propertiesBuilder_.isEmpty()) { propertiesBuilder_.dispose(); propertiesBuilder_ = null; properties_ = other.properties_; bitField0_ = (bitField0_ & ~0x00000002); propertiesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getPropertiesFieldBuilder() : null; } else { propertiesBuilder_.addAllMessages(other.properties_); } } } if (traceletsBuilder_ == null) { if (!other.tracelets_.isEmpty()) { if (tracelets_.isEmpty()) { tracelets_ = other.tracelets_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureTraceletsIsMutable(); tracelets_.addAll(other.tracelets_); } onChanged(); } } else { if (!other.tracelets_.isEmpty()) { if (traceletsBuilder_.isEmpty()) { traceletsBuilder_.dispose(); traceletsBuilder_ = null; tracelets_ = other.tracelets_; bitField0_ = (bitField0_ & ~0x00000004); traceletsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTraceletsFieldBuilder() : null; } else { traceletsBuilder_.addAllMessages(other.tracelets_); } } } if (transformationsBuilder_ == null) { if (!other.transformations_.isEmpty()) { if (transformations_.isEmpty()) { transformations_ = other.transformations_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureTransformationsIsMutable(); transformations_.addAll(other.transformations_); } onChanged(); } } else { if (!other.transformations_.isEmpty()) { if (transformationsBuilder_.isEmpty()) { transformationsBuilder_.dispose(); transformationsBuilder_ = null; transformations_ = other.transformations_; bitField0_ = (bitField0_ & ~0x00000008); transformationsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTransformationsFieldBuilder() : null; } else { transformationsBuilder_.addAllMessages(other.transformations_); } } } 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 { org.hansken.extraction.plugin.grpc.RpcTrace parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.hansken.extraction.plugin.grpc.RpcTrace) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object id_ = ""; /** * string id = 1; * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } else { return (java.lang.String) ref; } } /** * string id = 1; * @return The bytes for id. */ public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string id = 1; * @param value The id to set. * @return This builder for chaining. */ public Builder setId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } id_ = value; onChanged(); return this; } /** * string id = 1; * @return This builder for chaining. */ public Builder clearId() { id_ = getDefaultInstance().getId(); onChanged(); return this; } /** * string id = 1; * @param value The bytes for id to set. * @return This builder for chaining. */ public Builder setIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); id_ = value; onChanged(); return this; } private com.google.protobuf.LazyStringList types_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureTypesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { types_ = new com.google.protobuf.LazyStringArrayList(types_); bitField0_ |= 0x00000001; } } /** * repeated string types = 2; * @return A list containing the types. */ public com.google.protobuf.ProtocolStringList getTypesList() { return types_.getUnmodifiableView(); } /** * repeated string types = 2; * @return The count of types. */ public int getTypesCount() { return types_.size(); } /** * repeated string types = 2; * @param index The index of the element to return. * @return The types at the given index. */ public java.lang.String getTypes(int index) { return types_.get(index); } /** * repeated string types = 2; * @param index The index of the value to return. * @return The bytes of the types at the given index. */ public com.google.protobuf.ByteString getTypesBytes(int index) { return types_.getByteString(index); } /** * repeated string types = 2; * @param index The index to set the value at. * @param value The types to set. * @return This builder for chaining. */ public Builder setTypes( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureTypesIsMutable(); types_.set(index, value); onChanged(); return this; } /** * repeated string types = 2; * @param value The types to add. * @return This builder for chaining. */ public Builder addTypes( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureTypesIsMutable(); types_.add(value); onChanged(); return this; } /** * repeated string types = 2; * @param values The types to add. * @return This builder for chaining. */ public Builder addAllTypes( java.lang.Iterable values) { ensureTypesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, types_); onChanged(); return this; } /** * repeated string types = 2; * @return This builder for chaining. */ public Builder clearTypes() { types_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated string types = 2; * @param value The bytes of the types to add. * @return This builder for chaining. */ public Builder addTypesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureTypesIsMutable(); types_.add(value); onChanged(); return this; } private java.util.List properties_ = java.util.Collections.emptyList(); private void ensurePropertiesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { properties_ = new java.util.ArrayList(properties_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.hansken.extraction.plugin.grpc.RpcTraceProperty, org.hansken.extraction.plugin.grpc.RpcTraceProperty.Builder, org.hansken.extraction.plugin.grpc.RpcTracePropertyOrBuilder> propertiesBuilder_; /** * repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3; */ public java.util.List getPropertiesList() { if (propertiesBuilder_ == null) { return java.util.Collections.unmodifiableList(properties_); } else { return propertiesBuilder_.getMessageList(); } } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3; */ public int getPropertiesCount() { if (propertiesBuilder_ == null) { return properties_.size(); } else { return propertiesBuilder_.getCount(); } } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3; */ public org.hansken.extraction.plugin.grpc.RpcTraceProperty getProperties(int index) { if (propertiesBuilder_ == null) { return properties_.get(index); } else { return propertiesBuilder_.getMessage(index); } } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3; */ public Builder setProperties( int index, org.hansken.extraction.plugin.grpc.RpcTraceProperty value) { if (propertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePropertiesIsMutable(); properties_.set(index, value); onChanged(); } else { propertiesBuilder_.setMessage(index, value); } return this; } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3; */ public Builder setProperties( int index, org.hansken.extraction.plugin.grpc.RpcTraceProperty.Builder builderForValue) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); properties_.set(index, builderForValue.build()); onChanged(); } else { propertiesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3; */ public Builder addProperties(org.hansken.extraction.plugin.grpc.RpcTraceProperty value) { if (propertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePropertiesIsMutable(); properties_.add(value); onChanged(); } else { propertiesBuilder_.addMessage(value); } return this; } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3; */ public Builder addProperties( int index, org.hansken.extraction.plugin.grpc.RpcTraceProperty value) { if (propertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePropertiesIsMutable(); properties_.add(index, value); onChanged(); } else { propertiesBuilder_.addMessage(index, value); } return this; } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3; */ public Builder addProperties( org.hansken.extraction.plugin.grpc.RpcTraceProperty.Builder builderForValue) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); properties_.add(builderForValue.build()); onChanged(); } else { propertiesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3; */ public Builder addProperties( int index, org.hansken.extraction.plugin.grpc.RpcTraceProperty.Builder builderForValue) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); properties_.add(index, builderForValue.build()); onChanged(); } else { propertiesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3; */ public Builder addAllProperties( java.lang.Iterable values) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, properties_); onChanged(); } else { propertiesBuilder_.addAllMessages(values); } return this; } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3; */ public Builder clearProperties() { if (propertiesBuilder_ == null) { properties_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { propertiesBuilder_.clear(); } return this; } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3; */ public Builder removeProperties(int index) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); properties_.remove(index); onChanged(); } else { propertiesBuilder_.remove(index); } return this; } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3; */ public org.hansken.extraction.plugin.grpc.RpcTraceProperty.Builder getPropertiesBuilder( int index) { return getPropertiesFieldBuilder().getBuilder(index); } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3; */ public org.hansken.extraction.plugin.grpc.RpcTracePropertyOrBuilder getPropertiesOrBuilder( int index) { if (propertiesBuilder_ == null) { return properties_.get(index); } else { return propertiesBuilder_.getMessageOrBuilder(index); } } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3; */ public java.util.List getPropertiesOrBuilderList() { if (propertiesBuilder_ != null) { return propertiesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(properties_); } } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3; */ public org.hansken.extraction.plugin.grpc.RpcTraceProperty.Builder addPropertiesBuilder() { return getPropertiesFieldBuilder().addBuilder( org.hansken.extraction.plugin.grpc.RpcTraceProperty.getDefaultInstance()); } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3; */ public org.hansken.extraction.plugin.grpc.RpcTraceProperty.Builder addPropertiesBuilder( int index) { return getPropertiesFieldBuilder().addBuilder( index, org.hansken.extraction.plugin.grpc.RpcTraceProperty.getDefaultInstance()); } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTraceProperty properties = 3; */ public java.util.List getPropertiesBuilderList() { return getPropertiesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.hansken.extraction.plugin.grpc.RpcTraceProperty, org.hansken.extraction.plugin.grpc.RpcTraceProperty.Builder, org.hansken.extraction.plugin.grpc.RpcTracePropertyOrBuilder> getPropertiesFieldBuilder() { if (propertiesBuilder_ == null) { propertiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.hansken.extraction.plugin.grpc.RpcTraceProperty, org.hansken.extraction.plugin.grpc.RpcTraceProperty.Builder, org.hansken.extraction.plugin.grpc.RpcTracePropertyOrBuilder>( properties_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); properties_ = null; } return propertiesBuilder_; } private java.util.List tracelets_ = java.util.Collections.emptyList(); private void ensureTraceletsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { tracelets_ = new java.util.ArrayList(tracelets_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.hansken.extraction.plugin.grpc.RpcTracelet, org.hansken.extraction.plugin.grpc.RpcTracelet.Builder, org.hansken.extraction.plugin.grpc.RpcTraceletOrBuilder> traceletsBuilder_; /** * repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4; */ public java.util.List getTraceletsList() { if (traceletsBuilder_ == null) { return java.util.Collections.unmodifiableList(tracelets_); } else { return traceletsBuilder_.getMessageList(); } } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4; */ public int getTraceletsCount() { if (traceletsBuilder_ == null) { return tracelets_.size(); } else { return traceletsBuilder_.getCount(); } } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4; */ public org.hansken.extraction.plugin.grpc.RpcTracelet getTracelets(int index) { if (traceletsBuilder_ == null) { return tracelets_.get(index); } else { return traceletsBuilder_.getMessage(index); } } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4; */ public Builder setTracelets( int index, org.hansken.extraction.plugin.grpc.RpcTracelet value) { if (traceletsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTraceletsIsMutable(); tracelets_.set(index, value); onChanged(); } else { traceletsBuilder_.setMessage(index, value); } return this; } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4; */ public Builder setTracelets( int index, org.hansken.extraction.plugin.grpc.RpcTracelet.Builder builderForValue) { if (traceletsBuilder_ == null) { ensureTraceletsIsMutable(); tracelets_.set(index, builderForValue.build()); onChanged(); } else { traceletsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4; */ public Builder addTracelets(org.hansken.extraction.plugin.grpc.RpcTracelet value) { if (traceletsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTraceletsIsMutable(); tracelets_.add(value); onChanged(); } else { traceletsBuilder_.addMessage(value); } return this; } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4; */ public Builder addTracelets( int index, org.hansken.extraction.plugin.grpc.RpcTracelet value) { if (traceletsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTraceletsIsMutable(); tracelets_.add(index, value); onChanged(); } else { traceletsBuilder_.addMessage(index, value); } return this; } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4; */ public Builder addTracelets( org.hansken.extraction.plugin.grpc.RpcTracelet.Builder builderForValue) { if (traceletsBuilder_ == null) { ensureTraceletsIsMutable(); tracelets_.add(builderForValue.build()); onChanged(); } else { traceletsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4; */ public Builder addTracelets( int index, org.hansken.extraction.plugin.grpc.RpcTracelet.Builder builderForValue) { if (traceletsBuilder_ == null) { ensureTraceletsIsMutable(); tracelets_.add(index, builderForValue.build()); onChanged(); } else { traceletsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4; */ public Builder addAllTracelets( java.lang.Iterable values) { if (traceletsBuilder_ == null) { ensureTraceletsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, tracelets_); onChanged(); } else { traceletsBuilder_.addAllMessages(values); } return this; } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4; */ public Builder clearTracelets() { if (traceletsBuilder_ == null) { tracelets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { traceletsBuilder_.clear(); } return this; } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4; */ public Builder removeTracelets(int index) { if (traceletsBuilder_ == null) { ensureTraceletsIsMutable(); tracelets_.remove(index); onChanged(); } else { traceletsBuilder_.remove(index); } return this; } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4; */ public org.hansken.extraction.plugin.grpc.RpcTracelet.Builder getTraceletsBuilder( int index) { return getTraceletsFieldBuilder().getBuilder(index); } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4; */ public org.hansken.extraction.plugin.grpc.RpcTraceletOrBuilder getTraceletsOrBuilder( int index) { if (traceletsBuilder_ == null) { return tracelets_.get(index); } else { return traceletsBuilder_.getMessageOrBuilder(index); } } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4; */ public java.util.List getTraceletsOrBuilderList() { if (traceletsBuilder_ != null) { return traceletsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(tracelets_); } } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4; */ public org.hansken.extraction.plugin.grpc.RpcTracelet.Builder addTraceletsBuilder() { return getTraceletsFieldBuilder().addBuilder( org.hansken.extraction.plugin.grpc.RpcTracelet.getDefaultInstance()); } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4; */ public org.hansken.extraction.plugin.grpc.RpcTracelet.Builder addTraceletsBuilder( int index) { return getTraceletsFieldBuilder().addBuilder( index, org.hansken.extraction.plugin.grpc.RpcTracelet.getDefaultInstance()); } /** * repeated .org.hansken.extraction.plugin.grpc.RpcTracelet tracelets = 4; */ public java.util.List getTraceletsBuilderList() { return getTraceletsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.hansken.extraction.plugin.grpc.RpcTracelet, org.hansken.extraction.plugin.grpc.RpcTracelet.Builder, org.hansken.extraction.plugin.grpc.RpcTraceletOrBuilder> getTraceletsFieldBuilder() { if (traceletsBuilder_ == null) { traceletsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.hansken.extraction.plugin.grpc.RpcTracelet, org.hansken.extraction.plugin.grpc.RpcTracelet.Builder, org.hansken.extraction.plugin.grpc.RpcTraceletOrBuilder>( tracelets_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); tracelets_ = null; } return traceletsBuilder_; } private java.util.List transformations_ = java.util.Collections.emptyList(); private void ensureTransformationsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { transformations_ = new java.util.ArrayList(transformations_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation, org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation.Builder, org.hansken.extraction.plugin.grpc.RpcDataStreamTransformationOrBuilder> transformationsBuilder_; /** * repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5; */ public java.util.List getTransformationsList() { if (transformationsBuilder_ == null) { return java.util.Collections.unmodifiableList(transformations_); } else { return transformationsBuilder_.getMessageList(); } } /** * repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5; */ public int getTransformationsCount() { if (transformationsBuilder_ == null) { return transformations_.size(); } else { return transformationsBuilder_.getCount(); } } /** * repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5; */ public org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation getTransformations(int index) { if (transformationsBuilder_ == null) { return transformations_.get(index); } else { return transformationsBuilder_.getMessage(index); } } /** * repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5; */ public Builder setTransformations( int index, org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation value) { if (transformationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTransformationsIsMutable(); transformations_.set(index, value); onChanged(); } else { transformationsBuilder_.setMessage(index, value); } return this; } /** * repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5; */ public Builder setTransformations( int index, org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation.Builder builderForValue) { if (transformationsBuilder_ == null) { ensureTransformationsIsMutable(); transformations_.set(index, builderForValue.build()); onChanged(); } else { transformationsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5; */ public Builder addTransformations(org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation value) { if (transformationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTransformationsIsMutable(); transformations_.add(value); onChanged(); } else { transformationsBuilder_.addMessage(value); } return this; } /** * repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5; */ public Builder addTransformations( int index, org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation value) { if (transformationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTransformationsIsMutable(); transformations_.add(index, value); onChanged(); } else { transformationsBuilder_.addMessage(index, value); } return this; } /** * repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5; */ public Builder addTransformations( org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation.Builder builderForValue) { if (transformationsBuilder_ == null) { ensureTransformationsIsMutable(); transformations_.add(builderForValue.build()); onChanged(); } else { transformationsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5; */ public Builder addTransformations( int index, org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation.Builder builderForValue) { if (transformationsBuilder_ == null) { ensureTransformationsIsMutable(); transformations_.add(index, builderForValue.build()); onChanged(); } else { transformationsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5; */ public Builder addAllTransformations( java.lang.Iterable values) { if (transformationsBuilder_ == null) { ensureTransformationsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, transformations_); onChanged(); } else { transformationsBuilder_.addAllMessages(values); } return this; } /** * repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5; */ public Builder clearTransformations() { if (transformationsBuilder_ == null) { transformations_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { transformationsBuilder_.clear(); } return this; } /** * repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5; */ public Builder removeTransformations(int index) { if (transformationsBuilder_ == null) { ensureTransformationsIsMutable(); transformations_.remove(index); onChanged(); } else { transformationsBuilder_.remove(index); } return this; } /** * repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5; */ public org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation.Builder getTransformationsBuilder( int index) { return getTransformationsFieldBuilder().getBuilder(index); } /** * repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5; */ public org.hansken.extraction.plugin.grpc.RpcDataStreamTransformationOrBuilder getTransformationsOrBuilder( int index) { if (transformationsBuilder_ == null) { return transformations_.get(index); } else { return transformationsBuilder_.getMessageOrBuilder(index); } } /** * repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5; */ public java.util.List getTransformationsOrBuilderList() { if (transformationsBuilder_ != null) { return transformationsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(transformations_); } } /** * repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5; */ public org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation.Builder addTransformationsBuilder() { return getTransformationsFieldBuilder().addBuilder( org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation.getDefaultInstance()); } /** * repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5; */ public org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation.Builder addTransformationsBuilder( int index) { return getTransformationsFieldBuilder().addBuilder( index, org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation.getDefaultInstance()); } /** * repeated .org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation transformations = 5; */ public java.util.List getTransformationsBuilderList() { return getTransformationsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation, org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation.Builder, org.hansken.extraction.plugin.grpc.RpcDataStreamTransformationOrBuilder> getTransformationsFieldBuilder() { if (transformationsBuilder_ == null) { transformationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation, org.hansken.extraction.plugin.grpc.RpcDataStreamTransformation.Builder, org.hansken.extraction.plugin.grpc.RpcDataStreamTransformationOrBuilder>( transformations_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); transformations_ = null; } return transformationsBuilder_; } @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:org.hansken.extraction.plugin.grpc.RpcTrace) } // @@protoc_insertion_point(class_scope:org.hansken.extraction.plugin.grpc.RpcTrace) private static final org.hansken.extraction.plugin.grpc.RpcTrace DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.hansken.extraction.plugin.grpc.RpcTrace(); } public static org.hansken.extraction.plugin.grpc.RpcTrace getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RpcTrace parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RpcTrace(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 org.hansken.extraction.plugin.grpc.RpcTrace getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy