@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent other = (org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent) obj; boolean result = true; result = result && getChaincodeName() .equals(other.getChaincodeName()); return result; }
public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getChaincodeNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, chaincodeName_); } memoizedSize = size; return size; }
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent other) { if (other == org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent.getDefaultInstance()) return this; if (!other.getChaincodeName().isEmpty()) { chaincodeName_ = other.chaincodeName_; onChanged(); } onChanged(); return this; }
e).setUnfinishedMessage(this); } finally { makeExtensionsImmutable();
public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() {
public org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent getDefaultInstanceForType() { return org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent.getDefaultInstance(); }
public static Builder newBuilder(org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() {
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent)) { return super.equals(obj); } org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent other = (org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent) obj; boolean result = true; result = result && getChaincodeName() .equals(other.getChaincodeName()); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); hash = (37 * hash) + CHAINCODE_NAME_FIELD_NUMBER; hash = (53 * hash) + getChaincodeName().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent buildPartial() { org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent result = new org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent(this); result.chaincodeName_ = chaincodeName_; onBuilt(); return result; }
public org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent build() { org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getChaincodeNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, chaincodeName_); } memoizedSize = size; return size; }
/** * <code>optional string chaincode_name = 1;</code> */ public Builder clearChaincodeName() { chaincodeName_ = getDefaultInstance().getChaincodeName(); onChanged(); return this; } /**
public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent prototype) {
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent other) { if (other == org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent.getDefaultInstance()) return this; if (!other.getChaincodeName().isEmpty()) { chaincodeName_ = other.chaincodeName_; onChanged(); } onChanged(); return this; }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getChaincodeNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, chaincodeName_); } }
e).setUnfinishedMessage(this); } finally { makeExtensionsImmutable();
public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() {
public org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent getDefaultInstanceForType() { return org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent.getDefaultInstance(); }
public static Builder newBuilder(org.hyperledger.fabric.protos.peer.Chaincode.LifecycleEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() {