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

io.provenance.metadata.v1.MsgP8eMemorializeContractRequest Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: provenance/metadata/v1/tx.proto

package io.provenance.metadata.v1;

/**
 * 
 * MsgP8eMemorializeContractRequest is the request type for the Msg/P8eMemorializeContract RPC method.
 * 
* * Protobuf type {@code provenance.metadata.v1.MsgP8eMemorializeContractRequest} */ public final class MsgP8eMemorializeContractRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:provenance.metadata.v1.MsgP8eMemorializeContractRequest) MsgP8eMemorializeContractRequestOrBuilder { private static final long serialVersionUID = 0L; // Use MsgP8eMemorializeContractRequest.newBuilder() to construct. private MsgP8eMemorializeContractRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MsgP8eMemorializeContractRequest() { scopeId_ = ""; groupId_ = ""; scopeSpecificationId_ = ""; invoker_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MsgP8eMemorializeContractRequest( 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(); scopeId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); groupId_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); scopeSpecificationId_ = s; break; } case 34: { io.provenance.metadata.v1.p8e.Recitals.Builder subBuilder = null; if (recitals_ != null) { subBuilder = recitals_.toBuilder(); } recitals_ = input.readMessage(io.provenance.metadata.v1.p8e.Recitals.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(recitals_); recitals_ = subBuilder.buildPartial(); } break; } case 42: { io.provenance.metadata.v1.p8e.Contract.Builder subBuilder = null; if (contract_ != null) { subBuilder = contract_.toBuilder(); } contract_ = input.readMessage(io.provenance.metadata.v1.p8e.Contract.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(contract_); contract_ = subBuilder.buildPartial(); } break; } case 50: { io.provenance.metadata.v1.p8e.SignatureSet.Builder subBuilder = null; if (signatures_ != null) { subBuilder = signatures_.toBuilder(); } signatures_ = input.readMessage(io.provenance.metadata.v1.p8e.SignatureSet.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(signatures_); signatures_ = subBuilder.buildPartial(); } break; } case 58: { java.lang.String s = input.readStringRequireUtf8(); invoker_ = s; break; } default: { if (!parseUnknownFieldProto3( 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.provenance.metadata.v1.Tx.internal_static_provenance_metadata_v1_MsgP8eMemorializeContractRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.provenance.metadata.v1.Tx.internal_static_provenance_metadata_v1_MsgP8eMemorializeContractRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.provenance.metadata.v1.MsgP8eMemorializeContractRequest.class, io.provenance.metadata.v1.MsgP8eMemorializeContractRequest.Builder.class); } public static final int SCOPE_ID_FIELD_NUMBER = 1; private volatile java.lang.Object scopeId_; /** *
   * The scope id of the object being add or modified on blockchain.
   * 
* * string scope_id = 1; */ public java.lang.String getScopeId() { java.lang.Object ref = scopeId_; 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(); scopeId_ = s; return s; } } /** *
   * The scope id of the object being add or modified on blockchain.
   * 
* * string scope_id = 1; */ public com.google.protobuf.ByteString getScopeIdBytes() { java.lang.Object ref = scopeId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); scopeId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int GROUP_ID_FIELD_NUMBER = 2; private volatile java.lang.Object groupId_; /** *
   * The uuid of the contract execution.
   * 
* * string group_id = 2; */ public java.lang.String getGroupId() { java.lang.Object ref = groupId_; 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(); groupId_ = s; return s; } } /** *
   * The uuid of the contract execution.
   * 
* * string group_id = 2; */ public com.google.protobuf.ByteString getGroupIdBytes() { java.lang.Object ref = groupId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); groupId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SCOPE_SPECIFICATION_ID_FIELD_NUMBER = 3; private volatile java.lang.Object scopeSpecificationId_; /** *
   * The scope specification id.
   * 
* * string scope_specification_id = 3; */ public java.lang.String getScopeSpecificationId() { java.lang.Object ref = scopeSpecificationId_; 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(); scopeSpecificationId_ = s; return s; } } /** *
   * The scope specification id.
   * 
* * string scope_specification_id = 3; */ public com.google.protobuf.ByteString getScopeSpecificationIdBytes() { java.lang.Object ref = scopeSpecificationId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); scopeSpecificationId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RECITALS_FIELD_NUMBER = 4; private io.provenance.metadata.v1.p8e.Recitals recitals_; /** *
   * The new recitals for the scope.  Used in leu of Contract for direct ownership changes.
   * 
* * .provenance.metadata.v1.p8e.Recitals recitals = 4; */ public boolean hasRecitals() { return recitals_ != null; } /** *
   * The new recitals for the scope.  Used in leu of Contract for direct ownership changes.
   * 
* * .provenance.metadata.v1.p8e.Recitals recitals = 4; */ public io.provenance.metadata.v1.p8e.Recitals getRecitals() { return recitals_ == null ? io.provenance.metadata.v1.p8e.Recitals.getDefaultInstance() : recitals_; } /** *
   * The new recitals for the scope.  Used in leu of Contract for direct ownership changes.
   * 
* * .provenance.metadata.v1.p8e.Recitals recitals = 4; */ public io.provenance.metadata.v1.p8e.RecitalsOrBuilder getRecitalsOrBuilder() { return getRecitals(); } public static final int CONTRACT_FIELD_NUMBER = 5; private io.provenance.metadata.v1.p8e.Contract contract_; /** *
   * The executed contract.
   * 
* * .provenance.metadata.v1.p8e.Contract contract = 5; */ public boolean hasContract() { return contract_ != null; } /** *
   * The executed contract.
   * 
* * .provenance.metadata.v1.p8e.Contract contract = 5; */ public io.provenance.metadata.v1.p8e.Contract getContract() { return contract_ == null ? io.provenance.metadata.v1.p8e.Contract.getDefaultInstance() : contract_; } /** *
   * The executed contract.
   * 
* * .provenance.metadata.v1.p8e.Contract contract = 5; */ public io.provenance.metadata.v1.p8e.ContractOrBuilder getContractOrBuilder() { return getContract(); } public static final int SIGNATURES_FIELD_NUMBER = 6; private io.provenance.metadata.v1.p8e.SignatureSet signatures_; /** *
   * The contract signatures
   * 
* * .provenance.metadata.v1.p8e.SignatureSet signatures = 6; */ public boolean hasSignatures() { return signatures_ != null; } /** *
   * The contract signatures
   * 
* * .provenance.metadata.v1.p8e.SignatureSet signatures = 6; */ public io.provenance.metadata.v1.p8e.SignatureSet getSignatures() { return signatures_ == null ? io.provenance.metadata.v1.p8e.SignatureSet.getDefaultInstance() : signatures_; } /** *
   * The contract signatures
   * 
* * .provenance.metadata.v1.p8e.SignatureSet signatures = 6; */ public io.provenance.metadata.v1.p8e.SignatureSetOrBuilder getSignaturesOrBuilder() { return getSignatures(); } public static final int INVOKER_FIELD_NUMBER = 7; private volatile java.lang.Object invoker_; /** *
   * The bech32 address of the notary (ie the broadcaster of this message).
   * 
* * string invoker = 7; */ public java.lang.String getInvoker() { java.lang.Object ref = invoker_; 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(); invoker_ = s; return s; } } /** *
   * The bech32 address of the notary (ie the broadcaster of this message).
   * 
* * string invoker = 7; */ public com.google.protobuf.ByteString getInvokerBytes() { java.lang.Object ref = invoker_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); invoker_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 (!getScopeIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, scopeId_); } if (!getGroupIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, groupId_); } if (!getScopeSpecificationIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, scopeSpecificationId_); } if (recitals_ != null) { output.writeMessage(4, getRecitals()); } if (contract_ != null) { output.writeMessage(5, getContract()); } if (signatures_ != null) { output.writeMessage(6, getSignatures()); } if (!getInvokerBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, invoker_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getScopeIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, scopeId_); } if (!getGroupIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, groupId_); } if (!getScopeSpecificationIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, scopeSpecificationId_); } if (recitals_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getRecitals()); } if (contract_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getContract()); } if (signatures_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getSignatures()); } if (!getInvokerBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, invoker_); } 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 io.provenance.metadata.v1.MsgP8eMemorializeContractRequest)) { return super.equals(obj); } io.provenance.metadata.v1.MsgP8eMemorializeContractRequest other = (io.provenance.metadata.v1.MsgP8eMemorializeContractRequest) obj; boolean result = true; result = result && getScopeId() .equals(other.getScopeId()); result = result && getGroupId() .equals(other.getGroupId()); result = result && getScopeSpecificationId() .equals(other.getScopeSpecificationId()); result = result && (hasRecitals() == other.hasRecitals()); if (hasRecitals()) { result = result && getRecitals() .equals(other.getRecitals()); } result = result && (hasContract() == other.hasContract()); if (hasContract()) { result = result && getContract() .equals(other.getContract()); } result = result && (hasSignatures() == other.hasSignatures()); if (hasSignatures()) { result = result && getSignatures() .equals(other.getSignatures()); } result = result && getInvoker() .equals(other.getInvoker()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SCOPE_ID_FIELD_NUMBER; hash = (53 * hash) + getScopeId().hashCode(); hash = (37 * hash) + GROUP_ID_FIELD_NUMBER; hash = (53 * hash) + getGroupId().hashCode(); hash = (37 * hash) + SCOPE_SPECIFICATION_ID_FIELD_NUMBER; hash = (53 * hash) + getScopeSpecificationId().hashCode(); if (hasRecitals()) { hash = (37 * hash) + RECITALS_FIELD_NUMBER; hash = (53 * hash) + getRecitals().hashCode(); } if (hasContract()) { hash = (37 * hash) + CONTRACT_FIELD_NUMBER; hash = (53 * hash) + getContract().hashCode(); } if (hasSignatures()) { hash = (37 * hash) + SIGNATURES_FIELD_NUMBER; hash = (53 * hash) + getSignatures().hashCode(); } hash = (37 * hash) + INVOKER_FIELD_NUMBER; hash = (53 * hash) + getInvoker().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.provenance.metadata.v1.MsgP8eMemorializeContractRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.provenance.metadata.v1.MsgP8eMemorializeContractRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.provenance.metadata.v1.MsgP8eMemorializeContractRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.provenance.metadata.v1.MsgP8eMemorializeContractRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.provenance.metadata.v1.MsgP8eMemorializeContractRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.provenance.metadata.v1.MsgP8eMemorializeContractRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.provenance.metadata.v1.MsgP8eMemorializeContractRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.provenance.metadata.v1.MsgP8eMemorializeContractRequest 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 io.provenance.metadata.v1.MsgP8eMemorializeContractRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.provenance.metadata.v1.MsgP8eMemorializeContractRequest 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 io.provenance.metadata.v1.MsgP8eMemorializeContractRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.provenance.metadata.v1.MsgP8eMemorializeContractRequest 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(io.provenance.metadata.v1.MsgP8eMemorializeContractRequest 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; } /** *
   * MsgP8eMemorializeContractRequest is the request type for the Msg/P8eMemorializeContract RPC method.
   * 
* * Protobuf type {@code provenance.metadata.v1.MsgP8eMemorializeContractRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:provenance.metadata.v1.MsgP8eMemorializeContractRequest) io.provenance.metadata.v1.MsgP8eMemorializeContractRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.provenance.metadata.v1.Tx.internal_static_provenance_metadata_v1_MsgP8eMemorializeContractRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.provenance.metadata.v1.Tx.internal_static_provenance_metadata_v1_MsgP8eMemorializeContractRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.provenance.metadata.v1.MsgP8eMemorializeContractRequest.class, io.provenance.metadata.v1.MsgP8eMemorializeContractRequest.Builder.class); } // Construct using io.provenance.metadata.v1.MsgP8eMemorializeContractRequest.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(); scopeId_ = ""; groupId_ = ""; scopeSpecificationId_ = ""; if (recitalsBuilder_ == null) { recitals_ = null; } else { recitals_ = null; recitalsBuilder_ = null; } if (contractBuilder_ == null) { contract_ = null; } else { contract_ = null; contractBuilder_ = null; } if (signaturesBuilder_ == null) { signatures_ = null; } else { signatures_ = null; signaturesBuilder_ = null; } invoker_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.provenance.metadata.v1.Tx.internal_static_provenance_metadata_v1_MsgP8eMemorializeContractRequest_descriptor; } @java.lang.Override public io.provenance.metadata.v1.MsgP8eMemorializeContractRequest getDefaultInstanceForType() { return io.provenance.metadata.v1.MsgP8eMemorializeContractRequest.getDefaultInstance(); } @java.lang.Override public io.provenance.metadata.v1.MsgP8eMemorializeContractRequest build() { io.provenance.metadata.v1.MsgP8eMemorializeContractRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.provenance.metadata.v1.MsgP8eMemorializeContractRequest buildPartial() { io.provenance.metadata.v1.MsgP8eMemorializeContractRequest result = new io.provenance.metadata.v1.MsgP8eMemorializeContractRequest(this); result.scopeId_ = scopeId_; result.groupId_ = groupId_; result.scopeSpecificationId_ = scopeSpecificationId_; if (recitalsBuilder_ == null) { result.recitals_ = recitals_; } else { result.recitals_ = recitalsBuilder_.build(); } if (contractBuilder_ == null) { result.contract_ = contract_; } else { result.contract_ = contractBuilder_.build(); } if (signaturesBuilder_ == null) { result.signatures_ = signatures_; } else { result.signatures_ = signaturesBuilder_.build(); } result.invoker_ = invoker_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.provenance.metadata.v1.MsgP8eMemorializeContractRequest) { return mergeFrom((io.provenance.metadata.v1.MsgP8eMemorializeContractRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.provenance.metadata.v1.MsgP8eMemorializeContractRequest other) { if (other == io.provenance.metadata.v1.MsgP8eMemorializeContractRequest.getDefaultInstance()) return this; if (!other.getScopeId().isEmpty()) { scopeId_ = other.scopeId_; onChanged(); } if (!other.getGroupId().isEmpty()) { groupId_ = other.groupId_; onChanged(); } if (!other.getScopeSpecificationId().isEmpty()) { scopeSpecificationId_ = other.scopeSpecificationId_; onChanged(); } if (other.hasRecitals()) { mergeRecitals(other.getRecitals()); } if (other.hasContract()) { mergeContract(other.getContract()); } if (other.hasSignatures()) { mergeSignatures(other.getSignatures()); } if (!other.getInvoker().isEmpty()) { invoker_ = other.invoker_; onChanged(); } 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 { io.provenance.metadata.v1.MsgP8eMemorializeContractRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.provenance.metadata.v1.MsgP8eMemorializeContractRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object scopeId_ = ""; /** *
     * The scope id of the object being add or modified on blockchain.
     * 
* * string scope_id = 1; */ public java.lang.String getScopeId() { java.lang.Object ref = scopeId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scopeId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * The scope id of the object being add or modified on blockchain.
     * 
* * string scope_id = 1; */ public com.google.protobuf.ByteString getScopeIdBytes() { java.lang.Object ref = scopeId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); scopeId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * The scope id of the object being add or modified on blockchain.
     * 
* * string scope_id = 1; */ public Builder setScopeId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } scopeId_ = value; onChanged(); return this; } /** *
     * The scope id of the object being add or modified on blockchain.
     * 
* * string scope_id = 1; */ public Builder clearScopeId() { scopeId_ = getDefaultInstance().getScopeId(); onChanged(); return this; } /** *
     * The scope id of the object being add or modified on blockchain.
     * 
* * string scope_id = 1; */ public Builder setScopeIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); scopeId_ = value; onChanged(); return this; } private java.lang.Object groupId_ = ""; /** *
     * The uuid of the contract execution.
     * 
* * string group_id = 2; */ public java.lang.String getGroupId() { java.lang.Object ref = groupId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); groupId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * The uuid of the contract execution.
     * 
* * string group_id = 2; */ public com.google.protobuf.ByteString getGroupIdBytes() { java.lang.Object ref = groupId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); groupId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * The uuid of the contract execution.
     * 
* * string group_id = 2; */ public Builder setGroupId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } groupId_ = value; onChanged(); return this; } /** *
     * The uuid of the contract execution.
     * 
* * string group_id = 2; */ public Builder clearGroupId() { groupId_ = getDefaultInstance().getGroupId(); onChanged(); return this; } /** *
     * The uuid of the contract execution.
     * 
* * string group_id = 2; */ public Builder setGroupIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); groupId_ = value; onChanged(); return this; } private java.lang.Object scopeSpecificationId_ = ""; /** *
     * The scope specification id.
     * 
* * string scope_specification_id = 3; */ public java.lang.String getScopeSpecificationId() { java.lang.Object ref = scopeSpecificationId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scopeSpecificationId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * The scope specification id.
     * 
* * string scope_specification_id = 3; */ public com.google.protobuf.ByteString getScopeSpecificationIdBytes() { java.lang.Object ref = scopeSpecificationId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); scopeSpecificationId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * The scope specification id.
     * 
* * string scope_specification_id = 3; */ public Builder setScopeSpecificationId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } scopeSpecificationId_ = value; onChanged(); return this; } /** *
     * The scope specification id.
     * 
* * string scope_specification_id = 3; */ public Builder clearScopeSpecificationId() { scopeSpecificationId_ = getDefaultInstance().getScopeSpecificationId(); onChanged(); return this; } /** *
     * The scope specification id.
     * 
* * string scope_specification_id = 3; */ public Builder setScopeSpecificationIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); scopeSpecificationId_ = value; onChanged(); return this; } private io.provenance.metadata.v1.p8e.Recitals recitals_ = null; private com.google.protobuf.SingleFieldBuilderV3< io.provenance.metadata.v1.p8e.Recitals, io.provenance.metadata.v1.p8e.Recitals.Builder, io.provenance.metadata.v1.p8e.RecitalsOrBuilder> recitalsBuilder_; /** *
     * The new recitals for the scope.  Used in leu of Contract for direct ownership changes.
     * 
* * .provenance.metadata.v1.p8e.Recitals recitals = 4; */ public boolean hasRecitals() { return recitalsBuilder_ != null || recitals_ != null; } /** *
     * The new recitals for the scope.  Used in leu of Contract for direct ownership changes.
     * 
* * .provenance.metadata.v1.p8e.Recitals recitals = 4; */ public io.provenance.metadata.v1.p8e.Recitals getRecitals() { if (recitalsBuilder_ == null) { return recitals_ == null ? io.provenance.metadata.v1.p8e.Recitals.getDefaultInstance() : recitals_; } else { return recitalsBuilder_.getMessage(); } } /** *
     * The new recitals for the scope.  Used in leu of Contract for direct ownership changes.
     * 
* * .provenance.metadata.v1.p8e.Recitals recitals = 4; */ public Builder setRecitals(io.provenance.metadata.v1.p8e.Recitals value) { if (recitalsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } recitals_ = value; onChanged(); } else { recitalsBuilder_.setMessage(value); } return this; } /** *
     * The new recitals for the scope.  Used in leu of Contract for direct ownership changes.
     * 
* * .provenance.metadata.v1.p8e.Recitals recitals = 4; */ public Builder setRecitals( io.provenance.metadata.v1.p8e.Recitals.Builder builderForValue) { if (recitalsBuilder_ == null) { recitals_ = builderForValue.build(); onChanged(); } else { recitalsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * The new recitals for the scope.  Used in leu of Contract for direct ownership changes.
     * 
* * .provenance.metadata.v1.p8e.Recitals recitals = 4; */ public Builder mergeRecitals(io.provenance.metadata.v1.p8e.Recitals value) { if (recitalsBuilder_ == null) { if (recitals_ != null) { recitals_ = io.provenance.metadata.v1.p8e.Recitals.newBuilder(recitals_).mergeFrom(value).buildPartial(); } else { recitals_ = value; } onChanged(); } else { recitalsBuilder_.mergeFrom(value); } return this; } /** *
     * The new recitals for the scope.  Used in leu of Contract for direct ownership changes.
     * 
* * .provenance.metadata.v1.p8e.Recitals recitals = 4; */ public Builder clearRecitals() { if (recitalsBuilder_ == null) { recitals_ = null; onChanged(); } else { recitals_ = null; recitalsBuilder_ = null; } return this; } /** *
     * The new recitals for the scope.  Used in leu of Contract for direct ownership changes.
     * 
* * .provenance.metadata.v1.p8e.Recitals recitals = 4; */ public io.provenance.metadata.v1.p8e.Recitals.Builder getRecitalsBuilder() { onChanged(); return getRecitalsFieldBuilder().getBuilder(); } /** *
     * The new recitals for the scope.  Used in leu of Contract for direct ownership changes.
     * 
* * .provenance.metadata.v1.p8e.Recitals recitals = 4; */ public io.provenance.metadata.v1.p8e.RecitalsOrBuilder getRecitalsOrBuilder() { if (recitalsBuilder_ != null) { return recitalsBuilder_.getMessageOrBuilder(); } else { return recitals_ == null ? io.provenance.metadata.v1.p8e.Recitals.getDefaultInstance() : recitals_; } } /** *
     * The new recitals for the scope.  Used in leu of Contract for direct ownership changes.
     * 
* * .provenance.metadata.v1.p8e.Recitals recitals = 4; */ private com.google.protobuf.SingleFieldBuilderV3< io.provenance.metadata.v1.p8e.Recitals, io.provenance.metadata.v1.p8e.Recitals.Builder, io.provenance.metadata.v1.p8e.RecitalsOrBuilder> getRecitalsFieldBuilder() { if (recitalsBuilder_ == null) { recitalsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.provenance.metadata.v1.p8e.Recitals, io.provenance.metadata.v1.p8e.Recitals.Builder, io.provenance.metadata.v1.p8e.RecitalsOrBuilder>( getRecitals(), getParentForChildren(), isClean()); recitals_ = null; } return recitalsBuilder_; } private io.provenance.metadata.v1.p8e.Contract contract_ = null; private com.google.protobuf.SingleFieldBuilderV3< io.provenance.metadata.v1.p8e.Contract, io.provenance.metadata.v1.p8e.Contract.Builder, io.provenance.metadata.v1.p8e.ContractOrBuilder> contractBuilder_; /** *
     * The executed contract.
     * 
* * .provenance.metadata.v1.p8e.Contract contract = 5; */ public boolean hasContract() { return contractBuilder_ != null || contract_ != null; } /** *
     * The executed contract.
     * 
* * .provenance.metadata.v1.p8e.Contract contract = 5; */ public io.provenance.metadata.v1.p8e.Contract getContract() { if (contractBuilder_ == null) { return contract_ == null ? io.provenance.metadata.v1.p8e.Contract.getDefaultInstance() : contract_; } else { return contractBuilder_.getMessage(); } } /** *
     * The executed contract.
     * 
* * .provenance.metadata.v1.p8e.Contract contract = 5; */ public Builder setContract(io.provenance.metadata.v1.p8e.Contract value) { if (contractBuilder_ == null) { if (value == null) { throw new NullPointerException(); } contract_ = value; onChanged(); } else { contractBuilder_.setMessage(value); } return this; } /** *
     * The executed contract.
     * 
* * .provenance.metadata.v1.p8e.Contract contract = 5; */ public Builder setContract( io.provenance.metadata.v1.p8e.Contract.Builder builderForValue) { if (contractBuilder_ == null) { contract_ = builderForValue.build(); onChanged(); } else { contractBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * The executed contract.
     * 
* * .provenance.metadata.v1.p8e.Contract contract = 5; */ public Builder mergeContract(io.provenance.metadata.v1.p8e.Contract value) { if (contractBuilder_ == null) { if (contract_ != null) { contract_ = io.provenance.metadata.v1.p8e.Contract.newBuilder(contract_).mergeFrom(value).buildPartial(); } else { contract_ = value; } onChanged(); } else { contractBuilder_.mergeFrom(value); } return this; } /** *
     * The executed contract.
     * 
* * .provenance.metadata.v1.p8e.Contract contract = 5; */ public Builder clearContract() { if (contractBuilder_ == null) { contract_ = null; onChanged(); } else { contract_ = null; contractBuilder_ = null; } return this; } /** *
     * The executed contract.
     * 
* * .provenance.metadata.v1.p8e.Contract contract = 5; */ public io.provenance.metadata.v1.p8e.Contract.Builder getContractBuilder() { onChanged(); return getContractFieldBuilder().getBuilder(); } /** *
     * The executed contract.
     * 
* * .provenance.metadata.v1.p8e.Contract contract = 5; */ public io.provenance.metadata.v1.p8e.ContractOrBuilder getContractOrBuilder() { if (contractBuilder_ != null) { return contractBuilder_.getMessageOrBuilder(); } else { return contract_ == null ? io.provenance.metadata.v1.p8e.Contract.getDefaultInstance() : contract_; } } /** *
     * The executed contract.
     * 
* * .provenance.metadata.v1.p8e.Contract contract = 5; */ private com.google.protobuf.SingleFieldBuilderV3< io.provenance.metadata.v1.p8e.Contract, io.provenance.metadata.v1.p8e.Contract.Builder, io.provenance.metadata.v1.p8e.ContractOrBuilder> getContractFieldBuilder() { if (contractBuilder_ == null) { contractBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.provenance.metadata.v1.p8e.Contract, io.provenance.metadata.v1.p8e.Contract.Builder, io.provenance.metadata.v1.p8e.ContractOrBuilder>( getContract(), getParentForChildren(), isClean()); contract_ = null; } return contractBuilder_; } private io.provenance.metadata.v1.p8e.SignatureSet signatures_ = null; private com.google.protobuf.SingleFieldBuilderV3< io.provenance.metadata.v1.p8e.SignatureSet, io.provenance.metadata.v1.p8e.SignatureSet.Builder, io.provenance.metadata.v1.p8e.SignatureSetOrBuilder> signaturesBuilder_; /** *
     * The contract signatures
     * 
* * .provenance.metadata.v1.p8e.SignatureSet signatures = 6; */ public boolean hasSignatures() { return signaturesBuilder_ != null || signatures_ != null; } /** *
     * The contract signatures
     * 
* * .provenance.metadata.v1.p8e.SignatureSet signatures = 6; */ public io.provenance.metadata.v1.p8e.SignatureSet getSignatures() { if (signaturesBuilder_ == null) { return signatures_ == null ? io.provenance.metadata.v1.p8e.SignatureSet.getDefaultInstance() : signatures_; } else { return signaturesBuilder_.getMessage(); } } /** *
     * The contract signatures
     * 
* * .provenance.metadata.v1.p8e.SignatureSet signatures = 6; */ public Builder setSignatures(io.provenance.metadata.v1.p8e.SignatureSet value) { if (signaturesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } signatures_ = value; onChanged(); } else { signaturesBuilder_.setMessage(value); } return this; } /** *
     * The contract signatures
     * 
* * .provenance.metadata.v1.p8e.SignatureSet signatures = 6; */ public Builder setSignatures( io.provenance.metadata.v1.p8e.SignatureSet.Builder builderForValue) { if (signaturesBuilder_ == null) { signatures_ = builderForValue.build(); onChanged(); } else { signaturesBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * The contract signatures
     * 
* * .provenance.metadata.v1.p8e.SignatureSet signatures = 6; */ public Builder mergeSignatures(io.provenance.metadata.v1.p8e.SignatureSet value) { if (signaturesBuilder_ == null) { if (signatures_ != null) { signatures_ = io.provenance.metadata.v1.p8e.SignatureSet.newBuilder(signatures_).mergeFrom(value).buildPartial(); } else { signatures_ = value; } onChanged(); } else { signaturesBuilder_.mergeFrom(value); } return this; } /** *
     * The contract signatures
     * 
* * .provenance.metadata.v1.p8e.SignatureSet signatures = 6; */ public Builder clearSignatures() { if (signaturesBuilder_ == null) { signatures_ = null; onChanged(); } else { signatures_ = null; signaturesBuilder_ = null; } return this; } /** *
     * The contract signatures
     * 
* * .provenance.metadata.v1.p8e.SignatureSet signatures = 6; */ public io.provenance.metadata.v1.p8e.SignatureSet.Builder getSignaturesBuilder() { onChanged(); return getSignaturesFieldBuilder().getBuilder(); } /** *
     * The contract signatures
     * 
* * .provenance.metadata.v1.p8e.SignatureSet signatures = 6; */ public io.provenance.metadata.v1.p8e.SignatureSetOrBuilder getSignaturesOrBuilder() { if (signaturesBuilder_ != null) { return signaturesBuilder_.getMessageOrBuilder(); } else { return signatures_ == null ? io.provenance.metadata.v1.p8e.SignatureSet.getDefaultInstance() : signatures_; } } /** *
     * The contract signatures
     * 
* * .provenance.metadata.v1.p8e.SignatureSet signatures = 6; */ private com.google.protobuf.SingleFieldBuilderV3< io.provenance.metadata.v1.p8e.SignatureSet, io.provenance.metadata.v1.p8e.SignatureSet.Builder, io.provenance.metadata.v1.p8e.SignatureSetOrBuilder> getSignaturesFieldBuilder() { if (signaturesBuilder_ == null) { signaturesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.provenance.metadata.v1.p8e.SignatureSet, io.provenance.metadata.v1.p8e.SignatureSet.Builder, io.provenance.metadata.v1.p8e.SignatureSetOrBuilder>( getSignatures(), getParentForChildren(), isClean()); signatures_ = null; } return signaturesBuilder_; } private java.lang.Object invoker_ = ""; /** *
     * The bech32 address of the notary (ie the broadcaster of this message).
     * 
* * string invoker = 7; */ public java.lang.String getInvoker() { java.lang.Object ref = invoker_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); invoker_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * The bech32 address of the notary (ie the broadcaster of this message).
     * 
* * string invoker = 7; */ public com.google.protobuf.ByteString getInvokerBytes() { java.lang.Object ref = invoker_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); invoker_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * The bech32 address of the notary (ie the broadcaster of this message).
     * 
* * string invoker = 7; */ public Builder setInvoker( java.lang.String value) { if (value == null) { throw new NullPointerException(); } invoker_ = value; onChanged(); return this; } /** *
     * The bech32 address of the notary (ie the broadcaster of this message).
     * 
* * string invoker = 7; */ public Builder clearInvoker() { invoker_ = getDefaultInstance().getInvoker(); onChanged(); return this; } /** *
     * The bech32 address of the notary (ie the broadcaster of this message).
     * 
* * string invoker = 7; */ public Builder setInvokerBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); invoker_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:provenance.metadata.v1.MsgP8eMemorializeContractRequest) } // @@protoc_insertion_point(class_scope:provenance.metadata.v1.MsgP8eMemorializeContractRequest) private static final io.provenance.metadata.v1.MsgP8eMemorializeContractRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.provenance.metadata.v1.MsgP8eMemorializeContractRequest(); } public static io.provenance.metadata.v1.MsgP8eMemorializeContractRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MsgP8eMemorializeContractRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MsgP8eMemorializeContractRequest(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 io.provenance.metadata.v1.MsgP8eMemorializeContractRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy