![JAR search and dependency download from the Maven repository](/logo.png)
org.hyperledger.protos.DevopsOuterClass Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fabric-java-sdk Show documentation
Show all versions of fabric-java-sdk Show documentation
This is a fork of Hyperledger Fabric fabric-sdk-java
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: devops.proto
package org.hyperledger.protos;
public final class DevopsOuterClass {
private DevopsOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface SecretOrBuilder extends
// @@protoc_insertion_point(interface_extends:protos.Secret)
com.google.protobuf.MessageOrBuilder {
/**
* optional string enrollId = 1;
*/
java.lang.String getEnrollId();
/**
* optional string enrollId = 1;
*/
com.google.protobuf.ByteString
getEnrollIdBytes();
/**
* optional string enrollSecret = 2;
*/
java.lang.String getEnrollSecret();
/**
* optional string enrollSecret = 2;
*/
com.google.protobuf.ByteString
getEnrollSecretBytes();
}
/**
*
* Secret is a temporary object to establish security with the Devops.
* A better solution using certificate will be introduced later
*
*
* Protobuf type {@code protos.Secret}
*/
public static final class Secret extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:protos.Secret)
SecretOrBuilder {
// Use Secret.newBuilder() to construct.
private Secret(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Secret() {
enrollId_ = "";
enrollSecret_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private Secret(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
enrollId_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
enrollSecret_ = s;
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 {
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.hyperledger.protos.DevopsOuterClass.internal_static_protos_Secret_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.hyperledger.protos.DevopsOuterClass.internal_static_protos_Secret_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.hyperledger.protos.DevopsOuterClass.Secret.class, org.hyperledger.protos.DevopsOuterClass.Secret.Builder.class);
}
public static final int ENROLLID_FIELD_NUMBER = 1;
private volatile java.lang.Object enrollId_;
/**
* optional string enrollId = 1;
*/
public java.lang.String getEnrollId() {
java.lang.Object ref = enrollId_;
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();
enrollId_ = s;
return s;
}
}
/**
* optional string enrollId = 1;
*/
public com.google.protobuf.ByteString
getEnrollIdBytes() {
java.lang.Object ref = enrollId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
enrollId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ENROLLSECRET_FIELD_NUMBER = 2;
private volatile java.lang.Object enrollSecret_;
/**
* optional string enrollSecret = 2;
*/
public java.lang.String getEnrollSecret() {
java.lang.Object ref = enrollSecret_;
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();
enrollSecret_ = s;
return s;
}
}
/**
* optional string enrollSecret = 2;
*/
public com.google.protobuf.ByteString
getEnrollSecretBytes() {
java.lang.Object ref = enrollSecret_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
enrollSecret_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getEnrollIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, enrollId_);
}
if (!getEnrollSecretBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, enrollSecret_);
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getEnrollIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, enrollId_);
}
if (!getEnrollSecretBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, enrollSecret_);
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.hyperledger.protos.DevopsOuterClass.Secret)) {
return super.equals(obj);
}
org.hyperledger.protos.DevopsOuterClass.Secret other = (org.hyperledger.protos.DevopsOuterClass.Secret) obj;
boolean result = true;
result = result && getEnrollId()
.equals(other.getEnrollId());
result = result && getEnrollSecret()
.equals(other.getEnrollSecret());
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
hash = (37 * hash) + ENROLLID_FIELD_NUMBER;
hash = (53 * hash) + getEnrollId().hashCode();
hash = (37 * hash) + ENROLLSECRET_FIELD_NUMBER;
hash = (53 * hash) + getEnrollSecret().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.hyperledger.protos.DevopsOuterClass.Secret parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hyperledger.protos.DevopsOuterClass.Secret parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hyperledger.protos.DevopsOuterClass.Secret parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hyperledger.protos.DevopsOuterClass.Secret parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hyperledger.protos.DevopsOuterClass.Secret parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.hyperledger.protos.DevopsOuterClass.Secret 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 org.hyperledger.protos.DevopsOuterClass.Secret parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.hyperledger.protos.DevopsOuterClass.Secret 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 org.hyperledger.protos.DevopsOuterClass.Secret parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.hyperledger.protos.DevopsOuterClass.Secret parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.hyperledger.protos.DevopsOuterClass.Secret prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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;
}
/**
*
* Secret is a temporary object to establish security with the Devops.
* A better solution using certificate will be introduced later
*
*
* Protobuf type {@code protos.Secret}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:protos.Secret)
org.hyperledger.protos.DevopsOuterClass.SecretOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.hyperledger.protos.DevopsOuterClass.internal_static_protos_Secret_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.hyperledger.protos.DevopsOuterClass.internal_static_protos_Secret_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.hyperledger.protos.DevopsOuterClass.Secret.class, org.hyperledger.protos.DevopsOuterClass.Secret.Builder.class);
}
// Construct using org.hyperledger.protos.DevopsOuterClass.Secret.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
enrollId_ = "";
enrollSecret_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.hyperledger.protos.DevopsOuterClass.internal_static_protos_Secret_descriptor;
}
public org.hyperledger.protos.DevopsOuterClass.Secret getDefaultInstanceForType() {
return org.hyperledger.protos.DevopsOuterClass.Secret.getDefaultInstance();
}
public org.hyperledger.protos.DevopsOuterClass.Secret build() {
org.hyperledger.protos.DevopsOuterClass.Secret result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.hyperledger.protos.DevopsOuterClass.Secret buildPartial() {
org.hyperledger.protos.DevopsOuterClass.Secret result = new org.hyperledger.protos.DevopsOuterClass.Secret(this);
result.enrollId_ = enrollId_;
result.enrollSecret_ = enrollSecret_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.hyperledger.protos.DevopsOuterClass.Secret) {
return mergeFrom((org.hyperledger.protos.DevopsOuterClass.Secret)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.hyperledger.protos.DevopsOuterClass.Secret other) {
if (other == org.hyperledger.protos.DevopsOuterClass.Secret.getDefaultInstance()) return this;
if (!other.getEnrollId().isEmpty()) {
enrollId_ = other.enrollId_;
onChanged();
}
if (!other.getEnrollSecret().isEmpty()) {
enrollSecret_ = other.enrollSecret_;
onChanged();
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.hyperledger.protos.DevopsOuterClass.Secret parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.hyperledger.protos.DevopsOuterClass.Secret) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object enrollId_ = "";
/**
* optional string enrollId = 1;
*/
public java.lang.String getEnrollId() {
java.lang.Object ref = enrollId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
enrollId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string enrollId = 1;
*/
public com.google.protobuf.ByteString
getEnrollIdBytes() {
java.lang.Object ref = enrollId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
enrollId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string enrollId = 1;
*/
public Builder setEnrollId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
enrollId_ = value;
onChanged();
return this;
}
/**
* optional string enrollId = 1;
*/
public Builder clearEnrollId() {
enrollId_ = getDefaultInstance().getEnrollId();
onChanged();
return this;
}
/**
* optional string enrollId = 1;
*/
public Builder setEnrollIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
enrollId_ = value;
onChanged();
return this;
}
private java.lang.Object enrollSecret_ = "";
/**
* optional string enrollSecret = 2;
*/
public java.lang.String getEnrollSecret() {
java.lang.Object ref = enrollSecret_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
enrollSecret_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string enrollSecret = 2;
*/
public com.google.protobuf.ByteString
getEnrollSecretBytes() {
java.lang.Object ref = enrollSecret_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
enrollSecret_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string enrollSecret = 2;
*/
public Builder setEnrollSecret(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
enrollSecret_ = value;
onChanged();
return this;
}
/**
* optional string enrollSecret = 2;
*/
public Builder clearEnrollSecret() {
enrollSecret_ = getDefaultInstance().getEnrollSecret();
onChanged();
return this;
}
/**
* optional string enrollSecret = 2;
*/
public Builder setEnrollSecretBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
enrollSecret_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:protos.Secret)
}
// @@protoc_insertion_point(class_scope:protos.Secret)
private static final org.hyperledger.protos.DevopsOuterClass.Secret DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.hyperledger.protos.DevopsOuterClass.Secret();
}
public static org.hyperledger.protos.DevopsOuterClass.Secret getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public Secret parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Secret(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.hyperledger.protos.DevopsOuterClass.Secret getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SigmaInputOrBuilder extends
// @@protoc_insertion_point(interface_extends:protos.SigmaInput)
com.google.protobuf.MessageOrBuilder {
/**
* optional .protos.Secret secret = 1;
*/
boolean hasSecret();
/**
* optional .protos.Secret secret = 1;
*/
org.hyperledger.protos.DevopsOuterClass.Secret getSecret();
/**
* optional .protos.Secret secret = 1;
*/
org.hyperledger.protos.DevopsOuterClass.SecretOrBuilder getSecretOrBuilder();
/**
* optional bytes appTCert = 2;
*/
com.google.protobuf.ByteString getAppTCert();
/**
* optional bytes data = 3;
*/
com.google.protobuf.ByteString getData();
}
/**
* Protobuf type {@code protos.SigmaInput}
*/
public static final class SigmaInput extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:protos.SigmaInput)
SigmaInputOrBuilder {
// Use SigmaInput.newBuilder() to construct.
private SigmaInput(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SigmaInput() {
appTCert_ = com.google.protobuf.ByteString.EMPTY;
data_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private SigmaInput(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
org.hyperledger.protos.DevopsOuterClass.Secret.Builder subBuilder = null;
if (secret_ != null) {
subBuilder = secret_.toBuilder();
}
secret_ = input.readMessage(org.hyperledger.protos.DevopsOuterClass.Secret.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(secret_);
secret_ = subBuilder.buildPartial();
}
break;
}
case 18: {
appTCert_ = input.readBytes();
break;
}
case 26: {
data_ = input.readBytes();
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 {
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.hyperledger.protos.DevopsOuterClass.internal_static_protos_SigmaInput_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.hyperledger.protos.DevopsOuterClass.internal_static_protos_SigmaInput_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.hyperledger.protos.DevopsOuterClass.SigmaInput.class, org.hyperledger.protos.DevopsOuterClass.SigmaInput.Builder.class);
}
public static final int SECRET_FIELD_NUMBER = 1;
private org.hyperledger.protos.DevopsOuterClass.Secret secret_;
/**
* optional .protos.Secret secret = 1;
*/
public boolean hasSecret() {
return secret_ != null;
}
/**
* optional .protos.Secret secret = 1;
*/
public org.hyperledger.protos.DevopsOuterClass.Secret getSecret() {
return secret_ == null ? org.hyperledger.protos.DevopsOuterClass.Secret.getDefaultInstance() : secret_;
}
/**
* optional .protos.Secret secret = 1;
*/
public org.hyperledger.protos.DevopsOuterClass.SecretOrBuilder getSecretOrBuilder() {
return getSecret();
}
public static final int APPTCERT_FIELD_NUMBER = 2;
private com.google.protobuf.ByteString appTCert_;
/**
* optional bytes appTCert = 2;
*/
public com.google.protobuf.ByteString getAppTCert() {
return appTCert_;
}
public static final int DATA_FIELD_NUMBER = 3;
private com.google.protobuf.ByteString data_;
/**
* optional bytes data = 3;
*/
public com.google.protobuf.ByteString getData() {
return data_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (secret_ != null) {
output.writeMessage(1, getSecret());
}
if (!appTCert_.isEmpty()) {
output.writeBytes(2, appTCert_);
}
if (!data_.isEmpty()) {
output.writeBytes(3, data_);
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (secret_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getSecret());
}
if (!appTCert_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, appTCert_);
}
if (!data_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, data_);
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.hyperledger.protos.DevopsOuterClass.SigmaInput)) {
return super.equals(obj);
}
org.hyperledger.protos.DevopsOuterClass.SigmaInput other = (org.hyperledger.protos.DevopsOuterClass.SigmaInput) obj;
boolean result = true;
result = result && (hasSecret() == other.hasSecret());
if (hasSecret()) {
result = result && getSecret()
.equals(other.getSecret());
}
result = result && getAppTCert()
.equals(other.getAppTCert());
result = result && getData()
.equals(other.getData());
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasSecret()) {
hash = (37 * hash) + SECRET_FIELD_NUMBER;
hash = (53 * hash) + getSecret().hashCode();
}
hash = (37 * hash) + APPTCERT_FIELD_NUMBER;
hash = (53 * hash) + getAppTCert().hashCode();
hash = (37 * hash) + DATA_FIELD_NUMBER;
hash = (53 * hash) + getData().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.hyperledger.protos.DevopsOuterClass.SigmaInput parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hyperledger.protos.DevopsOuterClass.SigmaInput parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hyperledger.protos.DevopsOuterClass.SigmaInput parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hyperledger.protos.DevopsOuterClass.SigmaInput parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hyperledger.protos.DevopsOuterClass.SigmaInput parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.hyperledger.protos.DevopsOuterClass.SigmaInput 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 org.hyperledger.protos.DevopsOuterClass.SigmaInput parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.hyperledger.protos.DevopsOuterClass.SigmaInput 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 org.hyperledger.protos.DevopsOuterClass.SigmaInput parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.hyperledger.protos.DevopsOuterClass.SigmaInput parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.hyperledger.protos.DevopsOuterClass.SigmaInput prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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;
}
/**
* Protobuf type {@code protos.SigmaInput}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:protos.SigmaInput)
org.hyperledger.protos.DevopsOuterClass.SigmaInputOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.hyperledger.protos.DevopsOuterClass.internal_static_protos_SigmaInput_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.hyperledger.protos.DevopsOuterClass.internal_static_protos_SigmaInput_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.hyperledger.protos.DevopsOuterClass.SigmaInput.class, org.hyperledger.protos.DevopsOuterClass.SigmaInput.Builder.class);
}
// Construct using org.hyperledger.protos.DevopsOuterClass.SigmaInput.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
if (secretBuilder_ == null) {
secret_ = null;
} else {
secret_ = null;
secretBuilder_ = null;
}
appTCert_ = com.google.protobuf.ByteString.EMPTY;
data_ = com.google.protobuf.ByteString.EMPTY;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.hyperledger.protos.DevopsOuterClass.internal_static_protos_SigmaInput_descriptor;
}
public org.hyperledger.protos.DevopsOuterClass.SigmaInput getDefaultInstanceForType() {
return org.hyperledger.protos.DevopsOuterClass.SigmaInput.getDefaultInstance();
}
public org.hyperledger.protos.DevopsOuterClass.SigmaInput build() {
org.hyperledger.protos.DevopsOuterClass.SigmaInput result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.hyperledger.protos.DevopsOuterClass.SigmaInput buildPartial() {
org.hyperledger.protos.DevopsOuterClass.SigmaInput result = new org.hyperledger.protos.DevopsOuterClass.SigmaInput(this);
if (secretBuilder_ == null) {
result.secret_ = secret_;
} else {
result.secret_ = secretBuilder_.build();
}
result.appTCert_ = appTCert_;
result.data_ = data_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.hyperledger.protos.DevopsOuterClass.SigmaInput) {
return mergeFrom((org.hyperledger.protos.DevopsOuterClass.SigmaInput)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.hyperledger.protos.DevopsOuterClass.SigmaInput other) {
if (other == org.hyperledger.protos.DevopsOuterClass.SigmaInput.getDefaultInstance()) return this;
if (other.hasSecret()) {
mergeSecret(other.getSecret());
}
if (other.getAppTCert() != com.google.protobuf.ByteString.EMPTY) {
setAppTCert(other.getAppTCert());
}
if (other.getData() != com.google.protobuf.ByteString.EMPTY) {
setData(other.getData());
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.hyperledger.protos.DevopsOuterClass.SigmaInput parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.hyperledger.protos.DevopsOuterClass.SigmaInput) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private org.hyperledger.protos.DevopsOuterClass.Secret secret_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
org.hyperledger.protos.DevopsOuterClass.Secret, org.hyperledger.protos.DevopsOuterClass.Secret.Builder, org.hyperledger.protos.DevopsOuterClass.SecretOrBuilder> secretBuilder_;
/**
* optional .protos.Secret secret = 1;
*/
public boolean hasSecret() {
return secretBuilder_ != null || secret_ != null;
}
/**
* optional .protos.Secret secret = 1;
*/
public org.hyperledger.protos.DevopsOuterClass.Secret getSecret() {
if (secretBuilder_ == null) {
return secret_ == null ? org.hyperledger.protos.DevopsOuterClass.Secret.getDefaultInstance() : secret_;
} else {
return secretBuilder_.getMessage();
}
}
/**
* optional .protos.Secret secret = 1;
*/
public Builder setSecret(org.hyperledger.protos.DevopsOuterClass.Secret value) {
if (secretBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
secret_ = value;
onChanged();
} else {
secretBuilder_.setMessage(value);
}
return this;
}
/**
* optional .protos.Secret secret = 1;
*/
public Builder setSecret(
org.hyperledger.protos.DevopsOuterClass.Secret.Builder builderForValue) {
if (secretBuilder_ == null) {
secret_ = builderForValue.build();
onChanged();
} else {
secretBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* optional .protos.Secret secret = 1;
*/
public Builder mergeSecret(org.hyperledger.protos.DevopsOuterClass.Secret value) {
if (secretBuilder_ == null) {
if (secret_ != null) {
secret_ =
org.hyperledger.protos.DevopsOuterClass.Secret.newBuilder(secret_).mergeFrom(value).buildPartial();
} else {
secret_ = value;
}
onChanged();
} else {
secretBuilder_.mergeFrom(value);
}
return this;
}
/**
* optional .protos.Secret secret = 1;
*/
public Builder clearSecret() {
if (secretBuilder_ == null) {
secret_ = null;
onChanged();
} else {
secret_ = null;
secretBuilder_ = null;
}
return this;
}
/**
* optional .protos.Secret secret = 1;
*/
public org.hyperledger.protos.DevopsOuterClass.Secret.Builder getSecretBuilder() {
onChanged();
return getSecretFieldBuilder().getBuilder();
}
/**
* optional .protos.Secret secret = 1;
*/
public org.hyperledger.protos.DevopsOuterClass.SecretOrBuilder getSecretOrBuilder() {
if (secretBuilder_ != null) {
return secretBuilder_.getMessageOrBuilder();
} else {
return secret_ == null ?
org.hyperledger.protos.DevopsOuterClass.Secret.getDefaultInstance() : secret_;
}
}
/**
* optional .protos.Secret secret = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.hyperledger.protos.DevopsOuterClass.Secret, org.hyperledger.protos.DevopsOuterClass.Secret.Builder, org.hyperledger.protos.DevopsOuterClass.SecretOrBuilder>
getSecretFieldBuilder() {
if (secretBuilder_ == null) {
secretBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.hyperledger.protos.DevopsOuterClass.Secret, org.hyperledger.protos.DevopsOuterClass.Secret.Builder, org.hyperledger.protos.DevopsOuterClass.SecretOrBuilder>(
getSecret(),
getParentForChildren(),
isClean());
secret_ = null;
}
return secretBuilder_;
}
private com.google.protobuf.ByteString appTCert_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes appTCert = 2;
*/
public com.google.protobuf.ByteString getAppTCert() {
return appTCert_;
}
/**
* optional bytes appTCert = 2;
*/
public Builder setAppTCert(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
appTCert_ = value;
onChanged();
return this;
}
/**
* optional bytes appTCert = 2;
*/
public Builder clearAppTCert() {
appTCert_ = getDefaultInstance().getAppTCert();
onChanged();
return this;
}
private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes data = 3;
*/
public com.google.protobuf.ByteString getData() {
return data_;
}
/**
* optional bytes data = 3;
*/
public Builder setData(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
return this;
}
/**
* optional bytes data = 3;
*/
public Builder clearData() {
data_ = getDefaultInstance().getData();
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:protos.SigmaInput)
}
// @@protoc_insertion_point(class_scope:protos.SigmaInput)
private static final org.hyperledger.protos.DevopsOuterClass.SigmaInput DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.hyperledger.protos.DevopsOuterClass.SigmaInput();
}
public static org.hyperledger.protos.DevopsOuterClass.SigmaInput getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public SigmaInput parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SigmaInput(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.hyperledger.protos.DevopsOuterClass.SigmaInput getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ExecuteWithBindingOrBuilder extends
// @@protoc_insertion_point(interface_extends:protos.ExecuteWithBinding)
com.google.protobuf.MessageOrBuilder {
/**
* optional .protos.ChaincodeInvocationSpec chaincodeInvocationSpec = 1;
*/
boolean hasChaincodeInvocationSpec();
/**
* optional .protos.ChaincodeInvocationSpec chaincodeInvocationSpec = 1;
*/
org.hyperledger.protos.Chaincode.ChaincodeInvocationSpec getChaincodeInvocationSpec();
/**
* optional .protos.ChaincodeInvocationSpec chaincodeInvocationSpec = 1;
*/
org.hyperledger.protos.Chaincode.ChaincodeInvocationSpecOrBuilder getChaincodeInvocationSpecOrBuilder();
/**
* optional bytes binding = 2;
*/
com.google.protobuf.ByteString getBinding();
}
/**
* Protobuf type {@code protos.ExecuteWithBinding}
*/
public static final class ExecuteWithBinding extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:protos.ExecuteWithBinding)
ExecuteWithBindingOrBuilder {
// Use ExecuteWithBinding.newBuilder() to construct.
private ExecuteWithBinding(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ExecuteWithBinding() {
binding_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private ExecuteWithBinding(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
org.hyperledger.protos.Chaincode.ChaincodeInvocationSpec.Builder subBuilder = null;
if (chaincodeInvocationSpec_ != null) {
subBuilder = chaincodeInvocationSpec_.toBuilder();
}
chaincodeInvocationSpec_ = input.readMessage(org.hyperledger.protos.Chaincode.ChaincodeInvocationSpec.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(chaincodeInvocationSpec_);
chaincodeInvocationSpec_ = subBuilder.buildPartial();
}
break;
}
case 18: {
binding_ = input.readBytes();
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 {
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.hyperledger.protos.DevopsOuterClass.internal_static_protos_ExecuteWithBinding_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.hyperledger.protos.DevopsOuterClass.internal_static_protos_ExecuteWithBinding_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.hyperledger.protos.DevopsOuterClass.ExecuteWithBinding.class, org.hyperledger.protos.DevopsOuterClass.ExecuteWithBinding.Builder.class);
}
public static final int CHAINCODEINVOCATIONSPEC_FIELD_NUMBER = 1;
private org.hyperledger.protos.Chaincode.ChaincodeInvocationSpec chaincodeInvocationSpec_;
/**
* optional .protos.ChaincodeInvocationSpec chaincodeInvocationSpec = 1;
*/
public boolean hasChaincodeInvocationSpec() {
return chaincodeInvocationSpec_ != null;
}
/**
* optional .protos.ChaincodeInvocationSpec chaincodeInvocationSpec = 1;
*/
public org.hyperledger.protos.Chaincode.ChaincodeInvocationSpec getChaincodeInvocationSpec() {
return chaincodeInvocationSpec_ == null ? org.hyperledger.protos.Chaincode.ChaincodeInvocationSpec.getDefaultInstance() : chaincodeInvocationSpec_;
}
/**
* optional .protos.ChaincodeInvocationSpec chaincodeInvocationSpec = 1;
*/
public org.hyperledger.protos.Chaincode.ChaincodeInvocationSpecOrBuilder getChaincodeInvocationSpecOrBuilder() {
return getChaincodeInvocationSpec();
}
public static final int BINDING_FIELD_NUMBER = 2;
private com.google.protobuf.ByteString binding_;
/**
* optional bytes binding = 2;
*/
public com.google.protobuf.ByteString getBinding() {
return binding_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (chaincodeInvocationSpec_ != null) {
output.writeMessage(1, getChaincodeInvocationSpec());
}
if (!binding_.isEmpty()) {
output.writeBytes(2, binding_);
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (chaincodeInvocationSpec_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getChaincodeInvocationSpec());
}
if (!binding_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, binding_);
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.hyperledger.protos.DevopsOuterClass.ExecuteWithBinding)) {
return super.equals(obj);
}
org.hyperledger.protos.DevopsOuterClass.ExecuteWithBinding other = (org.hyperledger.protos.DevopsOuterClass.ExecuteWithBinding) obj;
boolean result = true;
result = result && (hasChaincodeInvocationSpec() == other.hasChaincodeInvocationSpec());
if (hasChaincodeInvocationSpec()) {
result = result && getChaincodeInvocationSpec()
.equals(other.getChaincodeInvocationSpec());
}
result = result && getBinding()
.equals(other.getBinding());
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasChaincodeInvocationSpec()) {
hash = (37 * hash) + CHAINCODEINVOCATIONSPEC_FIELD_NUMBER;
hash = (53 * hash) + getChaincodeInvocationSpec().hashCode();
}
hash = (37 * hash) + BINDING_FIELD_NUMBER;
hash = (53 * hash) + getBinding().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.hyperledger.protos.DevopsOuterClass.ExecuteWithBinding parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hyperledger.protos.DevopsOuterClass.ExecuteWithBinding parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hyperledger.protos.DevopsOuterClass.ExecuteWithBinding parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hyperledger.protos.DevopsOuterClass.ExecuteWithBinding parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hyperledger.protos.DevopsOuterClass.ExecuteWithBinding parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.hyperledger.protos.DevopsOuterClass.ExecuteWithBinding 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 org.hyperledger.protos.DevopsOuterClass.ExecuteWithBinding parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.hyperledger.protos.DevopsOuterClass.ExecuteWithBinding 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 org.hyperledger.protos.DevopsOuterClass.ExecuteWithBinding parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.hyperledger.protos.DevopsOuterClass.ExecuteWithBinding parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.hyperledger.protos.DevopsOuterClass.ExecuteWithBinding prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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;
}
/**
* Protobuf type {@code protos.ExecuteWithBinding}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:protos.ExecuteWithBinding)
org.hyperledger.protos.DevopsOuterClass.ExecuteWithBindingOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.hyperledger.protos.DevopsOuterClass.internal_static_protos_ExecuteWithBinding_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.hyperledger.protos.DevopsOuterClass.internal_static_protos_ExecuteWithBinding_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.hyperledger.protos.DevopsOuterClass.ExecuteWithBinding.class, org.hyperledger.protos.DevopsOuterClass.ExecuteWithBinding.Builder.class);
}
// Construct using org.hyperledger.protos.DevopsOuterClass.ExecuteWithBinding.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
if (chaincodeInvocationSpecBuilder_ == null) {
chaincodeInvocationSpec_ = null;
} else {
chaincodeInvocationSpec_ = null;
chaincodeInvocationSpecBuilder_ = null;
}
binding_ = com.google.protobuf.ByteString.EMPTY;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.hyperledger.protos.DevopsOuterClass.internal_static_protos_ExecuteWithBinding_descriptor;
}
public org.hyperledger.protos.DevopsOuterClass.ExecuteWithBinding getDefaultInstanceForType() {
return org.hyperledger.protos.DevopsOuterClass.ExecuteWithBinding.getDefaultInstance();
}
public org.hyperledger.protos.DevopsOuterClass.ExecuteWithBinding build() {
org.hyperledger.protos.DevopsOuterClass.ExecuteWithBinding result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.hyperledger.protos.DevopsOuterClass.ExecuteWithBinding buildPartial() {
org.hyperledger.protos.DevopsOuterClass.ExecuteWithBinding result = new org.hyperledger.protos.DevopsOuterClass.ExecuteWithBinding(this);
if (chaincodeInvocationSpecBuilder_ == null) {
result.chaincodeInvocationSpec_ = chaincodeInvocationSpec_;
} else {
result.chaincodeInvocationSpec_ = chaincodeInvocationSpecBuilder_.build();
}
result.binding_ = binding_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.hyperledger.protos.DevopsOuterClass.ExecuteWithBinding) {
return mergeFrom((org.hyperledger.protos.DevopsOuterClass.ExecuteWithBinding)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.hyperledger.protos.DevopsOuterClass.ExecuteWithBinding other) {
if (other == org.hyperledger.protos.DevopsOuterClass.ExecuteWithBinding.getDefaultInstance()) return this;
if (other.hasChaincodeInvocationSpec()) {
mergeChaincodeInvocationSpec(other.getChaincodeInvocationSpec());
}
if (other.getBinding() != com.google.protobuf.ByteString.EMPTY) {
setBinding(other.getBinding());
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.hyperledger.protos.DevopsOuterClass.ExecuteWithBinding parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.hyperledger.protos.DevopsOuterClass.ExecuteWithBinding) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private org.hyperledger.protos.Chaincode.ChaincodeInvocationSpec chaincodeInvocationSpec_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
org.hyperledger.protos.Chaincode.ChaincodeInvocationSpec, org.hyperledger.protos.Chaincode.ChaincodeInvocationSpec.Builder, org.hyperledger.protos.Chaincode.ChaincodeInvocationSpecOrBuilder> chaincodeInvocationSpecBuilder_;
/**
* optional .protos.ChaincodeInvocationSpec chaincodeInvocationSpec = 1;
*/
public boolean hasChaincodeInvocationSpec() {
return chaincodeInvocationSpecBuilder_ != null || chaincodeInvocationSpec_ != null;
}
/**
* optional .protos.ChaincodeInvocationSpec chaincodeInvocationSpec = 1;
*/
public org.hyperledger.protos.Chaincode.ChaincodeInvocationSpec getChaincodeInvocationSpec() {
if (chaincodeInvocationSpecBuilder_ == null) {
return chaincodeInvocationSpec_ == null ? org.hyperledger.protos.Chaincode.ChaincodeInvocationSpec.getDefaultInstance() : chaincodeInvocationSpec_;
} else {
return chaincodeInvocationSpecBuilder_.getMessage();
}
}
/**
* optional .protos.ChaincodeInvocationSpec chaincodeInvocationSpec = 1;
*/
public Builder setChaincodeInvocationSpec(org.hyperledger.protos.Chaincode.ChaincodeInvocationSpec value) {
if (chaincodeInvocationSpecBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
chaincodeInvocationSpec_ = value;
onChanged();
} else {
chaincodeInvocationSpecBuilder_.setMessage(value);
}
return this;
}
/**
* optional .protos.ChaincodeInvocationSpec chaincodeInvocationSpec = 1;
*/
public Builder setChaincodeInvocationSpec(
org.hyperledger.protos.Chaincode.ChaincodeInvocationSpec.Builder builderForValue) {
if (chaincodeInvocationSpecBuilder_ == null) {
chaincodeInvocationSpec_ = builderForValue.build();
onChanged();
} else {
chaincodeInvocationSpecBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* optional .protos.ChaincodeInvocationSpec chaincodeInvocationSpec = 1;
*/
public Builder mergeChaincodeInvocationSpec(org.hyperledger.protos.Chaincode.ChaincodeInvocationSpec value) {
if (chaincodeInvocationSpecBuilder_ == null) {
if (chaincodeInvocationSpec_ != null) {
chaincodeInvocationSpec_ =
org.hyperledger.protos.Chaincode.ChaincodeInvocationSpec.newBuilder(chaincodeInvocationSpec_).mergeFrom(value).buildPartial();
} else {
chaincodeInvocationSpec_ = value;
}
onChanged();
} else {
chaincodeInvocationSpecBuilder_.mergeFrom(value);
}
return this;
}
/**
* optional .protos.ChaincodeInvocationSpec chaincodeInvocationSpec = 1;
*/
public Builder clearChaincodeInvocationSpec() {
if (chaincodeInvocationSpecBuilder_ == null) {
chaincodeInvocationSpec_ = null;
onChanged();
} else {
chaincodeInvocationSpec_ = null;
chaincodeInvocationSpecBuilder_ = null;
}
return this;
}
/**
* optional .protos.ChaincodeInvocationSpec chaincodeInvocationSpec = 1;
*/
public org.hyperledger.protos.Chaincode.ChaincodeInvocationSpec.Builder getChaincodeInvocationSpecBuilder() {
onChanged();
return getChaincodeInvocationSpecFieldBuilder().getBuilder();
}
/**
* optional .protos.ChaincodeInvocationSpec chaincodeInvocationSpec = 1;
*/
public org.hyperledger.protos.Chaincode.ChaincodeInvocationSpecOrBuilder getChaincodeInvocationSpecOrBuilder() {
if (chaincodeInvocationSpecBuilder_ != null) {
return chaincodeInvocationSpecBuilder_.getMessageOrBuilder();
} else {
return chaincodeInvocationSpec_ == null ?
org.hyperledger.protos.Chaincode.ChaincodeInvocationSpec.getDefaultInstance() : chaincodeInvocationSpec_;
}
}
/**
* optional .protos.ChaincodeInvocationSpec chaincodeInvocationSpec = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.hyperledger.protos.Chaincode.ChaincodeInvocationSpec, org.hyperledger.protos.Chaincode.ChaincodeInvocationSpec.Builder, org.hyperledger.protos.Chaincode.ChaincodeInvocationSpecOrBuilder>
getChaincodeInvocationSpecFieldBuilder() {
if (chaincodeInvocationSpecBuilder_ == null) {
chaincodeInvocationSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.hyperledger.protos.Chaincode.ChaincodeInvocationSpec, org.hyperledger.protos.Chaincode.ChaincodeInvocationSpec.Builder, org.hyperledger.protos.Chaincode.ChaincodeInvocationSpecOrBuilder>(
getChaincodeInvocationSpec(),
getParentForChildren(),
isClean());
chaincodeInvocationSpec_ = null;
}
return chaincodeInvocationSpecBuilder_;
}
private com.google.protobuf.ByteString binding_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes binding = 2;
*/
public com.google.protobuf.ByteString getBinding() {
return binding_;
}
/**
* optional bytes binding = 2;
*/
public Builder setBinding(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
binding_ = value;
onChanged();
return this;
}
/**
* optional bytes binding = 2;
*/
public Builder clearBinding() {
binding_ = getDefaultInstance().getBinding();
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:protos.ExecuteWithBinding)
}
// @@protoc_insertion_point(class_scope:protos.ExecuteWithBinding)
private static final org.hyperledger.protos.DevopsOuterClass.ExecuteWithBinding DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.hyperledger.protos.DevopsOuterClass.ExecuteWithBinding();
}
public static org.hyperledger.protos.DevopsOuterClass.ExecuteWithBinding getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public ExecuteWithBinding parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ExecuteWithBinding(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.hyperledger.protos.DevopsOuterClass.ExecuteWithBinding getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SigmaOutputOrBuilder extends
// @@protoc_insertion_point(interface_extends:protos.SigmaOutput)
com.google.protobuf.MessageOrBuilder {
/**
* optional bytes tcert = 1;
*/
com.google.protobuf.ByteString getTcert();
/**
* optional bytes sigma = 2;
*/
com.google.protobuf.ByteString getSigma();
/**
* optional bytes asn1Encoding = 3;
*/
com.google.protobuf.ByteString getAsn1Encoding();
}
/**
* Protobuf type {@code protos.SigmaOutput}
*/
public static final class SigmaOutput extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:protos.SigmaOutput)
SigmaOutputOrBuilder {
// Use SigmaOutput.newBuilder() to construct.
private SigmaOutput(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SigmaOutput() {
tcert_ = com.google.protobuf.ByteString.EMPTY;
sigma_ = com.google.protobuf.ByteString.EMPTY;
asn1Encoding_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private SigmaOutput(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
tcert_ = input.readBytes();
break;
}
case 18: {
sigma_ = input.readBytes();
break;
}
case 26: {
asn1Encoding_ = input.readBytes();
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 {
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.hyperledger.protos.DevopsOuterClass.internal_static_protos_SigmaOutput_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.hyperledger.protos.DevopsOuterClass.internal_static_protos_SigmaOutput_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.hyperledger.protos.DevopsOuterClass.SigmaOutput.class, org.hyperledger.protos.DevopsOuterClass.SigmaOutput.Builder.class);
}
public static final int TCERT_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString tcert_;
/**
* optional bytes tcert = 1;
*/
public com.google.protobuf.ByteString getTcert() {
return tcert_;
}
public static final int SIGMA_FIELD_NUMBER = 2;
private com.google.protobuf.ByteString sigma_;
/**
* optional bytes sigma = 2;
*/
public com.google.protobuf.ByteString getSigma() {
return sigma_;
}
public static final int ASN1ENCODING_FIELD_NUMBER = 3;
private com.google.protobuf.ByteString asn1Encoding_;
/**
* optional bytes asn1Encoding = 3;
*/
public com.google.protobuf.ByteString getAsn1Encoding() {
return asn1Encoding_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!tcert_.isEmpty()) {
output.writeBytes(1, tcert_);
}
if (!sigma_.isEmpty()) {
output.writeBytes(2, sigma_);
}
if (!asn1Encoding_.isEmpty()) {
output.writeBytes(3, asn1Encoding_);
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!tcert_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, tcert_);
}
if (!sigma_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, sigma_);
}
if (!asn1Encoding_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, asn1Encoding_);
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.hyperledger.protos.DevopsOuterClass.SigmaOutput)) {
return super.equals(obj);
}
org.hyperledger.protos.DevopsOuterClass.SigmaOutput other = (org.hyperledger.protos.DevopsOuterClass.SigmaOutput) obj;
boolean result = true;
result = result && getTcert()
.equals(other.getTcert());
result = result && getSigma()
.equals(other.getSigma());
result = result && getAsn1Encoding()
.equals(other.getAsn1Encoding());
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
hash = (37 * hash) + TCERT_FIELD_NUMBER;
hash = (53 * hash) + getTcert().hashCode();
hash = (37 * hash) + SIGMA_FIELD_NUMBER;
hash = (53 * hash) + getSigma().hashCode();
hash = (37 * hash) + ASN1ENCODING_FIELD_NUMBER;
hash = (53 * hash) + getAsn1Encoding().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.hyperledger.protos.DevopsOuterClass.SigmaOutput parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hyperledger.protos.DevopsOuterClass.SigmaOutput parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hyperledger.protos.DevopsOuterClass.SigmaOutput parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hyperledger.protos.DevopsOuterClass.SigmaOutput parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hyperledger.protos.DevopsOuterClass.SigmaOutput parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.hyperledger.protos.DevopsOuterClass.SigmaOutput 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 org.hyperledger.protos.DevopsOuterClass.SigmaOutput parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.hyperledger.protos.DevopsOuterClass.SigmaOutput 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 org.hyperledger.protos.DevopsOuterClass.SigmaOutput parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.hyperledger.protos.DevopsOuterClass.SigmaOutput parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.hyperledger.protos.DevopsOuterClass.SigmaOutput prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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;
}
/**
* Protobuf type {@code protos.SigmaOutput}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:protos.SigmaOutput)
org.hyperledger.protos.DevopsOuterClass.SigmaOutputOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.hyperledger.protos.DevopsOuterClass.internal_static_protos_SigmaOutput_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.hyperledger.protos.DevopsOuterClass.internal_static_protos_SigmaOutput_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.hyperledger.protos.DevopsOuterClass.SigmaOutput.class, org.hyperledger.protos.DevopsOuterClass.SigmaOutput.Builder.class);
}
// Construct using org.hyperledger.protos.DevopsOuterClass.SigmaOutput.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
tcert_ = com.google.protobuf.ByteString.EMPTY;
sigma_ = com.google.protobuf.ByteString.EMPTY;
asn1Encoding_ = com.google.protobuf.ByteString.EMPTY;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.hyperledger.protos.DevopsOuterClass.internal_static_protos_SigmaOutput_descriptor;
}
public org.hyperledger.protos.DevopsOuterClass.SigmaOutput getDefaultInstanceForType() {
return org.hyperledger.protos.DevopsOuterClass.SigmaOutput.getDefaultInstance();
}
public org.hyperledger.protos.DevopsOuterClass.SigmaOutput build() {
org.hyperledger.protos.DevopsOuterClass.SigmaOutput result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.hyperledger.protos.DevopsOuterClass.SigmaOutput buildPartial() {
org.hyperledger.protos.DevopsOuterClass.SigmaOutput result = new org.hyperledger.protos.DevopsOuterClass.SigmaOutput(this);
result.tcert_ = tcert_;
result.sigma_ = sigma_;
result.asn1Encoding_ = asn1Encoding_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.hyperledger.protos.DevopsOuterClass.SigmaOutput) {
return mergeFrom((org.hyperledger.protos.DevopsOuterClass.SigmaOutput)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.hyperledger.protos.DevopsOuterClass.SigmaOutput other) {
if (other == org.hyperledger.protos.DevopsOuterClass.SigmaOutput.getDefaultInstance()) return this;
if (other.getTcert() != com.google.protobuf.ByteString.EMPTY) {
setTcert(other.getTcert());
}
if (other.getSigma() != com.google.protobuf.ByteString.EMPTY) {
setSigma(other.getSigma());
}
if (other.getAsn1Encoding() != com.google.protobuf.ByteString.EMPTY) {
setAsn1Encoding(other.getAsn1Encoding());
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.hyperledger.protos.DevopsOuterClass.SigmaOutput parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.hyperledger.protos.DevopsOuterClass.SigmaOutput) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.ByteString tcert_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes tcert = 1;
*/
public com.google.protobuf.ByteString getTcert() {
return tcert_;
}
/**
* optional bytes tcert = 1;
*/
public Builder setTcert(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
tcert_ = value;
onChanged();
return this;
}
/**
* optional bytes tcert = 1;
*/
public Builder clearTcert() {
tcert_ = getDefaultInstance().getTcert();
onChanged();
return this;
}
private com.google.protobuf.ByteString sigma_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes sigma = 2;
*/
public com.google.protobuf.ByteString getSigma() {
return sigma_;
}
/**
* optional bytes sigma = 2;
*/
public Builder setSigma(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
sigma_ = value;
onChanged();
return this;
}
/**
* optional bytes sigma = 2;
*/
public Builder clearSigma() {
sigma_ = getDefaultInstance().getSigma();
onChanged();
return this;
}
private com.google.protobuf.ByteString asn1Encoding_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes asn1Encoding = 3;
*/
public com.google.protobuf.ByteString getAsn1Encoding() {
return asn1Encoding_;
}
/**
* optional bytes asn1Encoding = 3;
*/
public Builder setAsn1Encoding(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
asn1Encoding_ = value;
onChanged();
return this;
}
/**
* optional bytes asn1Encoding = 3;
*/
public Builder clearAsn1Encoding() {
asn1Encoding_ = getDefaultInstance().getAsn1Encoding();
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:protos.SigmaOutput)
}
// @@protoc_insertion_point(class_scope:protos.SigmaOutput)
private static final org.hyperledger.protos.DevopsOuterClass.SigmaOutput DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.hyperledger.protos.DevopsOuterClass.SigmaOutput();
}
public static org.hyperledger.protos.DevopsOuterClass.SigmaOutput getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public SigmaOutput parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SigmaOutput(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.hyperledger.protos.DevopsOuterClass.SigmaOutput getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface BuildResultOrBuilder extends
// @@protoc_insertion_point(interface_extends:protos.BuildResult)
com.google.protobuf.MessageOrBuilder {
/**
* optional .protos.BuildResult.StatusCode status = 1;
*/
int getStatusValue();
/**
* optional .protos.BuildResult.StatusCode status = 1;
*/
org.hyperledger.protos.DevopsOuterClass.BuildResult.StatusCode getStatus();
/**
* optional string msg = 2;
*/
java.lang.String getMsg();
/**
* optional string msg = 2;
*/
com.google.protobuf.ByteString
getMsgBytes();
/**
* optional .protos.ChaincodeDeploymentSpec deploymentSpec = 3;
*/
boolean hasDeploymentSpec();
/**
* optional .protos.ChaincodeDeploymentSpec deploymentSpec = 3;
*/
org.hyperledger.protos.Chaincode.ChaincodeDeploymentSpec getDeploymentSpec();
/**
* optional .protos.ChaincodeDeploymentSpec deploymentSpec = 3;
*/
org.hyperledger.protos.Chaincode.ChaincodeDeploymentSpecOrBuilder getDeploymentSpecOrBuilder();
}
/**
* Protobuf type {@code protos.BuildResult}
*/
public static final class BuildResult extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:protos.BuildResult)
BuildResultOrBuilder {
// Use BuildResult.newBuilder() to construct.
private BuildResult(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private BuildResult() {
status_ = 0;
msg_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private BuildResult(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 8: {
int rawValue = input.readEnum();
status_ = rawValue;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
msg_ = s;
break;
}
case 26: {
org.hyperledger.protos.Chaincode.ChaincodeDeploymentSpec.Builder subBuilder = null;
if (deploymentSpec_ != null) {
subBuilder = deploymentSpec_.toBuilder();
}
deploymentSpec_ = input.readMessage(org.hyperledger.protos.Chaincode.ChaincodeDeploymentSpec.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(deploymentSpec_);
deploymentSpec_ = subBuilder.buildPartial();
}
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 {
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.hyperledger.protos.DevopsOuterClass.internal_static_protos_BuildResult_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.hyperledger.protos.DevopsOuterClass.internal_static_protos_BuildResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.hyperledger.protos.DevopsOuterClass.BuildResult.class, org.hyperledger.protos.DevopsOuterClass.BuildResult.Builder.class);
}
/**
* Protobuf enum {@code protos.BuildResult.StatusCode}
*/
public enum StatusCode
implements com.google.protobuf.ProtocolMessageEnum {
/**
* UNDEFINED = 0;
*/
UNDEFINED(0),
/**
* SUCCESS = 1;
*/
SUCCESS(1),
/**
* FAILURE = 2;
*/
FAILURE(2),
UNRECOGNIZED(-1),
;
/**
* UNDEFINED = 0;
*/
public static final int UNDEFINED_VALUE = 0;
/**
* SUCCESS = 1;
*/
public static final int SUCCESS_VALUE = 1;
/**
* FAILURE = 2;
*/
public static final int FAILURE_VALUE = 2;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static StatusCode valueOf(int value) {
return forNumber(value);
}
public static StatusCode forNumber(int value) {
switch (value) {
case 0: return UNDEFINED;
case 1: return SUCCESS;
case 2: return FAILURE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
StatusCode> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public StatusCode findValueByNumber(int number) {
return StatusCode.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.hyperledger.protos.DevopsOuterClass.BuildResult.getDescriptor().getEnumTypes().get(0);
}
private static final StatusCode[] VALUES = values();
public static StatusCode valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private StatusCode(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:protos.BuildResult.StatusCode)
}
public static final int STATUS_FIELD_NUMBER = 1;
private int status_;
/**
* optional .protos.BuildResult.StatusCode status = 1;
*/
public int getStatusValue() {
return status_;
}
/**
* optional .protos.BuildResult.StatusCode status = 1;
*/
public org.hyperledger.protos.DevopsOuterClass.BuildResult.StatusCode getStatus() {
org.hyperledger.protos.DevopsOuterClass.BuildResult.StatusCode result = org.hyperledger.protos.DevopsOuterClass.BuildResult.StatusCode.valueOf(status_);
return result == null ? org.hyperledger.protos.DevopsOuterClass.BuildResult.StatusCode.UNRECOGNIZED : result;
}
public static final int MSG_FIELD_NUMBER = 2;
private volatile java.lang.Object msg_;
/**
* optional string msg = 2;
*/
public java.lang.String getMsg() {
java.lang.Object ref = msg_;
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();
msg_ = s;
return s;
}
}
/**
* optional string msg = 2;
*/
public com.google.protobuf.ByteString
getMsgBytes() {
java.lang.Object ref = msg_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
msg_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DEPLOYMENTSPEC_FIELD_NUMBER = 3;
private org.hyperledger.protos.Chaincode.ChaincodeDeploymentSpec deploymentSpec_;
/**
* optional .protos.ChaincodeDeploymentSpec deploymentSpec = 3;
*/
public boolean hasDeploymentSpec() {
return deploymentSpec_ != null;
}
/**
* optional .protos.ChaincodeDeploymentSpec deploymentSpec = 3;
*/
public org.hyperledger.protos.Chaincode.ChaincodeDeploymentSpec getDeploymentSpec() {
return deploymentSpec_ == null ? org.hyperledger.protos.Chaincode.ChaincodeDeploymentSpec.getDefaultInstance() : deploymentSpec_;
}
/**
* optional .protos.ChaincodeDeploymentSpec deploymentSpec = 3;
*/
public org.hyperledger.protos.Chaincode.ChaincodeDeploymentSpecOrBuilder getDeploymentSpecOrBuilder() {
return getDeploymentSpec();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (status_ != org.hyperledger.protos.DevopsOuterClass.BuildResult.StatusCode.UNDEFINED.getNumber()) {
output.writeEnum(1, status_);
}
if (!getMsgBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, msg_);
}
if (deploymentSpec_ != null) {
output.writeMessage(3, getDeploymentSpec());
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (status_ != org.hyperledger.protos.DevopsOuterClass.BuildResult.StatusCode.UNDEFINED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, status_);
}
if (!getMsgBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, msg_);
}
if (deploymentSpec_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getDeploymentSpec());
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.hyperledger.protos.DevopsOuterClass.BuildResult)) {
return super.equals(obj);
}
org.hyperledger.protos.DevopsOuterClass.BuildResult other = (org.hyperledger.protos.DevopsOuterClass.BuildResult) obj;
boolean result = true;
result = result && status_ == other.status_;
result = result && getMsg()
.equals(other.getMsg());
result = result && (hasDeploymentSpec() == other.hasDeploymentSpec());
if (hasDeploymentSpec()) {
result = result && getDeploymentSpec()
.equals(other.getDeploymentSpec());
}
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + status_;
hash = (37 * hash) + MSG_FIELD_NUMBER;
hash = (53 * hash) + getMsg().hashCode();
if (hasDeploymentSpec()) {
hash = (37 * hash) + DEPLOYMENTSPEC_FIELD_NUMBER;
hash = (53 * hash) + getDeploymentSpec().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.hyperledger.protos.DevopsOuterClass.BuildResult parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hyperledger.protos.DevopsOuterClass.BuildResult parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hyperledger.protos.DevopsOuterClass.BuildResult parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hyperledger.protos.DevopsOuterClass.BuildResult parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hyperledger.protos.DevopsOuterClass.BuildResult parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.hyperledger.protos.DevopsOuterClass.BuildResult 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 org.hyperledger.protos.DevopsOuterClass.BuildResult parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.hyperledger.protos.DevopsOuterClass.BuildResult 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 org.hyperledger.protos.DevopsOuterClass.BuildResult parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.hyperledger.protos.DevopsOuterClass.BuildResult parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.hyperledger.protos.DevopsOuterClass.BuildResult prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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;
}
/**
* Protobuf type {@code protos.BuildResult}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:protos.BuildResult)
org.hyperledger.protos.DevopsOuterClass.BuildResultOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.hyperledger.protos.DevopsOuterClass.internal_static_protos_BuildResult_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.hyperledger.protos.DevopsOuterClass.internal_static_protos_BuildResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.hyperledger.protos.DevopsOuterClass.BuildResult.class, org.hyperledger.protos.DevopsOuterClass.BuildResult.Builder.class);
}
// Construct using org.hyperledger.protos.DevopsOuterClass.BuildResult.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
status_ = 0;
msg_ = "";
if (deploymentSpecBuilder_ == null) {
deploymentSpec_ = null;
} else {
deploymentSpec_ = null;
deploymentSpecBuilder_ = null;
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.hyperledger.protos.DevopsOuterClass.internal_static_protos_BuildResult_descriptor;
}
public org.hyperledger.protos.DevopsOuterClass.BuildResult getDefaultInstanceForType() {
return org.hyperledger.protos.DevopsOuterClass.BuildResult.getDefaultInstance();
}
public org.hyperledger.protos.DevopsOuterClass.BuildResult build() {
org.hyperledger.protos.DevopsOuterClass.BuildResult result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.hyperledger.protos.DevopsOuterClass.BuildResult buildPartial() {
org.hyperledger.protos.DevopsOuterClass.BuildResult result = new org.hyperledger.protos.DevopsOuterClass.BuildResult(this);
result.status_ = status_;
result.msg_ = msg_;
if (deploymentSpecBuilder_ == null) {
result.deploymentSpec_ = deploymentSpec_;
} else {
result.deploymentSpec_ = deploymentSpecBuilder_.build();
}
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.hyperledger.protos.DevopsOuterClass.BuildResult) {
return mergeFrom((org.hyperledger.protos.DevopsOuterClass.BuildResult)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.hyperledger.protos.DevopsOuterClass.BuildResult other) {
if (other == org.hyperledger.protos.DevopsOuterClass.BuildResult.getDefaultInstance()) return this;
if (other.status_ != 0) {
setStatusValue(other.getStatusValue());
}
if (!other.getMsg().isEmpty()) {
msg_ = other.msg_;
onChanged();
}
if (other.hasDeploymentSpec()) {
mergeDeploymentSpec(other.getDeploymentSpec());
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.hyperledger.protos.DevopsOuterClass.BuildResult parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.hyperledger.protos.DevopsOuterClass.BuildResult) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int status_ = 0;
/**
* optional .protos.BuildResult.StatusCode status = 1;
*/
public int getStatusValue() {
return status_;
}
/**
* optional .protos.BuildResult.StatusCode status = 1;
*/
public Builder setStatusValue(int value) {
status_ = value;
onChanged();
return this;
}
/**
* optional .protos.BuildResult.StatusCode status = 1;
*/
public org.hyperledger.protos.DevopsOuterClass.BuildResult.StatusCode getStatus() {
org.hyperledger.protos.DevopsOuterClass.BuildResult.StatusCode result = org.hyperledger.protos.DevopsOuterClass.BuildResult.StatusCode.valueOf(status_);
return result == null ? org.hyperledger.protos.DevopsOuterClass.BuildResult.StatusCode.UNRECOGNIZED : result;
}
/**
* optional .protos.BuildResult.StatusCode status = 1;
*/
public Builder setStatus(org.hyperledger.protos.DevopsOuterClass.BuildResult.StatusCode value) {
if (value == null) {
throw new NullPointerException();
}
status_ = value.getNumber();
onChanged();
return this;
}
/**
* optional .protos.BuildResult.StatusCode status = 1;
*/
public Builder clearStatus() {
status_ = 0;
onChanged();
return this;
}
private java.lang.Object msg_ = "";
/**
* optional string msg = 2;
*/
public java.lang.String getMsg() {
java.lang.Object ref = msg_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
msg_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string msg = 2;
*/
public com.google.protobuf.ByteString
getMsgBytes() {
java.lang.Object ref = msg_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
msg_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string msg = 2;
*/
public Builder setMsg(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
msg_ = value;
onChanged();
return this;
}
/**
* optional string msg = 2;
*/
public Builder clearMsg() {
msg_ = getDefaultInstance().getMsg();
onChanged();
return this;
}
/**
* optional string msg = 2;
*/
public Builder setMsgBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
msg_ = value;
onChanged();
return this;
}
private org.hyperledger.protos.Chaincode.ChaincodeDeploymentSpec deploymentSpec_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
org.hyperledger.protos.Chaincode.ChaincodeDeploymentSpec, org.hyperledger.protos.Chaincode.ChaincodeDeploymentSpec.Builder, org.hyperledger.protos.Chaincode.ChaincodeDeploymentSpecOrBuilder> deploymentSpecBuilder_;
/**
* optional .protos.ChaincodeDeploymentSpec deploymentSpec = 3;
*/
public boolean hasDeploymentSpec() {
return deploymentSpecBuilder_ != null || deploymentSpec_ != null;
}
/**
* optional .protos.ChaincodeDeploymentSpec deploymentSpec = 3;
*/
public org.hyperledger.protos.Chaincode.ChaincodeDeploymentSpec getDeploymentSpec() {
if (deploymentSpecBuilder_ == null) {
return deploymentSpec_ == null ? org.hyperledger.protos.Chaincode.ChaincodeDeploymentSpec.getDefaultInstance() : deploymentSpec_;
} else {
return deploymentSpecBuilder_.getMessage();
}
}
/**
* optional .protos.ChaincodeDeploymentSpec deploymentSpec = 3;
*/
public Builder setDeploymentSpec(org.hyperledger.protos.Chaincode.ChaincodeDeploymentSpec value) {
if (deploymentSpecBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
deploymentSpec_ = value;
onChanged();
} else {
deploymentSpecBuilder_.setMessage(value);
}
return this;
}
/**
* optional .protos.ChaincodeDeploymentSpec deploymentSpec = 3;
*/
public Builder setDeploymentSpec(
org.hyperledger.protos.Chaincode.ChaincodeDeploymentSpec.Builder builderForValue) {
if (deploymentSpecBuilder_ == null) {
deploymentSpec_ = builderForValue.build();
onChanged();
} else {
deploymentSpecBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* optional .protos.ChaincodeDeploymentSpec deploymentSpec = 3;
*/
public Builder mergeDeploymentSpec(org.hyperledger.protos.Chaincode.ChaincodeDeploymentSpec value) {
if (deploymentSpecBuilder_ == null) {
if (deploymentSpec_ != null) {
deploymentSpec_ =
org.hyperledger.protos.Chaincode.ChaincodeDeploymentSpec.newBuilder(deploymentSpec_).mergeFrom(value).buildPartial();
} else {
deploymentSpec_ = value;
}
onChanged();
} else {
deploymentSpecBuilder_.mergeFrom(value);
}
return this;
}
/**
* optional .protos.ChaincodeDeploymentSpec deploymentSpec = 3;
*/
public Builder clearDeploymentSpec() {
if (deploymentSpecBuilder_ == null) {
deploymentSpec_ = null;
onChanged();
} else {
deploymentSpec_ = null;
deploymentSpecBuilder_ = null;
}
return this;
}
/**
* optional .protos.ChaincodeDeploymentSpec deploymentSpec = 3;
*/
public org.hyperledger.protos.Chaincode.ChaincodeDeploymentSpec.Builder getDeploymentSpecBuilder() {
onChanged();
return getDeploymentSpecFieldBuilder().getBuilder();
}
/**
* optional .protos.ChaincodeDeploymentSpec deploymentSpec = 3;
*/
public org.hyperledger.protos.Chaincode.ChaincodeDeploymentSpecOrBuilder getDeploymentSpecOrBuilder() {
if (deploymentSpecBuilder_ != null) {
return deploymentSpecBuilder_.getMessageOrBuilder();
} else {
return deploymentSpec_ == null ?
org.hyperledger.protos.Chaincode.ChaincodeDeploymentSpec.getDefaultInstance() : deploymentSpec_;
}
}
/**
* optional .protos.ChaincodeDeploymentSpec deploymentSpec = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.hyperledger.protos.Chaincode.ChaincodeDeploymentSpec, org.hyperledger.protos.Chaincode.ChaincodeDeploymentSpec.Builder, org.hyperledger.protos.Chaincode.ChaincodeDeploymentSpecOrBuilder>
getDeploymentSpecFieldBuilder() {
if (deploymentSpecBuilder_ == null) {
deploymentSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.hyperledger.protos.Chaincode.ChaincodeDeploymentSpec, org.hyperledger.protos.Chaincode.ChaincodeDeploymentSpec.Builder, org.hyperledger.protos.Chaincode.ChaincodeDeploymentSpecOrBuilder>(
getDeploymentSpec(),
getParentForChildren(),
isClean());
deploymentSpec_ = null;
}
return deploymentSpecBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:protos.BuildResult)
}
// @@protoc_insertion_point(class_scope:protos.BuildResult)
private static final org.hyperledger.protos.DevopsOuterClass.BuildResult DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.hyperledger.protos.DevopsOuterClass.BuildResult();
}
public static org.hyperledger.protos.DevopsOuterClass.BuildResult getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public BuildResult parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new BuildResult(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.hyperledger.protos.DevopsOuterClass.BuildResult getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TransactionRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:protos.TransactionRequest)
com.google.protobuf.MessageOrBuilder {
/**
* optional string transactionUuid = 1;
*/
java.lang.String getTransactionUuid();
/**
* optional string transactionUuid = 1;
*/
com.google.protobuf.ByteString
getTransactionUuidBytes();
}
/**
* Protobuf type {@code protos.TransactionRequest}
*/
public static final class TransactionRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:protos.TransactionRequest)
TransactionRequestOrBuilder {
// Use TransactionRequest.newBuilder() to construct.
private TransactionRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TransactionRequest() {
transactionUuid_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private TransactionRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
transactionUuid_ = s;
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 {
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.hyperledger.protos.DevopsOuterClass.internal_static_protos_TransactionRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.hyperledger.protos.DevopsOuterClass.internal_static_protos_TransactionRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.hyperledger.protos.DevopsOuterClass.TransactionRequest.class, org.hyperledger.protos.DevopsOuterClass.TransactionRequest.Builder.class);
}
public static final int TRANSACTIONUUID_FIELD_NUMBER = 1;
private volatile java.lang.Object transactionUuid_;
/**
* optional string transactionUuid = 1;
*/
public java.lang.String getTransactionUuid() {
java.lang.Object ref = transactionUuid_;
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();
transactionUuid_ = s;
return s;
}
}
/**
* optional string transactionUuid = 1;
*/
public com.google.protobuf.ByteString
getTransactionUuidBytes() {
java.lang.Object ref = transactionUuid_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
transactionUuid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getTransactionUuidBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, transactionUuid_);
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getTransactionUuidBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, transactionUuid_);
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.hyperledger.protos.DevopsOuterClass.TransactionRequest)) {
return super.equals(obj);
}
org.hyperledger.protos.DevopsOuterClass.TransactionRequest other = (org.hyperledger.protos.DevopsOuterClass.TransactionRequest) obj;
boolean result = true;
result = result && getTransactionUuid()
.equals(other.getTransactionUuid());
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
hash = (37 * hash) + TRANSACTIONUUID_FIELD_NUMBER;
hash = (53 * hash) + getTransactionUuid().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.hyperledger.protos.DevopsOuterClass.TransactionRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hyperledger.protos.DevopsOuterClass.TransactionRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hyperledger.protos.DevopsOuterClass.TransactionRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hyperledger.protos.DevopsOuterClass.TransactionRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hyperledger.protos.DevopsOuterClass.TransactionRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.hyperledger.protos.DevopsOuterClass.TransactionRequest 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 org.hyperledger.protos.DevopsOuterClass.TransactionRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.hyperledger.protos.DevopsOuterClass.TransactionRequest 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 org.hyperledger.protos.DevopsOuterClass.TransactionRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.hyperledger.protos.DevopsOuterClass.TransactionRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.hyperledger.protos.DevopsOuterClass.TransactionRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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;
}
/**
* Protobuf type {@code protos.TransactionRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:protos.TransactionRequest)
org.hyperledger.protos.DevopsOuterClass.TransactionRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.hyperledger.protos.DevopsOuterClass.internal_static_protos_TransactionRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.hyperledger.protos.DevopsOuterClass.internal_static_protos_TransactionRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.hyperledger.protos.DevopsOuterClass.TransactionRequest.class, org.hyperledger.protos.DevopsOuterClass.TransactionRequest.Builder.class);
}
// Construct using org.hyperledger.protos.DevopsOuterClass.TransactionRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
transactionUuid_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.hyperledger.protos.DevopsOuterClass.internal_static_protos_TransactionRequest_descriptor;
}
public org.hyperledger.protos.DevopsOuterClass.TransactionRequest getDefaultInstanceForType() {
return org.hyperledger.protos.DevopsOuterClass.TransactionRequest.getDefaultInstance();
}
public org.hyperledger.protos.DevopsOuterClass.TransactionRequest build() {
org.hyperledger.protos.DevopsOuterClass.TransactionRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.hyperledger.protos.DevopsOuterClass.TransactionRequest buildPartial() {
org.hyperledger.protos.DevopsOuterClass.TransactionRequest result = new org.hyperledger.protos.DevopsOuterClass.TransactionRequest(this);
result.transactionUuid_ = transactionUuid_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.hyperledger.protos.DevopsOuterClass.TransactionRequest) {
return mergeFrom((org.hyperledger.protos.DevopsOuterClass.TransactionRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.hyperledger.protos.DevopsOuterClass.TransactionRequest other) {
if (other == org.hyperledger.protos.DevopsOuterClass.TransactionRequest.getDefaultInstance()) return this;
if (!other.getTransactionUuid().isEmpty()) {
transactionUuid_ = other.transactionUuid_;
onChanged();
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.hyperledger.protos.DevopsOuterClass.TransactionRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.hyperledger.protos.DevopsOuterClass.TransactionRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object transactionUuid_ = "";
/**
* optional string transactionUuid = 1;
*/
public java.lang.String getTransactionUuid() {
java.lang.Object ref = transactionUuid_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
transactionUuid_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string transactionUuid = 1;
*/
public com.google.protobuf.ByteString
getTransactionUuidBytes() {
java.lang.Object ref = transactionUuid_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
transactionUuid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string transactionUuid = 1;
*/
public Builder setTransactionUuid(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
transactionUuid_ = value;
onChanged();
return this;
}
/**
* optional string transactionUuid = 1;
*/
public Builder clearTransactionUuid() {
transactionUuid_ = getDefaultInstance().getTransactionUuid();
onChanged();
return this;
}
/**
* optional string transactionUuid = 1;
*/
public Builder setTransactionUuidBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
transactionUuid_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:protos.TransactionRequest)
}
// @@protoc_insertion_point(class_scope:protos.TransactionRequest)
private static final org.hyperledger.protos.DevopsOuterClass.TransactionRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.hyperledger.protos.DevopsOuterClass.TransactionRequest();
}
public static org.hyperledger.protos.DevopsOuterClass.TransactionRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public TransactionRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TransactionRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.hyperledger.protos.DevopsOuterClass.TransactionRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_protos_Secret_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_protos_Secret_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_protos_SigmaInput_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_protos_SigmaInput_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_protos_ExecuteWithBinding_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_protos_ExecuteWithBinding_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_protos_SigmaOutput_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_protos_SigmaOutput_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_protos_BuildResult_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_protos_BuildResult_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_protos_TransactionRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_protos_TransactionRequest_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\014devops.proto\022\006protos\032\017chaincode.proto\032" +
"\014fabric.proto\"0\n\006Secret\022\020\n\010enrollId\030\001 \001(" +
"\t\022\024\n\014enrollSecret\030\002 \001(\t\"L\n\nSigmaInput\022\036\n" +
"\006secret\030\001 \001(\0132\016.protos.Secret\022\020\n\010appTCer" +
"t\030\002 \001(\014\022\014\n\004data\030\003 \001(\014\"g\n\022ExecuteWithBind" +
"ing\022@\n\027chaincodeInvocationSpec\030\001 \001(\0132\037.p" +
"rotos.ChaincodeInvocationSpec\022\017\n\007binding" +
"\030\002 \001(\014\"A\n\013SigmaOutput\022\r\n\005tcert\030\001 \001(\014\022\r\n\005" +
"sigma\030\002 \001(\014\022\024\n\014asn1Encoding\030\003 \001(\014\"\272\001\n\013Bu" +
"ildResult\022.\n\006status\030\001 \001(\0162\036.protos.Build",
"Result.StatusCode\022\013\n\003msg\030\002 \001(\t\0227\n\016deploy" +
"mentSpec\030\003 \001(\0132\037.protos.ChaincodeDeploym" +
"entSpec\"5\n\nStatusCode\022\r\n\tUNDEFINED\020\000\022\013\n\007" +
"SUCCESS\020\001\022\013\n\007FAILURE\020\002\"-\n\022TransactionReq" +
"uest\022\027\n\017transactionUuid\030\001 \001(\t2\266\004\n\006Devops" +
"\022+\n\005Login\022\016.protos.Secret\032\020.protos.Respo" +
"nse\"\000\022A\n\005Build\022\025.protos.ChaincodeSpec\032\037." +
"protos.ChaincodeDeploymentSpec\"\000\022B\n\006Depl" +
"oy\022\025.protos.ChaincodeSpec\032\037.protos.Chain" +
"codeDeploymentSpec\"\000\022=\n\006Invoke\022\037.protos.",
"ChaincodeInvocationSpec\032\020.protos.Respons" +
"e\"\000\022<\n\005Query\022\037.protos.ChaincodeInvocatio" +
"nSpec\032\020.protos.Response\"\000\022=\n\027EXP_GetAppl" +
"icationTCert\022\016.protos.Secret\032\020.protos.Re" +
"sponse\"\000\0226\n\020EXP_PrepareForTx\022\016.protos.Se" +
"cret\032\020.protos.Response\"\000\022:\n\020EXP_ProduceS" +
"igma\022\022.protos.SigmaInput\032\020.protos.Respon" +
"se\"\000\022H\n\026EXP_ExecuteWithBinding\022\032.protos." +
"ExecuteWithBinding\032\020.protos.Response\"\000B\030" +
"\n\026org.hyperledger.protosb\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
org.hyperledger.protos.Chaincode.getDescriptor(),
org.hyperledger.protos.Fabric.getDescriptor(),
}, assigner);
internal_static_protos_Secret_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_protos_Secret_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_protos_Secret_descriptor,
new java.lang.String[] { "EnrollId", "EnrollSecret", });
internal_static_protos_SigmaInput_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_protos_SigmaInput_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_protos_SigmaInput_descriptor,
new java.lang.String[] { "Secret", "AppTCert", "Data", });
internal_static_protos_ExecuteWithBinding_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_protos_ExecuteWithBinding_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_protos_ExecuteWithBinding_descriptor,
new java.lang.String[] { "ChaincodeInvocationSpec", "Binding", });
internal_static_protos_SigmaOutput_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_protos_SigmaOutput_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_protos_SigmaOutput_descriptor,
new java.lang.String[] { "Tcert", "Sigma", "Asn1Encoding", });
internal_static_protos_BuildResult_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_protos_BuildResult_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_protos_BuildResult_descriptor,
new java.lang.String[] { "Status", "Msg", "DeploymentSpec", });
internal_static_protos_TransactionRequest_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_protos_TransactionRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_protos_TransactionRequest_descriptor,
new java.lang.String[] { "TransactionUuid", });
org.hyperledger.protos.Chaincode.getDescriptor();
org.hyperledger.protos.Fabric.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy