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

org.hyperledger.fabric.protos.peer.ChaincodeInputOrBuilder Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: peer/chaincode.proto
// Protobuf Java Version: 4.28.2

package org.hyperledger.fabric.protos.peer;

public interface ChaincodeInputOrBuilder extends
    // @@protoc_insertion_point(interface_extends:protos.ChaincodeInput)
    com.google.protobuf.MessageOrBuilder {

  /**
   * repeated bytes args = 1 [json_name = "args"];
   * @return A list containing the args.
   */
  java.util.List getArgsList();
  /**
   * repeated bytes args = 1 [json_name = "args"];
   * @return The count of args.
   */
  int getArgsCount();
  /**
   * repeated bytes args = 1 [json_name = "args"];
   * @param index The index of the element to return.
   * @return The args at the given index.
   */
  com.google.protobuf.ByteString getArgs(int index);

  /**
   * map<string, bytes> decorations = 2 [json_name = "decorations"];
   */
  int getDecorationsCount();
  /**
   * map<string, bytes> decorations = 2 [json_name = "decorations"];
   */
  boolean containsDecorations(
      java.lang.String key);
  /**
   * Use {@link #getDecorationsMap()} instead.
   */
  @java.lang.Deprecated
  java.util.Map
  getDecorations();
  /**
   * map<string, bytes> decorations = 2 [json_name = "decorations"];
   */
  java.util.Map
  getDecorationsMap();
  /**
   * map<string, bytes> decorations = 2 [json_name = "decorations"];
   */
  /* nullable */
com.google.protobuf.ByteString getDecorationsOrDefault(
      java.lang.String key,
      /* nullable */
com.google.protobuf.ByteString defaultValue);
  /**
   * map<string, bytes> decorations = 2 [json_name = "decorations"];
   */
  com.google.protobuf.ByteString getDecorationsOrThrow(
      java.lang.String key);

  /**
   * 
   * is_init is used for the application to signal that an invocation is to be routed
   * to the legacy 'Init' function for compatibility with chaincodes which handled
   * Init in the old way.  New applications should manage their initialized state
   * themselves.
   * 
* * bool is_init = 3 [json_name = "isInit"]; * @return The isInit. */ boolean getIsInit(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy