@Override protected Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.ipc.protobuf.generated.TestProtos.EmptyResponseProto)) { return super.equals(obj); } org.apache.hadoop.hbase.ipc.protobuf.generated.TestProtos.EmptyResponseProto other = (org.apache.hadoop.hbase.ipc.protobuf.generated.TestProtos.EmptyResponseProto) obj; boolean result = true; result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessage.writeString(output, 1, field1_); } for (int i = 0; i < field2_.size(); i++) { output.writeMessage(2, field2_.get(i)); } unknownFields.writeTo(output); }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (type_ != protos.Chaincode.ChaincodeSpec.Type.UNDEFINED.getNumber()) { output.writeEnum(1, type_); } if (chaincodeID_ != null) { output.writeMessage(2, getChaincodeID()); } if (ctorMsg_ != null) { output.writeMessage(3, getCtorMsg()); } if (timeout_ != 0) { output.writeInt32(4, timeout_); } if (!getSecureContextBytes().isEmpty()) { com.google.protobuf.GeneratedMessage.writeString(output, 5, secureContext_); } if (confidentialityLevel_ != protos.Chaincode.ConfidentialityLevel.PUBLIC.getNumber()) { output.writeEnum(6, confidentialityLevel_); } if (!metadata_.isEmpty()) { output.writeBytes(7, metadata_); } for (int i = 0; i < attributes_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 8, attributes_.getRaw(i)); } }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < supportedContainerTypes_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 1, supportedContainerTypes_.getRaw(i)); } for (int i = 0; i < supportedChildTypes_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 2, supportedChildTypes_.getRaw(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeEnum(3, bodyType_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(4, getIndexing()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(5, preventDuplicateTitle_); } unknownFields.writeTo(output); }
public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(2, type_); } { int dataSize = 0; for (int i = 0; i < vcfFieldClass_.size(); i++) { dataSize += computeStringSizeNoTag(vcfFieldClass_.getRaw(i)); } size += dataSize; size += 1 * getVcfFieldClassList().size(); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(4, length_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; }
public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getSubscriptionBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessage.computeStringSize(1, subscription_); } if (ackDeadlineSeconds_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, ackDeadlineSeconds_); } { int dataSize = 0; for (int i = 0; i < ackIds_.size(); i++) { dataSize += computeStringSizeNoTag(ackIds_.getRaw(i)); } size += dataSize; size += 1 * getAckIdsList().size(); } memoizedSize = size; return size; }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } if (type_ != ucar.nc2.stream.NcStreamProto.Attribute.Type.STRING.getNumber()) { output.writeEnum(2, type_); } if (len_ != 0) { output.writeUInt32(3, len_); } if (!data_.isEmpty()) { output.writeBytes(4, data_); } for (int i = 0; i < sdata_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 5, sdata_.getRaw(i)); } if (unsigned_ != false) { output.writeBool(6, unsigned_); } if (dataType_ != ucar.nc2.stream.NcStreamProto.DataType.CHAR.getNumber()) { output.writeEnum(7, dataType_); } }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < members_.size(); i++) { output.writeMessage(1, members_.get(i)); } if (nrows_ != 0L) { output.writeUInt64(5, nrows_); } if (rowLength_ != 0) { output.writeUInt32(6, rowLength_); } if (!fixdata_.isEmpty()) { output.writeBytes(10, fixdata_); } for (int i = 0; i < stringdata_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 11, stringdata_.getRaw(i)); } for (int i = 0; i < bytedata_.size(); i++) { output.writeBytes(13, bytedata_.get(i)); } for (int i = 0; i < structdata_.size(); i++) { output.writeMessage(14, structdata_.get(i)); } }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.FilterProtos.PrefixFilter)) { return super.equals(obj); } org.apache.hadoop.hbase.protobuf.generated.FilterProtos.PrefixFilter other = (org.apache.hadoop.hbase.protobuf.generated.FilterProtos.PrefixFilter) obj; boolean result = true; result = result && (hasPrefix() == other.hasPrefix()); if (hasPrefix()) { result = result && getPrefix() .equals(other.getPrefix()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessage.writeString(output, 1, rawModuleKey_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessage.writeString(output, 2, url_); } for (int i = 0; i < pattern_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 3, pattern_.getRaw(i)); } unknownFields.writeTo(output); }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (loc_ != null) { output.writeMessage(1, getLoc()); } if (!data_.isEmpty()) { output.writeBytes(3, data_); } for (int i = 0; i < sdata_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 4, sdata_.getRaw(i)); } }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getSubscriptionBytes().isEmpty()) { com.google.protobuf.GeneratedMessage.writeString(output, 1, subscription_); } if (ackDeadlineSeconds_ != 0) { output.writeInt32(3, ackDeadlineSeconds_); } for (int i = 0; i < ackIds_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 4, ackIds_.getRaw(i)); } }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (timestampMicros_ != 0L) { output.writeInt64(1, timestampMicros_); } if (!value_.isEmpty()) { output.writeBytes(2, value_); } for (int i = 0; i < labels_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 3, labels_.getRaw(i)); } }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { com.google.protobuf.GeneratedMessage .ExtendableMessage<uk.os.vt.mvt.VectorTile.Tile.Layer>.ExtensionWriter extensionWriter = newExtensionWriter(); if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } for (int i = 0; i < features_.size(); i++) { output.writeMessage(2, features_.get(i)); } for (int i = 0; i < keys_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 3, keys_.getRaw(i)); } for (int i = 0; i < values_.size(); i++) { output.writeMessage(4, values_.get(i)); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt32(5, extent_); } if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(15, version_); } extensionWriter.writeUntil(536870912, output); unknownFields.writeTo(output); }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < topics_.size(); i++) { output.writeMessage(1, topics_.get(i)); } if (!getNextPageTokenBytes().isEmpty()) { com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_); } }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (isHoriz_ != false) { output.writeBool(1, isHoriz_); } if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessage.writeString(output, 2, name_); } for (int i = 0; i < params_.size(); i++) { output.writeMessage(3, params_.get(i)); } }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeEnum(1, type_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessage.writeString(output, 2, targetKey_); } unknownFields.writeTo(output); }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt64(2, length_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt64(3, tiledbColumnOffset_); } unknownFields.writeTo(output); }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getTopicBytes().isEmpty()) { com.google.protobuf.GeneratedMessage.writeString(output, 1, topic_); } if (pageSize_ != 0) { output.writeInt32(2, pageSize_); } if (!getPageTokenBytes().isEmpty()) { com.google.protobuf.GeneratedMessage.writeString(output, 3, pageToken_); } }