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

io.bloombox.schema.services.ledger.v1beta1.AssetCreate Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2019, Momentum Ideas, Co. All rights reserved.
 *
 * Source and object computer code contained herein is the private intellectual
 * property of Momentum Ideas Co., a Delaware Corporation. Use of this
 * code in source form requires permission in writing before use or the
 * assembly, distribution, or publishing of derivative works, for commercial
 * purposes or any other purpose, from a duly authorized officer of Momentum
 * Ideas Co.
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: ledger/v1beta1/LedgerService_Beta1.proto

package io.bloombox.schema.services.ledger.v1beta1;

/**
 * 
 * Specifies an RPC request and response structure, and encapsulating operation, for a CREATE-type transaction atop a
 * distributed ledger or blockchain. This facilitates the creation or issuance of assets.
 * 
* * Protobuf type {@code bloombox.services.ledger.v1beta1.AssetCreate} */ public final class AssetCreate extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:bloombox.services.ledger.v1beta1.AssetCreate) AssetCreateOrBuilder { private static final long serialVersionUID = 0L; // Use AssetCreate.newBuilder() to construct. private AssetCreate(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AssetCreate() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AssetCreate( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.bloombox.schema.services.ledger.v1beta1.LedgerServiceBeta1.internal_static_bloombox_services_ledger_v1beta1_AssetCreate_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.services.ledger.v1beta1.LedgerServiceBeta1.internal_static_bloombox_services_ledger_v1beta1_AssetCreate_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.services.ledger.v1beta1.AssetCreate.class, io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Builder.class); } public interface RequestOrBuilder extends // @@protoc_insertion_point(interface_extends:bloombox.services.ledger.v1beta1.AssetCreate.Request) com.google.protobuf.MessageOrBuilder { /** *
     * Specifies a payload containing a CREATE transaction.
     * 
* * .bloombox.ledger.CreateOperation op = 1; */ boolean hasOp(); /** *
     * Specifies a payload containing a CREATE transaction.
     * 
* * .bloombox.ledger.CreateOperation op = 1; */ io.bloombox.schema.ledger.Transactions.CreateOperation getOp(); /** *
     * Specifies a payload containing a CREATE transaction.
     * 
* * .bloombox.ledger.CreateOperation op = 1; */ io.bloombox.schema.ledger.Transactions.CreateOperationOrBuilder getOpOrBuilder(); } /** *
   * Specifies a request to perform a CREATE transaction.
   * 
* * Protobuf type {@code bloombox.services.ledger.v1beta1.AssetCreate.Request} */ public static final class Request extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:bloombox.services.ledger.v1beta1.AssetCreate.Request) RequestOrBuilder { private static final long serialVersionUID = 0L; // Use Request.newBuilder() to construct. private Request(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Request() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Request( 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: { io.bloombox.schema.ledger.Transactions.CreateOperation.Builder subBuilder = null; if (op_ != null) { subBuilder = op_.toBuilder(); } op_ = input.readMessage(io.bloombox.schema.ledger.Transactions.CreateOperation.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(op_); op_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.bloombox.schema.services.ledger.v1beta1.LedgerServiceBeta1.internal_static_bloombox_services_ledger_v1beta1_AssetCreate_Request_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.services.ledger.v1beta1.LedgerServiceBeta1.internal_static_bloombox_services_ledger_v1beta1_AssetCreate_Request_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request.class, io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request.Builder.class); } public static final int OP_FIELD_NUMBER = 1; private io.bloombox.schema.ledger.Transactions.CreateOperation op_; /** *
     * Specifies a payload containing a CREATE transaction.
     * 
* * .bloombox.ledger.CreateOperation op = 1; */ public boolean hasOp() { return op_ != null; } /** *
     * Specifies a payload containing a CREATE transaction.
     * 
* * .bloombox.ledger.CreateOperation op = 1; */ public io.bloombox.schema.ledger.Transactions.CreateOperation getOp() { return op_ == null ? io.bloombox.schema.ledger.Transactions.CreateOperation.getDefaultInstance() : op_; } /** *
     * Specifies a payload containing a CREATE transaction.
     * 
* * .bloombox.ledger.CreateOperation op = 1; */ public io.bloombox.schema.ledger.Transactions.CreateOperationOrBuilder getOpOrBuilder() { return getOp(); } 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 (op_ != null) { output.writeMessage(1, getOp()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (op_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getOp()); } 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.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request)) { return super.equals(obj); } io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request other = (io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request) obj; if (hasOp() != other.hasOp()) return false; if (hasOp()) { if (!getOp() .equals(other.getOp())) 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(); if (hasOp()) { hash = (37 * hash) + OP_FIELD_NUMBER; hash = (53 * hash) + getOp().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request 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.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request 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.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request 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.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request 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; } /** *
     * Specifies a request to perform a CREATE transaction.
     * 
* * Protobuf type {@code bloombox.services.ledger.v1beta1.AssetCreate.Request} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:bloombox.services.ledger.v1beta1.AssetCreate.Request) io.bloombox.schema.services.ledger.v1beta1.AssetCreate.RequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.bloombox.schema.services.ledger.v1beta1.LedgerServiceBeta1.internal_static_bloombox_services_ledger_v1beta1_AssetCreate_Request_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.services.ledger.v1beta1.LedgerServiceBeta1.internal_static_bloombox_services_ledger_v1beta1_AssetCreate_Request_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request.class, io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request.Builder.class); } // Construct using io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request.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(); if (opBuilder_ == null) { op_ = null; } else { op_ = null; opBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.bloombox.schema.services.ledger.v1beta1.LedgerServiceBeta1.internal_static_bloombox_services_ledger_v1beta1_AssetCreate_Request_descriptor; } @java.lang.Override public io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request getDefaultInstanceForType() { return io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request.getDefaultInstance(); } @java.lang.Override public io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request build() { io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request buildPartial() { io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request result = new io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request(this); if (opBuilder_ == null) { result.op_ = op_; } else { result.op_ = opBuilder_.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 io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request) { return mergeFrom((io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request other) { if (other == io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request.getDefaultInstance()) return this; if (other.hasOp()) { mergeOp(other.getOp()); } 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.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private io.bloombox.schema.ledger.Transactions.CreateOperation op_; private com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.ledger.Transactions.CreateOperation, io.bloombox.schema.ledger.Transactions.CreateOperation.Builder, io.bloombox.schema.ledger.Transactions.CreateOperationOrBuilder> opBuilder_; /** *
       * Specifies a payload containing a CREATE transaction.
       * 
* * .bloombox.ledger.CreateOperation op = 1; */ public boolean hasOp() { return opBuilder_ != null || op_ != null; } /** *
       * Specifies a payload containing a CREATE transaction.
       * 
* * .bloombox.ledger.CreateOperation op = 1; */ public io.bloombox.schema.ledger.Transactions.CreateOperation getOp() { if (opBuilder_ == null) { return op_ == null ? io.bloombox.schema.ledger.Transactions.CreateOperation.getDefaultInstance() : op_; } else { return opBuilder_.getMessage(); } } /** *
       * Specifies a payload containing a CREATE transaction.
       * 
* * .bloombox.ledger.CreateOperation op = 1; */ public Builder setOp(io.bloombox.schema.ledger.Transactions.CreateOperation value) { if (opBuilder_ == null) { if (value == null) { throw new NullPointerException(); } op_ = value; onChanged(); } else { opBuilder_.setMessage(value); } return this; } /** *
       * Specifies a payload containing a CREATE transaction.
       * 
* * .bloombox.ledger.CreateOperation op = 1; */ public Builder setOp( io.bloombox.schema.ledger.Transactions.CreateOperation.Builder builderForValue) { if (opBuilder_ == null) { op_ = builderForValue.build(); onChanged(); } else { opBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Specifies a payload containing a CREATE transaction.
       * 
* * .bloombox.ledger.CreateOperation op = 1; */ public Builder mergeOp(io.bloombox.schema.ledger.Transactions.CreateOperation value) { if (opBuilder_ == null) { if (op_ != null) { op_ = io.bloombox.schema.ledger.Transactions.CreateOperation.newBuilder(op_).mergeFrom(value).buildPartial(); } else { op_ = value; } onChanged(); } else { opBuilder_.mergeFrom(value); } return this; } /** *
       * Specifies a payload containing a CREATE transaction.
       * 
* * .bloombox.ledger.CreateOperation op = 1; */ public Builder clearOp() { if (opBuilder_ == null) { op_ = null; onChanged(); } else { op_ = null; opBuilder_ = null; } return this; } /** *
       * Specifies a payload containing a CREATE transaction.
       * 
* * .bloombox.ledger.CreateOperation op = 1; */ public io.bloombox.schema.ledger.Transactions.CreateOperation.Builder getOpBuilder() { onChanged(); return getOpFieldBuilder().getBuilder(); } /** *
       * Specifies a payload containing a CREATE transaction.
       * 
* * .bloombox.ledger.CreateOperation op = 1; */ public io.bloombox.schema.ledger.Transactions.CreateOperationOrBuilder getOpOrBuilder() { if (opBuilder_ != null) { return opBuilder_.getMessageOrBuilder(); } else { return op_ == null ? io.bloombox.schema.ledger.Transactions.CreateOperation.getDefaultInstance() : op_; } } /** *
       * Specifies a payload containing a CREATE transaction.
       * 
* * .bloombox.ledger.CreateOperation op = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.ledger.Transactions.CreateOperation, io.bloombox.schema.ledger.Transactions.CreateOperation.Builder, io.bloombox.schema.ledger.Transactions.CreateOperationOrBuilder> getOpFieldBuilder() { if (opBuilder_ == null) { opBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.ledger.Transactions.CreateOperation, io.bloombox.schema.ledger.Transactions.CreateOperation.Builder, io.bloombox.schema.ledger.Transactions.CreateOperationOrBuilder>( getOp(), getParentForChildren(), isClean()); op_ = null; } return opBuilder_; } @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:bloombox.services.ledger.v1beta1.AssetCreate.Request) } // @@protoc_insertion_point(class_scope:bloombox.services.ledger.v1beta1.AssetCreate.Request) private static final io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request(); } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Request parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Request(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.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:bloombox.services.ledger.v1beta1.AssetCreate.Response) com.google.protobuf.MessageOrBuilder { /** *
     * Specifies the terminal status of the requested transaction.
     * 
* * .bloombox.services.ledger.v1beta1.TransactionStatus status = 1; */ int getStatusValue(); /** *
     * Specifies the terminal status of the requested transaction.
     * 
* * .bloombox.services.ledger.v1beta1.TransactionStatus status = 1; */ io.bloombox.schema.services.ledger.v1beta1.TransactionStatus getStatus(); /** *
     * Transaction object. Provided when the transaction has finalized.
     * 
* * .bloombox.ledger.Transaction txn = 2; */ boolean hasTxn(); /** *
     * Transaction object. Provided when the transaction has finalized.
     * 
* * .bloombox.ledger.Transaction txn = 2; */ io.bloombox.schema.ledger.Transactions.Transaction getTxn(); /** *
     * Transaction object. Provided when the transaction has finalized.
     * 
* * .bloombox.ledger.Transaction txn = 2; */ io.bloombox.schema.ledger.Transactions.TransactionOrBuilder getTxnOrBuilder(); } /** *
   * Specifies a response to a request to perform a CREATE transaction.
   * 
* * Protobuf type {@code bloombox.services.ledger.v1beta1.AssetCreate.Response} */ public static final class Response extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:bloombox.services.ledger.v1beta1.AssetCreate.Response) ResponseOrBuilder { private static final long serialVersionUID = 0L; // Use Response.newBuilder() to construct. private Response(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Response() { status_ = 0; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Response( 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 8: { int rawValue = input.readEnum(); status_ = rawValue; break; } case 18: { io.bloombox.schema.ledger.Transactions.Transaction.Builder subBuilder = null; if (txn_ != null) { subBuilder = txn_.toBuilder(); } txn_ = input.readMessage(io.bloombox.schema.ledger.Transactions.Transaction.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(txn_); txn_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.bloombox.schema.services.ledger.v1beta1.LedgerServiceBeta1.internal_static_bloombox_services_ledger_v1beta1_AssetCreate_Response_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.services.ledger.v1beta1.LedgerServiceBeta1.internal_static_bloombox_services_ledger_v1beta1_AssetCreate_Response_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response.class, io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response.Builder.class); } public static final int STATUS_FIELD_NUMBER = 1; private int status_; /** *
     * Specifies the terminal status of the requested transaction.
     * 
* * .bloombox.services.ledger.v1beta1.TransactionStatus status = 1; */ public int getStatusValue() { return status_; } /** *
     * Specifies the terminal status of the requested transaction.
     * 
* * .bloombox.services.ledger.v1beta1.TransactionStatus status = 1; */ public io.bloombox.schema.services.ledger.v1beta1.TransactionStatus getStatus() { @SuppressWarnings("deprecation") io.bloombox.schema.services.ledger.v1beta1.TransactionStatus result = io.bloombox.schema.services.ledger.v1beta1.TransactionStatus.valueOf(status_); return result == null ? io.bloombox.schema.services.ledger.v1beta1.TransactionStatus.UNRECOGNIZED : result; } public static final int TXN_FIELD_NUMBER = 2; private io.bloombox.schema.ledger.Transactions.Transaction txn_; /** *
     * Transaction object. Provided when the transaction has finalized.
     * 
* * .bloombox.ledger.Transaction txn = 2; */ public boolean hasTxn() { return txn_ != null; } /** *
     * Transaction object. Provided when the transaction has finalized.
     * 
* * .bloombox.ledger.Transaction txn = 2; */ public io.bloombox.schema.ledger.Transactions.Transaction getTxn() { return txn_ == null ? io.bloombox.schema.ledger.Transactions.Transaction.getDefaultInstance() : txn_; } /** *
     * Transaction object. Provided when the transaction has finalized.
     * 
* * .bloombox.ledger.Transaction txn = 2; */ public io.bloombox.schema.ledger.Transactions.TransactionOrBuilder getTxnOrBuilder() { return getTxn(); } 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 (status_ != io.bloombox.schema.services.ledger.v1beta1.TransactionStatus.INFLIGHT.getNumber()) { output.writeEnum(1, status_); } if (txn_ != null) { output.writeMessage(2, getTxn()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (status_ != io.bloombox.schema.services.ledger.v1beta1.TransactionStatus.INFLIGHT.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, status_); } if (txn_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getTxn()); } 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.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response)) { return super.equals(obj); } io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response other = (io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response) obj; if (status_ != other.status_) return false; if (hasTxn() != other.hasTxn()) return false; if (hasTxn()) { if (!getTxn() .equals(other.getTxn())) 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) + STATUS_FIELD_NUMBER; hash = (53 * hash) + status_; if (hasTxn()) { hash = (37 * hash) + TXN_FIELD_NUMBER; hash = (53 * hash) + getTxn().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response 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.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response 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.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response 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.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response 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; } /** *
     * Specifies a response to a request to perform a CREATE transaction.
     * 
* * Protobuf type {@code bloombox.services.ledger.v1beta1.AssetCreate.Response} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:bloombox.services.ledger.v1beta1.AssetCreate.Response) io.bloombox.schema.services.ledger.v1beta1.AssetCreate.ResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.bloombox.schema.services.ledger.v1beta1.LedgerServiceBeta1.internal_static_bloombox_services_ledger_v1beta1_AssetCreate_Response_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.services.ledger.v1beta1.LedgerServiceBeta1.internal_static_bloombox_services_ledger_v1beta1_AssetCreate_Response_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response.class, io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response.Builder.class); } // Construct using io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response.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(); status_ = 0; if (txnBuilder_ == null) { txn_ = null; } else { txn_ = null; txnBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.bloombox.schema.services.ledger.v1beta1.LedgerServiceBeta1.internal_static_bloombox_services_ledger_v1beta1_AssetCreate_Response_descriptor; } @java.lang.Override public io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response getDefaultInstanceForType() { return io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response.getDefaultInstance(); } @java.lang.Override public io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response build() { io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response buildPartial() { io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response result = new io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response(this); result.status_ = status_; if (txnBuilder_ == null) { result.txn_ = txn_; } else { result.txn_ = txnBuilder_.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 io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response) { return mergeFrom((io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response other) { if (other == io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response.getDefaultInstance()) return this; if (other.status_ != 0) { setStatusValue(other.getStatusValue()); } if (other.hasTxn()) { mergeTxn(other.getTxn()); } 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.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int status_ = 0; /** *
       * Specifies the terminal status of the requested transaction.
       * 
* * .bloombox.services.ledger.v1beta1.TransactionStatus status = 1; */ public int getStatusValue() { return status_; } /** *
       * Specifies the terminal status of the requested transaction.
       * 
* * .bloombox.services.ledger.v1beta1.TransactionStatus status = 1; */ public Builder setStatusValue(int value) { status_ = value; onChanged(); return this; } /** *
       * Specifies the terminal status of the requested transaction.
       * 
* * .bloombox.services.ledger.v1beta1.TransactionStatus status = 1; */ public io.bloombox.schema.services.ledger.v1beta1.TransactionStatus getStatus() { @SuppressWarnings("deprecation") io.bloombox.schema.services.ledger.v1beta1.TransactionStatus result = io.bloombox.schema.services.ledger.v1beta1.TransactionStatus.valueOf(status_); return result == null ? io.bloombox.schema.services.ledger.v1beta1.TransactionStatus.UNRECOGNIZED : result; } /** *
       * Specifies the terminal status of the requested transaction.
       * 
* * .bloombox.services.ledger.v1beta1.TransactionStatus status = 1; */ public Builder setStatus(io.bloombox.schema.services.ledger.v1beta1.TransactionStatus value) { if (value == null) { throw new NullPointerException(); } status_ = value.getNumber(); onChanged(); return this; } /** *
       * Specifies the terminal status of the requested transaction.
       * 
* * .bloombox.services.ledger.v1beta1.TransactionStatus status = 1; */ public Builder clearStatus() { status_ = 0; onChanged(); return this; } private io.bloombox.schema.ledger.Transactions.Transaction txn_; private com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.ledger.Transactions.Transaction, io.bloombox.schema.ledger.Transactions.Transaction.Builder, io.bloombox.schema.ledger.Transactions.TransactionOrBuilder> txnBuilder_; /** *
       * Transaction object. Provided when the transaction has finalized.
       * 
* * .bloombox.ledger.Transaction txn = 2; */ public boolean hasTxn() { return txnBuilder_ != null || txn_ != null; } /** *
       * Transaction object. Provided when the transaction has finalized.
       * 
* * .bloombox.ledger.Transaction txn = 2; */ public io.bloombox.schema.ledger.Transactions.Transaction getTxn() { if (txnBuilder_ == null) { return txn_ == null ? io.bloombox.schema.ledger.Transactions.Transaction.getDefaultInstance() : txn_; } else { return txnBuilder_.getMessage(); } } /** *
       * Transaction object. Provided when the transaction has finalized.
       * 
* * .bloombox.ledger.Transaction txn = 2; */ public Builder setTxn(io.bloombox.schema.ledger.Transactions.Transaction value) { if (txnBuilder_ == null) { if (value == null) { throw new NullPointerException(); } txn_ = value; onChanged(); } else { txnBuilder_.setMessage(value); } return this; } /** *
       * Transaction object. Provided when the transaction has finalized.
       * 
* * .bloombox.ledger.Transaction txn = 2; */ public Builder setTxn( io.bloombox.schema.ledger.Transactions.Transaction.Builder builderForValue) { if (txnBuilder_ == null) { txn_ = builderForValue.build(); onChanged(); } else { txnBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Transaction object. Provided when the transaction has finalized.
       * 
* * .bloombox.ledger.Transaction txn = 2; */ public Builder mergeTxn(io.bloombox.schema.ledger.Transactions.Transaction value) { if (txnBuilder_ == null) { if (txn_ != null) { txn_ = io.bloombox.schema.ledger.Transactions.Transaction.newBuilder(txn_).mergeFrom(value).buildPartial(); } else { txn_ = value; } onChanged(); } else { txnBuilder_.mergeFrom(value); } return this; } /** *
       * Transaction object. Provided when the transaction has finalized.
       * 
* * .bloombox.ledger.Transaction txn = 2; */ public Builder clearTxn() { if (txnBuilder_ == null) { txn_ = null; onChanged(); } else { txn_ = null; txnBuilder_ = null; } return this; } /** *
       * Transaction object. Provided when the transaction has finalized.
       * 
* * .bloombox.ledger.Transaction txn = 2; */ public io.bloombox.schema.ledger.Transactions.Transaction.Builder getTxnBuilder() { onChanged(); return getTxnFieldBuilder().getBuilder(); } /** *
       * Transaction object. Provided when the transaction has finalized.
       * 
* * .bloombox.ledger.Transaction txn = 2; */ public io.bloombox.schema.ledger.Transactions.TransactionOrBuilder getTxnOrBuilder() { if (txnBuilder_ != null) { return txnBuilder_.getMessageOrBuilder(); } else { return txn_ == null ? io.bloombox.schema.ledger.Transactions.Transaction.getDefaultInstance() : txn_; } } /** *
       * Transaction object. Provided when the transaction has finalized.
       * 
* * .bloombox.ledger.Transaction txn = 2; */ private com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.ledger.Transactions.Transaction, io.bloombox.schema.ledger.Transactions.Transaction.Builder, io.bloombox.schema.ledger.Transactions.TransactionOrBuilder> getTxnFieldBuilder() { if (txnBuilder_ == null) { txnBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.ledger.Transactions.Transaction, io.bloombox.schema.ledger.Transactions.Transaction.Builder, io.bloombox.schema.ledger.Transactions.TransactionOrBuilder>( getTxn(), getParentForChildren(), isClean()); txn_ = null; } return txnBuilder_; } @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:bloombox.services.ledger.v1beta1.AssetCreate.Response) } // @@protoc_insertion_point(class_scope:bloombox.services.ledger.v1beta1.AssetCreate.Response) private static final io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response(); } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Response parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Response(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.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface OperationOrBuilder extends // @@protoc_insertion_point(interface_extends:bloombox.services.ledger.v1beta1.AssetCreate.Operation) com.google.protobuf.MessageOrBuilder { /** *
     * Specifies a request to perform a CREATE operation.
     * 
* * .bloombox.services.ledger.v1beta1.AssetCreate.Request request = 1; */ boolean hasRequest(); /** *
     * Specifies a request to perform a CREATE operation.
     * 
* * .bloombox.services.ledger.v1beta1.AssetCreate.Request request = 1; */ io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request getRequest(); /** *
     * Specifies a request to perform a CREATE operation.
     * 
* * .bloombox.services.ledger.v1beta1.AssetCreate.Request request = 1; */ io.bloombox.schema.services.ledger.v1beta1.AssetCreate.RequestOrBuilder getRequestOrBuilder(); /** *
     * Specifies a response to a request to perform a CREATE operation.
     * 
* * .bloombox.services.ledger.v1beta1.AssetCreate.Response response = 2; */ boolean hasResponse(); /** *
     * Specifies a response to a request to perform a CREATE operation.
     * 
* * .bloombox.services.ledger.v1beta1.AssetCreate.Response response = 2; */ io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response getResponse(); /** *
     * Specifies a response to a request to perform a CREATE operation.
     * 
* * .bloombox.services.ledger.v1beta1.AssetCreate.Response response = 2; */ io.bloombox.schema.services.ledger.v1beta1.AssetCreate.ResponseOrBuilder getResponseOrBuilder(); } /** *
   * Specifies a complete request/response operation to perform a CREATE transaction.
   * 
* * Protobuf type {@code bloombox.services.ledger.v1beta1.AssetCreate.Operation} */ public static final class Operation extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:bloombox.services.ledger.v1beta1.AssetCreate.Operation) OperationOrBuilder { private static final long serialVersionUID = 0L; // Use Operation.newBuilder() to construct. private Operation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Operation() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Operation( 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: { io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request.Builder subBuilder = null; if (request_ != null) { subBuilder = request_.toBuilder(); } request_ = input.readMessage(io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(request_); request_ = subBuilder.buildPartial(); } break; } case 18: { io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response.Builder subBuilder = null; if (response_ != null) { subBuilder = response_.toBuilder(); } response_ = input.readMessage(io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(response_); response_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.bloombox.schema.services.ledger.v1beta1.LedgerServiceBeta1.internal_static_bloombox_services_ledger_v1beta1_AssetCreate_Operation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.services.ledger.v1beta1.LedgerServiceBeta1.internal_static_bloombox_services_ledger_v1beta1_AssetCreate_Operation_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Operation.class, io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Operation.Builder.class); } public static final int REQUEST_FIELD_NUMBER = 1; private io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request request_; /** *
     * Specifies a request to perform a CREATE operation.
     * 
* * .bloombox.services.ledger.v1beta1.AssetCreate.Request request = 1; */ public boolean hasRequest() { return request_ != null; } /** *
     * Specifies a request to perform a CREATE operation.
     * 
* * .bloombox.services.ledger.v1beta1.AssetCreate.Request request = 1; */ public io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request getRequest() { return request_ == null ? io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request.getDefaultInstance() : request_; } /** *
     * Specifies a request to perform a CREATE operation.
     * 
* * .bloombox.services.ledger.v1beta1.AssetCreate.Request request = 1; */ public io.bloombox.schema.services.ledger.v1beta1.AssetCreate.RequestOrBuilder getRequestOrBuilder() { return getRequest(); } public static final int RESPONSE_FIELD_NUMBER = 2; private io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response response_; /** *
     * Specifies a response to a request to perform a CREATE operation.
     * 
* * .bloombox.services.ledger.v1beta1.AssetCreate.Response response = 2; */ public boolean hasResponse() { return response_ != null; } /** *
     * Specifies a response to a request to perform a CREATE operation.
     * 
* * .bloombox.services.ledger.v1beta1.AssetCreate.Response response = 2; */ public io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response getResponse() { return response_ == null ? io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response.getDefaultInstance() : response_; } /** *
     * Specifies a response to a request to perform a CREATE operation.
     * 
* * .bloombox.services.ledger.v1beta1.AssetCreate.Response response = 2; */ public io.bloombox.schema.services.ledger.v1beta1.AssetCreate.ResponseOrBuilder getResponseOrBuilder() { return getResponse(); } 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 (request_ != null) { output.writeMessage(1, getRequest()); } if (response_ != null) { output.writeMessage(2, getResponse()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (request_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getRequest()); } if (response_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getResponse()); } 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.bloombox.schema.services.ledger.v1beta1.AssetCreate.Operation)) { return super.equals(obj); } io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Operation other = (io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Operation) obj; if (hasRequest() != other.hasRequest()) return false; if (hasRequest()) { if (!getRequest() .equals(other.getRequest())) return false; } if (hasResponse() != other.hasResponse()) return false; if (hasResponse()) { if (!getResponse() .equals(other.getResponse())) 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(); if (hasRequest()) { hash = (37 * hash) + REQUEST_FIELD_NUMBER; hash = (53 * hash) + getRequest().hashCode(); } if (hasResponse()) { hash = (37 * hash) + RESPONSE_FIELD_NUMBER; hash = (53 * hash) + getResponse().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Operation parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Operation parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Operation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Operation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Operation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Operation parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Operation parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Operation 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.bloombox.schema.services.ledger.v1beta1.AssetCreate.Operation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Operation 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.bloombox.schema.services.ledger.v1beta1.AssetCreate.Operation parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Operation 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.bloombox.schema.services.ledger.v1beta1.AssetCreate.Operation 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; } /** *
     * Specifies a complete request/response operation to perform a CREATE transaction.
     * 
* * Protobuf type {@code bloombox.services.ledger.v1beta1.AssetCreate.Operation} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:bloombox.services.ledger.v1beta1.AssetCreate.Operation) io.bloombox.schema.services.ledger.v1beta1.AssetCreate.OperationOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.bloombox.schema.services.ledger.v1beta1.LedgerServiceBeta1.internal_static_bloombox_services_ledger_v1beta1_AssetCreate_Operation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.services.ledger.v1beta1.LedgerServiceBeta1.internal_static_bloombox_services_ledger_v1beta1_AssetCreate_Operation_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Operation.class, io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Operation.Builder.class); } // Construct using io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Operation.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(); if (requestBuilder_ == null) { request_ = null; } else { request_ = null; requestBuilder_ = null; } if (responseBuilder_ == null) { response_ = null; } else { response_ = null; responseBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.bloombox.schema.services.ledger.v1beta1.LedgerServiceBeta1.internal_static_bloombox_services_ledger_v1beta1_AssetCreate_Operation_descriptor; } @java.lang.Override public io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Operation getDefaultInstanceForType() { return io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Operation.getDefaultInstance(); } @java.lang.Override public io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Operation build() { io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Operation result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Operation buildPartial() { io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Operation result = new io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Operation(this); if (requestBuilder_ == null) { result.request_ = request_; } else { result.request_ = requestBuilder_.build(); } if (responseBuilder_ == null) { result.response_ = response_; } else { result.response_ = responseBuilder_.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 io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Operation) { return mergeFrom((io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Operation)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Operation other) { if (other == io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Operation.getDefaultInstance()) return this; if (other.hasRequest()) { mergeRequest(other.getRequest()); } if (other.hasResponse()) { mergeResponse(other.getResponse()); } 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.bloombox.schema.services.ledger.v1beta1.AssetCreate.Operation parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Operation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request request_; private com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request, io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request.Builder, io.bloombox.schema.services.ledger.v1beta1.AssetCreate.RequestOrBuilder> requestBuilder_; /** *
       * Specifies a request to perform a CREATE operation.
       * 
* * .bloombox.services.ledger.v1beta1.AssetCreate.Request request = 1; */ public boolean hasRequest() { return requestBuilder_ != null || request_ != null; } /** *
       * Specifies a request to perform a CREATE operation.
       * 
* * .bloombox.services.ledger.v1beta1.AssetCreate.Request request = 1; */ public io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request getRequest() { if (requestBuilder_ == null) { return request_ == null ? io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request.getDefaultInstance() : request_; } else { return requestBuilder_.getMessage(); } } /** *
       * Specifies a request to perform a CREATE operation.
       * 
* * .bloombox.services.ledger.v1beta1.AssetCreate.Request request = 1; */ public Builder setRequest(io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request value) { if (requestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } request_ = value; onChanged(); } else { requestBuilder_.setMessage(value); } return this; } /** *
       * Specifies a request to perform a CREATE operation.
       * 
* * .bloombox.services.ledger.v1beta1.AssetCreate.Request request = 1; */ public Builder setRequest( io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request.Builder builderForValue) { if (requestBuilder_ == null) { request_ = builderForValue.build(); onChanged(); } else { requestBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Specifies a request to perform a CREATE operation.
       * 
* * .bloombox.services.ledger.v1beta1.AssetCreate.Request request = 1; */ public Builder mergeRequest(io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request value) { if (requestBuilder_ == null) { if (request_ != null) { request_ = io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request.newBuilder(request_).mergeFrom(value).buildPartial(); } else { request_ = value; } onChanged(); } else { requestBuilder_.mergeFrom(value); } return this; } /** *
       * Specifies a request to perform a CREATE operation.
       * 
* * .bloombox.services.ledger.v1beta1.AssetCreate.Request request = 1; */ public Builder clearRequest() { if (requestBuilder_ == null) { request_ = null; onChanged(); } else { request_ = null; requestBuilder_ = null; } return this; } /** *
       * Specifies a request to perform a CREATE operation.
       * 
* * .bloombox.services.ledger.v1beta1.AssetCreate.Request request = 1; */ public io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request.Builder getRequestBuilder() { onChanged(); return getRequestFieldBuilder().getBuilder(); } /** *
       * Specifies a request to perform a CREATE operation.
       * 
* * .bloombox.services.ledger.v1beta1.AssetCreate.Request request = 1; */ public io.bloombox.schema.services.ledger.v1beta1.AssetCreate.RequestOrBuilder getRequestOrBuilder() { if (requestBuilder_ != null) { return requestBuilder_.getMessageOrBuilder(); } else { return request_ == null ? io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request.getDefaultInstance() : request_; } } /** *
       * Specifies a request to perform a CREATE operation.
       * 
* * .bloombox.services.ledger.v1beta1.AssetCreate.Request request = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request, io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request.Builder, io.bloombox.schema.services.ledger.v1beta1.AssetCreate.RequestOrBuilder> getRequestFieldBuilder() { if (requestBuilder_ == null) { requestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request, io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Request.Builder, io.bloombox.schema.services.ledger.v1beta1.AssetCreate.RequestOrBuilder>( getRequest(), getParentForChildren(), isClean()); request_ = null; } return requestBuilder_; } private io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response response_; private com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response, io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response.Builder, io.bloombox.schema.services.ledger.v1beta1.AssetCreate.ResponseOrBuilder> responseBuilder_; /** *
       * Specifies a response to a request to perform a CREATE operation.
       * 
* * .bloombox.services.ledger.v1beta1.AssetCreate.Response response = 2; */ public boolean hasResponse() { return responseBuilder_ != null || response_ != null; } /** *
       * Specifies a response to a request to perform a CREATE operation.
       * 
* * .bloombox.services.ledger.v1beta1.AssetCreate.Response response = 2; */ public io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response getResponse() { if (responseBuilder_ == null) { return response_ == null ? io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response.getDefaultInstance() : response_; } else { return responseBuilder_.getMessage(); } } /** *
       * Specifies a response to a request to perform a CREATE operation.
       * 
* * .bloombox.services.ledger.v1beta1.AssetCreate.Response response = 2; */ public Builder setResponse(io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response value) { if (responseBuilder_ == null) { if (value == null) { throw new NullPointerException(); } response_ = value; onChanged(); } else { responseBuilder_.setMessage(value); } return this; } /** *
       * Specifies a response to a request to perform a CREATE operation.
       * 
* * .bloombox.services.ledger.v1beta1.AssetCreate.Response response = 2; */ public Builder setResponse( io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response.Builder builderForValue) { if (responseBuilder_ == null) { response_ = builderForValue.build(); onChanged(); } else { responseBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Specifies a response to a request to perform a CREATE operation.
       * 
* * .bloombox.services.ledger.v1beta1.AssetCreate.Response response = 2; */ public Builder mergeResponse(io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response value) { if (responseBuilder_ == null) { if (response_ != null) { response_ = io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response.newBuilder(response_).mergeFrom(value).buildPartial(); } else { response_ = value; } onChanged(); } else { responseBuilder_.mergeFrom(value); } return this; } /** *
       * Specifies a response to a request to perform a CREATE operation.
       * 
* * .bloombox.services.ledger.v1beta1.AssetCreate.Response response = 2; */ public Builder clearResponse() { if (responseBuilder_ == null) { response_ = null; onChanged(); } else { response_ = null; responseBuilder_ = null; } return this; } /** *
       * Specifies a response to a request to perform a CREATE operation.
       * 
* * .bloombox.services.ledger.v1beta1.AssetCreate.Response response = 2; */ public io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response.Builder getResponseBuilder() { onChanged(); return getResponseFieldBuilder().getBuilder(); } /** *
       * Specifies a response to a request to perform a CREATE operation.
       * 
* * .bloombox.services.ledger.v1beta1.AssetCreate.Response response = 2; */ public io.bloombox.schema.services.ledger.v1beta1.AssetCreate.ResponseOrBuilder getResponseOrBuilder() { if (responseBuilder_ != null) { return responseBuilder_.getMessageOrBuilder(); } else { return response_ == null ? io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response.getDefaultInstance() : response_; } } /** *
       * Specifies a response to a request to perform a CREATE operation.
       * 
* * .bloombox.services.ledger.v1beta1.AssetCreate.Response response = 2; */ private com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response, io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response.Builder, io.bloombox.schema.services.ledger.v1beta1.AssetCreate.ResponseOrBuilder> getResponseFieldBuilder() { if (responseBuilder_ == null) { responseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response, io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Response.Builder, io.bloombox.schema.services.ledger.v1beta1.AssetCreate.ResponseOrBuilder>( getResponse(), getParentForChildren(), isClean()); response_ = null; } return responseBuilder_; } @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:bloombox.services.ledger.v1beta1.AssetCreate.Operation) } // @@protoc_insertion_point(class_scope:bloombox.services.ledger.v1beta1.AssetCreate.Operation) private static final io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Operation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Operation(); } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Operation getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Operation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Operation(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.bloombox.schema.services.ledger.v1beta1.AssetCreate.Operation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } 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 { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; 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.bloombox.schema.services.ledger.v1beta1.AssetCreate)) { return super.equals(obj); } io.bloombox.schema.services.ledger.v1beta1.AssetCreate other = (io.bloombox.schema.services.ledger.v1beta1.AssetCreate) obj; 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 = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate 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.bloombox.schema.services.ledger.v1beta1.AssetCreate parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate 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.bloombox.schema.services.ledger.v1beta1.AssetCreate parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate 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.bloombox.schema.services.ledger.v1beta1.AssetCreate 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; } /** *
   * Specifies an RPC request and response structure, and encapsulating operation, for a CREATE-type transaction atop a
   * distributed ledger or blockchain. This facilitates the creation or issuance of assets.
   * 
* * Protobuf type {@code bloombox.services.ledger.v1beta1.AssetCreate} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:bloombox.services.ledger.v1beta1.AssetCreate) io.bloombox.schema.services.ledger.v1beta1.AssetCreateOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.bloombox.schema.services.ledger.v1beta1.LedgerServiceBeta1.internal_static_bloombox_services_ledger_v1beta1_AssetCreate_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.services.ledger.v1beta1.LedgerServiceBeta1.internal_static_bloombox_services_ledger_v1beta1_AssetCreate_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.services.ledger.v1beta1.AssetCreate.class, io.bloombox.schema.services.ledger.v1beta1.AssetCreate.Builder.class); } // Construct using io.bloombox.schema.services.ledger.v1beta1.AssetCreate.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(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.bloombox.schema.services.ledger.v1beta1.LedgerServiceBeta1.internal_static_bloombox_services_ledger_v1beta1_AssetCreate_descriptor; } @java.lang.Override public io.bloombox.schema.services.ledger.v1beta1.AssetCreate getDefaultInstanceForType() { return io.bloombox.schema.services.ledger.v1beta1.AssetCreate.getDefaultInstance(); } @java.lang.Override public io.bloombox.schema.services.ledger.v1beta1.AssetCreate build() { io.bloombox.schema.services.ledger.v1beta1.AssetCreate result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.bloombox.schema.services.ledger.v1beta1.AssetCreate buildPartial() { io.bloombox.schema.services.ledger.v1beta1.AssetCreate result = new io.bloombox.schema.services.ledger.v1beta1.AssetCreate(this); 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 io.bloombox.schema.services.ledger.v1beta1.AssetCreate) { return mergeFrom((io.bloombox.schema.services.ledger.v1beta1.AssetCreate)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.bloombox.schema.services.ledger.v1beta1.AssetCreate other) { if (other == io.bloombox.schema.services.ledger.v1beta1.AssetCreate.getDefaultInstance()) return this; 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.bloombox.schema.services.ledger.v1beta1.AssetCreate parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.bloombox.schema.services.ledger.v1beta1.AssetCreate) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:bloombox.services.ledger.v1beta1.AssetCreate) } // @@protoc_insertion_point(class_scope:bloombox.services.ledger.v1beta1.AssetCreate) private static final io.bloombox.schema.services.ledger.v1beta1.AssetCreate DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.bloombox.schema.services.ledger.v1beta1.AssetCreate(); } public static io.bloombox.schema.services.ledger.v1beta1.AssetCreate getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AssetCreate parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AssetCreate(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.bloombox.schema.services.ledger.v1beta1.AssetCreate getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy