Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
sila2.org.silastandard.SiLAFramework Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: SiLAFramework.proto
package sila2.org.silastandard;
public final class SiLAFramework {
private SiLAFramework() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
/**
*
* -------- Framework Types --------
*
*
* Protobuf enum {@code sila2.org.silastandard.BasicType}
*/
public enum BasicType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* STRING = 0;
*/
STRING(0),
/**
* INTEGER = 1;
*/
INTEGER(1),
/**
* REAL = 2;
*/
REAL(2),
/**
* BOOLEAN = 3;
*/
BOOLEAN(3),
/**
* SMALL_BINARY = 4;
*/
SMALL_BINARY(4),
/**
* LARGE_BINARY = 5;
*/
LARGE_BINARY(5),
/**
* DATE = 6;
*/
DATE(6),
/**
* TIME = 7;
*/
TIME(7),
/**
* TIME_STAMP = 8;
*/
TIME_STAMP(8),
UNRECOGNIZED(-1),
;
/**
* STRING = 0;
*/
public static final int STRING_VALUE = 0;
/**
* INTEGER = 1;
*/
public static final int INTEGER_VALUE = 1;
/**
* REAL = 2;
*/
public static final int REAL_VALUE = 2;
/**
* BOOLEAN = 3;
*/
public static final int BOOLEAN_VALUE = 3;
/**
* SMALL_BINARY = 4;
*/
public static final int SMALL_BINARY_VALUE = 4;
/**
* LARGE_BINARY = 5;
*/
public static final int LARGE_BINARY_VALUE = 5;
/**
* DATE = 6;
*/
public static final int DATE_VALUE = 6;
/**
* TIME = 7;
*/
public static final int TIME_VALUE = 7;
/**
* TIME_STAMP = 8;
*/
public static final int TIME_STAMP_VALUE = 8;
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 BasicType valueOf(int value) {
return forNumber(value);
}
public static BasicType forNumber(int value) {
switch (value) {
case 0: return STRING;
case 1: return INTEGER;
case 2: return REAL;
case 3: return BOOLEAN;
case 4: return SMALL_BINARY;
case 5: return LARGE_BINARY;
case 6: return DATE;
case 7: return TIME;
case 8: return TIME_STAMP;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
BasicType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public BasicType findValueByNumber(int number) {
return BasicType.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 sila2.org.silastandard.SiLAFramework.getDescriptor().getEnumTypes().get(0);
}
private static final BasicType[] VALUES = values();
public static BasicType 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 BasicType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:sila2.org.silastandard.BasicType)
}
public interface StringOrBuilder extends
// @@protoc_insertion_point(interface_extends:sila2.org.silastandard.String)
com.google.protobuf.MessageOrBuilder {
/**
* string value = 1;
*/
java.lang.String getValue();
/**
* string value = 1;
*/
com.google.protobuf.ByteString
getValueBytes();
}
/**
*
* -------- SiLA Basic Types --------
*
*
* Protobuf type {@code sila2.org.silastandard.String}
*/
public static final class String extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:sila2.org.silastandard.String)
StringOrBuilder {
private static final long serialVersionUID = 0L;
// Use String.newBuilder() to construct.
private String(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private String() {
value_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private String(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
value_ = 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 {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_String_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_String_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.String.class, sila2.org.silastandard.SiLAFramework.String.Builder.class);
}
public static final int VALUE_FIELD_NUMBER = 1;
private volatile java.lang.Object value_;
/**
* string value = 1;
*/
public java.lang.String getValue() {
java.lang.Object ref = value_;
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();
value_ = s;
return s;
}
}
/**
* string value = 1;
*/
public com.google.protobuf.ByteString
getValueBytes() {
java.lang.Object ref = value_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
value_ = 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 (!getValueBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getValueBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, value_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof sila2.org.silastandard.SiLAFramework.String)) {
return super.equals(obj);
}
sila2.org.silastandard.SiLAFramework.String other = (sila2.org.silastandard.SiLAFramework.String) obj;
boolean result = true;
result = result && getValue()
.equals(other.getValue());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValue().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static sila2.org.silastandard.SiLAFramework.String parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.String parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.String parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.String parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.String parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.String parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.String parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.String 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 sila2.org.silastandard.SiLAFramework.String parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.String 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 sila2.org.silastandard.SiLAFramework.String parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.String 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(sila2.org.silastandard.SiLAFramework.String 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;
}
/**
*
* -------- SiLA Basic Types --------
*
*
* Protobuf type {@code sila2.org.silastandard.String}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:sila2.org.silastandard.String)
sila2.org.silastandard.SiLAFramework.StringOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_String_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_String_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.String.class, sila2.org.silastandard.SiLAFramework.String.Builder.class);
}
// Construct using sila2.org.silastandard.SiLAFramework.String.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();
value_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_String_descriptor;
}
public sila2.org.silastandard.SiLAFramework.String getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.String.getDefaultInstance();
}
public sila2.org.silastandard.SiLAFramework.String build() {
sila2.org.silastandard.SiLAFramework.String result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public sila2.org.silastandard.SiLAFramework.String buildPartial() {
sila2.org.silastandard.SiLAFramework.String result = new sila2.org.silastandard.SiLAFramework.String(this);
result.value_ = value_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.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, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof sila2.org.silastandard.SiLAFramework.String) {
return mergeFrom((sila2.org.silastandard.SiLAFramework.String)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(sila2.org.silastandard.SiLAFramework.String other) {
if (other == sila2.org.silastandard.SiLAFramework.String.getDefaultInstance()) return this;
if (!other.getValue().isEmpty()) {
value_ = other.value_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
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 {
sila2.org.silastandard.SiLAFramework.String parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (sila2.org.silastandard.SiLAFramework.String) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object value_ = "";
/**
* string value = 1;
*/
public java.lang.String getValue() {
java.lang.Object ref = value_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
value_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string value = 1;
*/
public com.google.protobuf.ByteString
getValueBytes() {
java.lang.Object ref = value_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
value_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string value = 1;
*/
public Builder setValue(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
value_ = value;
onChanged();
return this;
}
/**
* string value = 1;
*/
public Builder clearValue() {
value_ = getDefaultInstance().getValue();
onChanged();
return this;
}
/**
* string value = 1;
*/
public Builder setValueBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
value_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:sila2.org.silastandard.String)
}
// @@protoc_insertion_point(class_scope:sila2.org.silastandard.String)
private static final sila2.org.silastandard.SiLAFramework.String DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new sila2.org.silastandard.SiLAFramework.String();
}
public static sila2.org.silastandard.SiLAFramework.String getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public String parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new String(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public sila2.org.silastandard.SiLAFramework.String getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface IntegerOrBuilder extends
// @@protoc_insertion_point(interface_extends:sila2.org.silastandard.Integer)
com.google.protobuf.MessageOrBuilder {
/**
* int64 value = 1;
*/
long getValue();
}
/**
* Protobuf type {@code sila2.org.silastandard.Integer}
*/
public static final class Integer extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:sila2.org.silastandard.Integer)
IntegerOrBuilder {
private static final long serialVersionUID = 0L;
// Use Integer.newBuilder() to construct.
private Integer(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Integer() {
value_ = 0L;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Integer(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
value_ = input.readInt64();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Integer_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Integer_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.Integer.class, sila2.org.silastandard.SiLAFramework.Integer.Builder.class);
}
public static final int VALUE_FIELD_NUMBER = 1;
private long value_;
/**
* int64 value = 1;
*/
public long getValue() {
return value_;
}
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 (value_ != 0L) {
output.writeInt64(1, value_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (value_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, value_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof sila2.org.silastandard.SiLAFramework.Integer)) {
return super.equals(obj);
}
sila2.org.silastandard.SiLAFramework.Integer other = (sila2.org.silastandard.SiLAFramework.Integer) obj;
boolean result = true;
result = result && (getValue()
== other.getValue());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getValue());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static sila2.org.silastandard.SiLAFramework.Integer parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.Integer parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.Integer parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.Integer parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.Integer parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.Integer parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.Integer parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.Integer 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 sila2.org.silastandard.SiLAFramework.Integer parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.Integer 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 sila2.org.silastandard.SiLAFramework.Integer parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.Integer 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(sila2.org.silastandard.SiLAFramework.Integer 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 sila2.org.silastandard.Integer}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:sila2.org.silastandard.Integer)
sila2.org.silastandard.SiLAFramework.IntegerOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Integer_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Integer_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.Integer.class, sila2.org.silastandard.SiLAFramework.Integer.Builder.class);
}
// Construct using sila2.org.silastandard.SiLAFramework.Integer.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();
value_ = 0L;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Integer_descriptor;
}
public sila2.org.silastandard.SiLAFramework.Integer getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.Integer.getDefaultInstance();
}
public sila2.org.silastandard.SiLAFramework.Integer build() {
sila2.org.silastandard.SiLAFramework.Integer result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public sila2.org.silastandard.SiLAFramework.Integer buildPartial() {
sila2.org.silastandard.SiLAFramework.Integer result = new sila2.org.silastandard.SiLAFramework.Integer(this);
result.value_ = value_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.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, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof sila2.org.silastandard.SiLAFramework.Integer) {
return mergeFrom((sila2.org.silastandard.SiLAFramework.Integer)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(sila2.org.silastandard.SiLAFramework.Integer other) {
if (other == sila2.org.silastandard.SiLAFramework.Integer.getDefaultInstance()) return this;
if (other.getValue() != 0L) {
setValue(other.getValue());
}
this.mergeUnknownFields(other.unknownFields);
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 {
sila2.org.silastandard.SiLAFramework.Integer parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (sila2.org.silastandard.SiLAFramework.Integer) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private long value_ ;
/**
* int64 value = 1;
*/
public long getValue() {
return value_;
}
/**
* int64 value = 1;
*/
public Builder setValue(long value) {
value_ = value;
onChanged();
return this;
}
/**
* int64 value = 1;
*/
public Builder clearValue() {
value_ = 0L;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:sila2.org.silastandard.Integer)
}
// @@protoc_insertion_point(class_scope:sila2.org.silastandard.Integer)
private static final sila2.org.silastandard.SiLAFramework.Integer DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new sila2.org.silastandard.SiLAFramework.Integer();
}
public static sila2.org.silastandard.SiLAFramework.Integer getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public Integer parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Integer(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public sila2.org.silastandard.SiLAFramework.Integer getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RealOrBuilder extends
// @@protoc_insertion_point(interface_extends:sila2.org.silastandard.Real)
com.google.protobuf.MessageOrBuilder {
/**
* double value = 1;
*/
double getValue();
}
/**
* Protobuf type {@code sila2.org.silastandard.Real}
*/
public static final class Real extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:sila2.org.silastandard.Real)
RealOrBuilder {
private static final long serialVersionUID = 0L;
// Use Real.newBuilder() to construct.
private Real(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Real() {
value_ = 0D;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Real(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 9: {
value_ = input.readDouble();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Real_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Real_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.Real.class, sila2.org.silastandard.SiLAFramework.Real.Builder.class);
}
public static final int VALUE_FIELD_NUMBER = 1;
private double value_;
/**
* double value = 1;
*/
public double getValue() {
return value_;
}
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 (value_ != 0D) {
output.writeDouble(1, value_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (value_ != 0D) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(1, value_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof sila2.org.silastandard.SiLAFramework.Real)) {
return super.equals(obj);
}
sila2.org.silastandard.SiLAFramework.Real other = (sila2.org.silastandard.SiLAFramework.Real) obj;
boolean result = true;
result = result && (
java.lang.Double.doubleToLongBits(getValue())
== java.lang.Double.doubleToLongBits(
other.getValue()));
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getValue()));
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static sila2.org.silastandard.SiLAFramework.Real parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.Real parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.Real parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.Real parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.Real parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.Real parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.Real parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.Real 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 sila2.org.silastandard.SiLAFramework.Real parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.Real 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 sila2.org.silastandard.SiLAFramework.Real parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.Real 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(sila2.org.silastandard.SiLAFramework.Real 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 sila2.org.silastandard.Real}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:sila2.org.silastandard.Real)
sila2.org.silastandard.SiLAFramework.RealOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Real_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Real_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.Real.class, sila2.org.silastandard.SiLAFramework.Real.Builder.class);
}
// Construct using sila2.org.silastandard.SiLAFramework.Real.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();
value_ = 0D;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Real_descriptor;
}
public sila2.org.silastandard.SiLAFramework.Real getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.Real.getDefaultInstance();
}
public sila2.org.silastandard.SiLAFramework.Real build() {
sila2.org.silastandard.SiLAFramework.Real result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public sila2.org.silastandard.SiLAFramework.Real buildPartial() {
sila2.org.silastandard.SiLAFramework.Real result = new sila2.org.silastandard.SiLAFramework.Real(this);
result.value_ = value_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.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, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof sila2.org.silastandard.SiLAFramework.Real) {
return mergeFrom((sila2.org.silastandard.SiLAFramework.Real)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(sila2.org.silastandard.SiLAFramework.Real other) {
if (other == sila2.org.silastandard.SiLAFramework.Real.getDefaultInstance()) return this;
if (other.getValue() != 0D) {
setValue(other.getValue());
}
this.mergeUnknownFields(other.unknownFields);
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 {
sila2.org.silastandard.SiLAFramework.Real parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (sila2.org.silastandard.SiLAFramework.Real) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private double value_ ;
/**
* double value = 1;
*/
public double getValue() {
return value_;
}
/**
* double value = 1;
*/
public Builder setValue(double value) {
value_ = value;
onChanged();
return this;
}
/**
* double value = 1;
*/
public Builder clearValue() {
value_ = 0D;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:sila2.org.silastandard.Real)
}
// @@protoc_insertion_point(class_scope:sila2.org.silastandard.Real)
private static final sila2.org.silastandard.SiLAFramework.Real DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new sila2.org.silastandard.SiLAFramework.Real();
}
public static sila2.org.silastandard.SiLAFramework.Real getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public Real parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Real(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public sila2.org.silastandard.SiLAFramework.Real getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface BooleanOrBuilder extends
// @@protoc_insertion_point(interface_extends:sila2.org.silastandard.Boolean)
com.google.protobuf.MessageOrBuilder {
/**
* bool value = 1;
*/
boolean getValue();
}
/**
* Protobuf type {@code sila2.org.silastandard.Boolean}
*/
public static final class Boolean extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:sila2.org.silastandard.Boolean)
BooleanOrBuilder {
private static final long serialVersionUID = 0L;
// Use Boolean.newBuilder() to construct.
private Boolean(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Boolean() {
value_ = false;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Boolean(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
value_ = input.readBool();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Boolean_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Boolean_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.Boolean.class, sila2.org.silastandard.SiLAFramework.Boolean.Builder.class);
}
public static final int VALUE_FIELD_NUMBER = 1;
private boolean value_;
/**
* bool value = 1;
*/
public boolean getValue() {
return value_;
}
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 (value_ != false) {
output.writeBool(1, value_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (value_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, value_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof sila2.org.silastandard.SiLAFramework.Boolean)) {
return super.equals(obj);
}
sila2.org.silastandard.SiLAFramework.Boolean other = (sila2.org.silastandard.SiLAFramework.Boolean) obj;
boolean result = true;
result = result && (getValue()
== other.getValue());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getValue());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static sila2.org.silastandard.SiLAFramework.Boolean parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.Boolean parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.Boolean parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.Boolean parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.Boolean parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.Boolean parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.Boolean parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.Boolean 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 sila2.org.silastandard.SiLAFramework.Boolean parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.Boolean 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 sila2.org.silastandard.SiLAFramework.Boolean parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.Boolean 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(sila2.org.silastandard.SiLAFramework.Boolean 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 sila2.org.silastandard.Boolean}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:sila2.org.silastandard.Boolean)
sila2.org.silastandard.SiLAFramework.BooleanOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Boolean_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Boolean_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.Boolean.class, sila2.org.silastandard.SiLAFramework.Boolean.Builder.class);
}
// Construct using sila2.org.silastandard.SiLAFramework.Boolean.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();
value_ = false;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Boolean_descriptor;
}
public sila2.org.silastandard.SiLAFramework.Boolean getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.Boolean.getDefaultInstance();
}
public sila2.org.silastandard.SiLAFramework.Boolean build() {
sila2.org.silastandard.SiLAFramework.Boolean result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public sila2.org.silastandard.SiLAFramework.Boolean buildPartial() {
sila2.org.silastandard.SiLAFramework.Boolean result = new sila2.org.silastandard.SiLAFramework.Boolean(this);
result.value_ = value_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.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, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof sila2.org.silastandard.SiLAFramework.Boolean) {
return mergeFrom((sila2.org.silastandard.SiLAFramework.Boolean)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(sila2.org.silastandard.SiLAFramework.Boolean other) {
if (other == sila2.org.silastandard.SiLAFramework.Boolean.getDefaultInstance()) return this;
if (other.getValue() != false) {
setValue(other.getValue());
}
this.mergeUnknownFields(other.unknownFields);
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 {
sila2.org.silastandard.SiLAFramework.Boolean parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (sila2.org.silastandard.SiLAFramework.Boolean) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private boolean value_ ;
/**
* bool value = 1;
*/
public boolean getValue() {
return value_;
}
/**
* bool value = 1;
*/
public Builder setValue(boolean value) {
value_ = value;
onChanged();
return this;
}
/**
* bool value = 1;
*/
public Builder clearValue() {
value_ = false;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:sila2.org.silastandard.Boolean)
}
// @@protoc_insertion_point(class_scope:sila2.org.silastandard.Boolean)
private static final sila2.org.silastandard.SiLAFramework.Boolean DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new sila2.org.silastandard.SiLAFramework.Boolean();
}
public static sila2.org.silastandard.SiLAFramework.Boolean getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public Boolean parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Boolean(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public sila2.org.silastandard.SiLAFramework.Boolean getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SmallBinaryOrBuilder extends
// @@protoc_insertion_point(interface_extends:sila2.org.silastandard.SmallBinary)
com.google.protobuf.MessageOrBuilder {
/**
* bytes value = 1;
*/
com.google.protobuf.ByteString getValue();
}
/**
* Protobuf type {@code sila2.org.silastandard.SmallBinary}
*/
public static final class SmallBinary extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:sila2.org.silastandard.SmallBinary)
SmallBinaryOrBuilder {
private static final long serialVersionUID = 0L;
// Use SmallBinary.newBuilder() to construct.
private SmallBinary(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SmallBinary() {
value_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SmallBinary(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
value_ = 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 {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_SmallBinary_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_SmallBinary_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.SmallBinary.class, sila2.org.silastandard.SiLAFramework.SmallBinary.Builder.class);
}
public static final int VALUE_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString value_;
/**
* bytes value = 1;
*/
public com.google.protobuf.ByteString getValue() {
return value_;
}
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 (!value_.isEmpty()) {
output.writeBytes(1, value_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!value_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, value_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof sila2.org.silastandard.SiLAFramework.SmallBinary)) {
return super.equals(obj);
}
sila2.org.silastandard.SiLAFramework.SmallBinary other = (sila2.org.silastandard.SiLAFramework.SmallBinary) obj;
boolean result = true;
result = result && getValue()
.equals(other.getValue());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValue().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static sila2.org.silastandard.SiLAFramework.SmallBinary parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.SmallBinary parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.SmallBinary parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.SmallBinary parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.SmallBinary parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.SmallBinary parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.SmallBinary parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.SmallBinary 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 sila2.org.silastandard.SiLAFramework.SmallBinary parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.SmallBinary 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 sila2.org.silastandard.SiLAFramework.SmallBinary parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.SmallBinary 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(sila2.org.silastandard.SiLAFramework.SmallBinary 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 sila2.org.silastandard.SmallBinary}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:sila2.org.silastandard.SmallBinary)
sila2.org.silastandard.SiLAFramework.SmallBinaryOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_SmallBinary_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_SmallBinary_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.SmallBinary.class, sila2.org.silastandard.SiLAFramework.SmallBinary.Builder.class);
}
// Construct using sila2.org.silastandard.SiLAFramework.SmallBinary.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();
value_ = com.google.protobuf.ByteString.EMPTY;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_SmallBinary_descriptor;
}
public sila2.org.silastandard.SiLAFramework.SmallBinary getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.SmallBinary.getDefaultInstance();
}
public sila2.org.silastandard.SiLAFramework.SmallBinary build() {
sila2.org.silastandard.SiLAFramework.SmallBinary result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public sila2.org.silastandard.SiLAFramework.SmallBinary buildPartial() {
sila2.org.silastandard.SiLAFramework.SmallBinary result = new sila2.org.silastandard.SiLAFramework.SmallBinary(this);
result.value_ = value_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.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, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof sila2.org.silastandard.SiLAFramework.SmallBinary) {
return mergeFrom((sila2.org.silastandard.SiLAFramework.SmallBinary)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(sila2.org.silastandard.SiLAFramework.SmallBinary other) {
if (other == sila2.org.silastandard.SiLAFramework.SmallBinary.getDefaultInstance()) return this;
if (other.getValue() != com.google.protobuf.ByteString.EMPTY) {
setValue(other.getValue());
}
this.mergeUnknownFields(other.unknownFields);
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 {
sila2.org.silastandard.SiLAFramework.SmallBinary parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (sila2.org.silastandard.SiLAFramework.SmallBinary) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes value = 1;
*/
public com.google.protobuf.ByteString getValue() {
return value_;
}
/**
* bytes value = 1;
*/
public Builder setValue(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
value_ = value;
onChanged();
return this;
}
/**
* bytes value = 1;
*/
public Builder clearValue() {
value_ = getDefaultInstance().getValue();
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:sila2.org.silastandard.SmallBinary)
}
// @@protoc_insertion_point(class_scope:sila2.org.silastandard.SmallBinary)
private static final sila2.org.silastandard.SiLAFramework.SmallBinary DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new sila2.org.silastandard.SiLAFramework.SmallBinary();
}
public static sila2.org.silastandard.SiLAFramework.SmallBinary getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public SmallBinary parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SmallBinary(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public sila2.org.silastandard.SiLAFramework.SmallBinary getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface LargeBinaryOrBuilder extends
// @@protoc_insertion_point(interface_extends:sila2.org.silastandard.LargeBinary)
com.google.protobuf.MessageOrBuilder {
/**
* string binaryIdentifier = 1;
*/
java.lang.String getBinaryIdentifier();
/**
* string binaryIdentifier = 1;
*/
com.google.protobuf.ByteString
getBinaryIdentifierBytes();
}
/**
* Protobuf type {@code sila2.org.silastandard.LargeBinary}
*/
public static final class LargeBinary extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:sila2.org.silastandard.LargeBinary)
LargeBinaryOrBuilder {
private static final long serialVersionUID = 0L;
// Use LargeBinary.newBuilder() to construct.
private LargeBinary(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private LargeBinary() {
binaryIdentifier_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private LargeBinary(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
binaryIdentifier_ = 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 {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_LargeBinary_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_LargeBinary_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.LargeBinary.class, sila2.org.silastandard.SiLAFramework.LargeBinary.Builder.class);
}
public static final int BINARYIDENTIFIER_FIELD_NUMBER = 1;
private volatile java.lang.Object binaryIdentifier_;
/**
* string binaryIdentifier = 1;
*/
public java.lang.String getBinaryIdentifier() {
java.lang.Object ref = binaryIdentifier_;
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();
binaryIdentifier_ = s;
return s;
}
}
/**
* string binaryIdentifier = 1;
*/
public com.google.protobuf.ByteString
getBinaryIdentifierBytes() {
java.lang.Object ref = binaryIdentifier_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
binaryIdentifier_ = 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 (!getBinaryIdentifierBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, binaryIdentifier_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getBinaryIdentifierBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, binaryIdentifier_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof sila2.org.silastandard.SiLAFramework.LargeBinary)) {
return super.equals(obj);
}
sila2.org.silastandard.SiLAFramework.LargeBinary other = (sila2.org.silastandard.SiLAFramework.LargeBinary) obj;
boolean result = true;
result = result && getBinaryIdentifier()
.equals(other.getBinaryIdentifier());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + BINARYIDENTIFIER_FIELD_NUMBER;
hash = (53 * hash) + getBinaryIdentifier().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static sila2.org.silastandard.SiLAFramework.LargeBinary parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.LargeBinary parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.LargeBinary parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.LargeBinary parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.LargeBinary parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.LargeBinary parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.LargeBinary parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.LargeBinary 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 sila2.org.silastandard.SiLAFramework.LargeBinary parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.LargeBinary 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 sila2.org.silastandard.SiLAFramework.LargeBinary parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.LargeBinary 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(sila2.org.silastandard.SiLAFramework.LargeBinary 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 sila2.org.silastandard.LargeBinary}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:sila2.org.silastandard.LargeBinary)
sila2.org.silastandard.SiLAFramework.LargeBinaryOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_LargeBinary_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_LargeBinary_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.LargeBinary.class, sila2.org.silastandard.SiLAFramework.LargeBinary.Builder.class);
}
// Construct using sila2.org.silastandard.SiLAFramework.LargeBinary.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();
binaryIdentifier_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_LargeBinary_descriptor;
}
public sila2.org.silastandard.SiLAFramework.LargeBinary getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.LargeBinary.getDefaultInstance();
}
public sila2.org.silastandard.SiLAFramework.LargeBinary build() {
sila2.org.silastandard.SiLAFramework.LargeBinary result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public sila2.org.silastandard.SiLAFramework.LargeBinary buildPartial() {
sila2.org.silastandard.SiLAFramework.LargeBinary result = new sila2.org.silastandard.SiLAFramework.LargeBinary(this);
result.binaryIdentifier_ = binaryIdentifier_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.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, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof sila2.org.silastandard.SiLAFramework.LargeBinary) {
return mergeFrom((sila2.org.silastandard.SiLAFramework.LargeBinary)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(sila2.org.silastandard.SiLAFramework.LargeBinary other) {
if (other == sila2.org.silastandard.SiLAFramework.LargeBinary.getDefaultInstance()) return this;
if (!other.getBinaryIdentifier().isEmpty()) {
binaryIdentifier_ = other.binaryIdentifier_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
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 {
sila2.org.silastandard.SiLAFramework.LargeBinary parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (sila2.org.silastandard.SiLAFramework.LargeBinary) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object binaryIdentifier_ = "";
/**
* string binaryIdentifier = 1;
*/
public java.lang.String getBinaryIdentifier() {
java.lang.Object ref = binaryIdentifier_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
binaryIdentifier_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string binaryIdentifier = 1;
*/
public com.google.protobuf.ByteString
getBinaryIdentifierBytes() {
java.lang.Object ref = binaryIdentifier_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
binaryIdentifier_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string binaryIdentifier = 1;
*/
public Builder setBinaryIdentifier(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
binaryIdentifier_ = value;
onChanged();
return this;
}
/**
* string binaryIdentifier = 1;
*/
public Builder clearBinaryIdentifier() {
binaryIdentifier_ = getDefaultInstance().getBinaryIdentifier();
onChanged();
return this;
}
/**
* string binaryIdentifier = 1;
*/
public Builder setBinaryIdentifierBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
binaryIdentifier_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:sila2.org.silastandard.LargeBinary)
}
// @@protoc_insertion_point(class_scope:sila2.org.silastandard.LargeBinary)
private static final sila2.org.silastandard.SiLAFramework.LargeBinary DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new sila2.org.silastandard.SiLAFramework.LargeBinary();
}
public static sila2.org.silastandard.SiLAFramework.LargeBinary getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public LargeBinary parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new LargeBinary(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public sila2.org.silastandard.SiLAFramework.LargeBinary getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DateOrBuilder extends
// @@protoc_insertion_point(interface_extends:sila2.org.silastandard.Date)
com.google.protobuf.MessageOrBuilder {
/**
* uint32 day = 1;
*/
int getDay();
/**
* uint32 month = 2;
*/
int getMonth();
/**
* uint32 year = 3;
*/
int getYear();
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
boolean hasTimezone();
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
sila2.org.silastandard.SiLAFramework.Timezone getTimezone();
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
sila2.org.silastandard.SiLAFramework.TimezoneOrBuilder getTimezoneOrBuilder();
}
/**
* Protobuf type {@code sila2.org.silastandard.Date}
*/
public static final class Date extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:sila2.org.silastandard.Date)
DateOrBuilder {
private static final long serialVersionUID = 0L;
// Use Date.newBuilder() to construct.
private Date(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Date() {
day_ = 0;
month_ = 0;
year_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Date(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
day_ = input.readUInt32();
break;
}
case 16: {
month_ = input.readUInt32();
break;
}
case 24: {
year_ = input.readUInt32();
break;
}
case 34: {
sila2.org.silastandard.SiLAFramework.Timezone.Builder subBuilder = null;
if (timezone_ != null) {
subBuilder = timezone_.toBuilder();
}
timezone_ = input.readMessage(sila2.org.silastandard.SiLAFramework.Timezone.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(timezone_);
timezone_ = 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 {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Date_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Date_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.Date.class, sila2.org.silastandard.SiLAFramework.Date.Builder.class);
}
public static final int DAY_FIELD_NUMBER = 1;
private int day_;
/**
* uint32 day = 1;
*/
public int getDay() {
return day_;
}
public static final int MONTH_FIELD_NUMBER = 2;
private int month_;
/**
* uint32 month = 2;
*/
public int getMonth() {
return month_;
}
public static final int YEAR_FIELD_NUMBER = 3;
private int year_;
/**
* uint32 year = 3;
*/
public int getYear() {
return year_;
}
public static final int TIMEZONE_FIELD_NUMBER = 4;
private sila2.org.silastandard.SiLAFramework.Timezone timezone_;
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
public boolean hasTimezone() {
return timezone_ != null;
}
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
public sila2.org.silastandard.SiLAFramework.Timezone getTimezone() {
return timezone_ == null ? sila2.org.silastandard.SiLAFramework.Timezone.getDefaultInstance() : timezone_;
}
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
public sila2.org.silastandard.SiLAFramework.TimezoneOrBuilder getTimezoneOrBuilder() {
return getTimezone();
}
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 (day_ != 0) {
output.writeUInt32(1, day_);
}
if (month_ != 0) {
output.writeUInt32(2, month_);
}
if (year_ != 0) {
output.writeUInt32(3, year_);
}
if (timezone_ != null) {
output.writeMessage(4, getTimezone());
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (day_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, day_);
}
if (month_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, month_);
}
if (year_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, year_);
}
if (timezone_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getTimezone());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof sila2.org.silastandard.SiLAFramework.Date)) {
return super.equals(obj);
}
sila2.org.silastandard.SiLAFramework.Date other = (sila2.org.silastandard.SiLAFramework.Date) obj;
boolean result = true;
result = result && (getDay()
== other.getDay());
result = result && (getMonth()
== other.getMonth());
result = result && (getYear()
== other.getYear());
result = result && (hasTimezone() == other.hasTimezone());
if (hasTimezone()) {
result = result && getTimezone()
.equals(other.getTimezone());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + DAY_FIELD_NUMBER;
hash = (53 * hash) + getDay();
hash = (37 * hash) + MONTH_FIELD_NUMBER;
hash = (53 * hash) + getMonth();
hash = (37 * hash) + YEAR_FIELD_NUMBER;
hash = (53 * hash) + getYear();
if (hasTimezone()) {
hash = (37 * hash) + TIMEZONE_FIELD_NUMBER;
hash = (53 * hash) + getTimezone().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static sila2.org.silastandard.SiLAFramework.Date parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.Date parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.Date parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.Date parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.Date parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.Date parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.Date parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.Date 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 sila2.org.silastandard.SiLAFramework.Date parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.Date 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 sila2.org.silastandard.SiLAFramework.Date parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.Date 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(sila2.org.silastandard.SiLAFramework.Date 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 sila2.org.silastandard.Date}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:sila2.org.silastandard.Date)
sila2.org.silastandard.SiLAFramework.DateOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Date_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Date_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.Date.class, sila2.org.silastandard.SiLAFramework.Date.Builder.class);
}
// Construct using sila2.org.silastandard.SiLAFramework.Date.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();
day_ = 0;
month_ = 0;
year_ = 0;
if (timezoneBuilder_ == null) {
timezone_ = null;
} else {
timezone_ = null;
timezoneBuilder_ = null;
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Date_descriptor;
}
public sila2.org.silastandard.SiLAFramework.Date getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.Date.getDefaultInstance();
}
public sila2.org.silastandard.SiLAFramework.Date build() {
sila2.org.silastandard.SiLAFramework.Date result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public sila2.org.silastandard.SiLAFramework.Date buildPartial() {
sila2.org.silastandard.SiLAFramework.Date result = new sila2.org.silastandard.SiLAFramework.Date(this);
result.day_ = day_;
result.month_ = month_;
result.year_ = year_;
if (timezoneBuilder_ == null) {
result.timezone_ = timezone_;
} else {
result.timezone_ = timezoneBuilder_.build();
}
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.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, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof sila2.org.silastandard.SiLAFramework.Date) {
return mergeFrom((sila2.org.silastandard.SiLAFramework.Date)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(sila2.org.silastandard.SiLAFramework.Date other) {
if (other == sila2.org.silastandard.SiLAFramework.Date.getDefaultInstance()) return this;
if (other.getDay() != 0) {
setDay(other.getDay());
}
if (other.getMonth() != 0) {
setMonth(other.getMonth());
}
if (other.getYear() != 0) {
setYear(other.getYear());
}
if (other.hasTimezone()) {
mergeTimezone(other.getTimezone());
}
this.mergeUnknownFields(other.unknownFields);
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 {
sila2.org.silastandard.SiLAFramework.Date parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (sila2.org.silastandard.SiLAFramework.Date) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int day_ ;
/**
* uint32 day = 1;
*/
public int getDay() {
return day_;
}
/**
* uint32 day = 1;
*/
public Builder setDay(int value) {
day_ = value;
onChanged();
return this;
}
/**
* uint32 day = 1;
*/
public Builder clearDay() {
day_ = 0;
onChanged();
return this;
}
private int month_ ;
/**
* uint32 month = 2;
*/
public int getMonth() {
return month_;
}
/**
* uint32 month = 2;
*/
public Builder setMonth(int value) {
month_ = value;
onChanged();
return this;
}
/**
* uint32 month = 2;
*/
public Builder clearMonth() {
month_ = 0;
onChanged();
return this;
}
private int year_ ;
/**
* uint32 year = 3;
*/
public int getYear() {
return year_;
}
/**
* uint32 year = 3;
*/
public Builder setYear(int value) {
year_ = value;
onChanged();
return this;
}
/**
* uint32 year = 3;
*/
public Builder clearYear() {
year_ = 0;
onChanged();
return this;
}
private sila2.org.silastandard.SiLAFramework.Timezone timezone_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.Timezone, sila2.org.silastandard.SiLAFramework.Timezone.Builder, sila2.org.silastandard.SiLAFramework.TimezoneOrBuilder> timezoneBuilder_;
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
public boolean hasTimezone() {
return timezoneBuilder_ != null || timezone_ != null;
}
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
public sila2.org.silastandard.SiLAFramework.Timezone getTimezone() {
if (timezoneBuilder_ == null) {
return timezone_ == null ? sila2.org.silastandard.SiLAFramework.Timezone.getDefaultInstance() : timezone_;
} else {
return timezoneBuilder_.getMessage();
}
}
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
public Builder setTimezone(sila2.org.silastandard.SiLAFramework.Timezone value) {
if (timezoneBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
timezone_ = value;
onChanged();
} else {
timezoneBuilder_.setMessage(value);
}
return this;
}
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
public Builder setTimezone(
sila2.org.silastandard.SiLAFramework.Timezone.Builder builderForValue) {
if (timezoneBuilder_ == null) {
timezone_ = builderForValue.build();
onChanged();
} else {
timezoneBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
public Builder mergeTimezone(sila2.org.silastandard.SiLAFramework.Timezone value) {
if (timezoneBuilder_ == null) {
if (timezone_ != null) {
timezone_ =
sila2.org.silastandard.SiLAFramework.Timezone.newBuilder(timezone_).mergeFrom(value).buildPartial();
} else {
timezone_ = value;
}
onChanged();
} else {
timezoneBuilder_.mergeFrom(value);
}
return this;
}
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
public Builder clearTimezone() {
if (timezoneBuilder_ == null) {
timezone_ = null;
onChanged();
} else {
timezone_ = null;
timezoneBuilder_ = null;
}
return this;
}
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
public sila2.org.silastandard.SiLAFramework.Timezone.Builder getTimezoneBuilder() {
onChanged();
return getTimezoneFieldBuilder().getBuilder();
}
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
public sila2.org.silastandard.SiLAFramework.TimezoneOrBuilder getTimezoneOrBuilder() {
if (timezoneBuilder_ != null) {
return timezoneBuilder_.getMessageOrBuilder();
} else {
return timezone_ == null ?
sila2.org.silastandard.SiLAFramework.Timezone.getDefaultInstance() : timezone_;
}
}
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.Timezone, sila2.org.silastandard.SiLAFramework.Timezone.Builder, sila2.org.silastandard.SiLAFramework.TimezoneOrBuilder>
getTimezoneFieldBuilder() {
if (timezoneBuilder_ == null) {
timezoneBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.Timezone, sila2.org.silastandard.SiLAFramework.Timezone.Builder, sila2.org.silastandard.SiLAFramework.TimezoneOrBuilder>(
getTimezone(),
getParentForChildren(),
isClean());
timezone_ = null;
}
return timezoneBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:sila2.org.silastandard.Date)
}
// @@protoc_insertion_point(class_scope:sila2.org.silastandard.Date)
private static final sila2.org.silastandard.SiLAFramework.Date DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new sila2.org.silastandard.SiLAFramework.Date();
}
public static sila2.org.silastandard.SiLAFramework.Date getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public Date parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Date(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public sila2.org.silastandard.SiLAFramework.Date getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TimeOrBuilder extends
// @@protoc_insertion_point(interface_extends:sila2.org.silastandard.Time)
com.google.protobuf.MessageOrBuilder {
/**
* uint32 second = 1;
*/
int getSecond();
/**
* uint32 minute = 2;
*/
int getMinute();
/**
* uint32 hour = 3;
*/
int getHour();
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
boolean hasTimezone();
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
sila2.org.silastandard.SiLAFramework.Timezone getTimezone();
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
sila2.org.silastandard.SiLAFramework.TimezoneOrBuilder getTimezoneOrBuilder();
}
/**
* Protobuf type {@code sila2.org.silastandard.Time}
*/
public static final class Time extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:sila2.org.silastandard.Time)
TimeOrBuilder {
private static final long serialVersionUID = 0L;
// Use Time.newBuilder() to construct.
private Time(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Time() {
second_ = 0;
minute_ = 0;
hour_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Time(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
second_ = input.readUInt32();
break;
}
case 16: {
minute_ = input.readUInt32();
break;
}
case 24: {
hour_ = input.readUInt32();
break;
}
case 34: {
sila2.org.silastandard.SiLAFramework.Timezone.Builder subBuilder = null;
if (timezone_ != null) {
subBuilder = timezone_.toBuilder();
}
timezone_ = input.readMessage(sila2.org.silastandard.SiLAFramework.Timezone.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(timezone_);
timezone_ = 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 {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Time_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Time_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.Time.class, sila2.org.silastandard.SiLAFramework.Time.Builder.class);
}
public static final int SECOND_FIELD_NUMBER = 1;
private int second_;
/**
* uint32 second = 1;
*/
public int getSecond() {
return second_;
}
public static final int MINUTE_FIELD_NUMBER = 2;
private int minute_;
/**
* uint32 minute = 2;
*/
public int getMinute() {
return minute_;
}
public static final int HOUR_FIELD_NUMBER = 3;
private int hour_;
/**
* uint32 hour = 3;
*/
public int getHour() {
return hour_;
}
public static final int TIMEZONE_FIELD_NUMBER = 4;
private sila2.org.silastandard.SiLAFramework.Timezone timezone_;
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
public boolean hasTimezone() {
return timezone_ != null;
}
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
public sila2.org.silastandard.SiLAFramework.Timezone getTimezone() {
return timezone_ == null ? sila2.org.silastandard.SiLAFramework.Timezone.getDefaultInstance() : timezone_;
}
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
public sila2.org.silastandard.SiLAFramework.TimezoneOrBuilder getTimezoneOrBuilder() {
return getTimezone();
}
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 (second_ != 0) {
output.writeUInt32(1, second_);
}
if (minute_ != 0) {
output.writeUInt32(2, minute_);
}
if (hour_ != 0) {
output.writeUInt32(3, hour_);
}
if (timezone_ != null) {
output.writeMessage(4, getTimezone());
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (second_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, second_);
}
if (minute_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, minute_);
}
if (hour_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, hour_);
}
if (timezone_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getTimezone());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof sila2.org.silastandard.SiLAFramework.Time)) {
return super.equals(obj);
}
sila2.org.silastandard.SiLAFramework.Time other = (sila2.org.silastandard.SiLAFramework.Time) obj;
boolean result = true;
result = result && (getSecond()
== other.getSecond());
result = result && (getMinute()
== other.getMinute());
result = result && (getHour()
== other.getHour());
result = result && (hasTimezone() == other.hasTimezone());
if (hasTimezone()) {
result = result && getTimezone()
.equals(other.getTimezone());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + SECOND_FIELD_NUMBER;
hash = (53 * hash) + getSecond();
hash = (37 * hash) + MINUTE_FIELD_NUMBER;
hash = (53 * hash) + getMinute();
hash = (37 * hash) + HOUR_FIELD_NUMBER;
hash = (53 * hash) + getHour();
if (hasTimezone()) {
hash = (37 * hash) + TIMEZONE_FIELD_NUMBER;
hash = (53 * hash) + getTimezone().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static sila2.org.silastandard.SiLAFramework.Time parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.Time parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.Time parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.Time parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.Time parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.Time parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.Time parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.Time 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 sila2.org.silastandard.SiLAFramework.Time parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.Time 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 sila2.org.silastandard.SiLAFramework.Time parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.Time 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(sila2.org.silastandard.SiLAFramework.Time 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 sila2.org.silastandard.Time}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:sila2.org.silastandard.Time)
sila2.org.silastandard.SiLAFramework.TimeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Time_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Time_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.Time.class, sila2.org.silastandard.SiLAFramework.Time.Builder.class);
}
// Construct using sila2.org.silastandard.SiLAFramework.Time.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();
second_ = 0;
minute_ = 0;
hour_ = 0;
if (timezoneBuilder_ == null) {
timezone_ = null;
} else {
timezone_ = null;
timezoneBuilder_ = null;
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Time_descriptor;
}
public sila2.org.silastandard.SiLAFramework.Time getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.Time.getDefaultInstance();
}
public sila2.org.silastandard.SiLAFramework.Time build() {
sila2.org.silastandard.SiLAFramework.Time result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public sila2.org.silastandard.SiLAFramework.Time buildPartial() {
sila2.org.silastandard.SiLAFramework.Time result = new sila2.org.silastandard.SiLAFramework.Time(this);
result.second_ = second_;
result.minute_ = minute_;
result.hour_ = hour_;
if (timezoneBuilder_ == null) {
result.timezone_ = timezone_;
} else {
result.timezone_ = timezoneBuilder_.build();
}
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.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, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof sila2.org.silastandard.SiLAFramework.Time) {
return mergeFrom((sila2.org.silastandard.SiLAFramework.Time)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(sila2.org.silastandard.SiLAFramework.Time other) {
if (other == sila2.org.silastandard.SiLAFramework.Time.getDefaultInstance()) return this;
if (other.getSecond() != 0) {
setSecond(other.getSecond());
}
if (other.getMinute() != 0) {
setMinute(other.getMinute());
}
if (other.getHour() != 0) {
setHour(other.getHour());
}
if (other.hasTimezone()) {
mergeTimezone(other.getTimezone());
}
this.mergeUnknownFields(other.unknownFields);
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 {
sila2.org.silastandard.SiLAFramework.Time parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (sila2.org.silastandard.SiLAFramework.Time) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int second_ ;
/**
* uint32 second = 1;
*/
public int getSecond() {
return second_;
}
/**
* uint32 second = 1;
*/
public Builder setSecond(int value) {
second_ = value;
onChanged();
return this;
}
/**
* uint32 second = 1;
*/
public Builder clearSecond() {
second_ = 0;
onChanged();
return this;
}
private int minute_ ;
/**
* uint32 minute = 2;
*/
public int getMinute() {
return minute_;
}
/**
* uint32 minute = 2;
*/
public Builder setMinute(int value) {
minute_ = value;
onChanged();
return this;
}
/**
* uint32 minute = 2;
*/
public Builder clearMinute() {
minute_ = 0;
onChanged();
return this;
}
private int hour_ ;
/**
* uint32 hour = 3;
*/
public int getHour() {
return hour_;
}
/**
* uint32 hour = 3;
*/
public Builder setHour(int value) {
hour_ = value;
onChanged();
return this;
}
/**
* uint32 hour = 3;
*/
public Builder clearHour() {
hour_ = 0;
onChanged();
return this;
}
private sila2.org.silastandard.SiLAFramework.Timezone timezone_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.Timezone, sila2.org.silastandard.SiLAFramework.Timezone.Builder, sila2.org.silastandard.SiLAFramework.TimezoneOrBuilder> timezoneBuilder_;
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
public boolean hasTimezone() {
return timezoneBuilder_ != null || timezone_ != null;
}
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
public sila2.org.silastandard.SiLAFramework.Timezone getTimezone() {
if (timezoneBuilder_ == null) {
return timezone_ == null ? sila2.org.silastandard.SiLAFramework.Timezone.getDefaultInstance() : timezone_;
} else {
return timezoneBuilder_.getMessage();
}
}
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
public Builder setTimezone(sila2.org.silastandard.SiLAFramework.Timezone value) {
if (timezoneBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
timezone_ = value;
onChanged();
} else {
timezoneBuilder_.setMessage(value);
}
return this;
}
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
public Builder setTimezone(
sila2.org.silastandard.SiLAFramework.Timezone.Builder builderForValue) {
if (timezoneBuilder_ == null) {
timezone_ = builderForValue.build();
onChanged();
} else {
timezoneBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
public Builder mergeTimezone(sila2.org.silastandard.SiLAFramework.Timezone value) {
if (timezoneBuilder_ == null) {
if (timezone_ != null) {
timezone_ =
sila2.org.silastandard.SiLAFramework.Timezone.newBuilder(timezone_).mergeFrom(value).buildPartial();
} else {
timezone_ = value;
}
onChanged();
} else {
timezoneBuilder_.mergeFrom(value);
}
return this;
}
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
public Builder clearTimezone() {
if (timezoneBuilder_ == null) {
timezone_ = null;
onChanged();
} else {
timezone_ = null;
timezoneBuilder_ = null;
}
return this;
}
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
public sila2.org.silastandard.SiLAFramework.Timezone.Builder getTimezoneBuilder() {
onChanged();
return getTimezoneFieldBuilder().getBuilder();
}
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
public sila2.org.silastandard.SiLAFramework.TimezoneOrBuilder getTimezoneOrBuilder() {
if (timezoneBuilder_ != null) {
return timezoneBuilder_.getMessageOrBuilder();
} else {
return timezone_ == null ?
sila2.org.silastandard.SiLAFramework.Timezone.getDefaultInstance() : timezone_;
}
}
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.Timezone, sila2.org.silastandard.SiLAFramework.Timezone.Builder, sila2.org.silastandard.SiLAFramework.TimezoneOrBuilder>
getTimezoneFieldBuilder() {
if (timezoneBuilder_ == null) {
timezoneBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.Timezone, sila2.org.silastandard.SiLAFramework.Timezone.Builder, sila2.org.silastandard.SiLAFramework.TimezoneOrBuilder>(
getTimezone(),
getParentForChildren(),
isClean());
timezone_ = null;
}
return timezoneBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:sila2.org.silastandard.Time)
}
// @@protoc_insertion_point(class_scope:sila2.org.silastandard.Time)
private static final sila2.org.silastandard.SiLAFramework.Time DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new sila2.org.silastandard.SiLAFramework.Time();
}
public static sila2.org.silastandard.SiLAFramework.Time getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public Time parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Time(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public sila2.org.silastandard.SiLAFramework.Time getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TimestampOrBuilder extends
// @@protoc_insertion_point(interface_extends:sila2.org.silastandard.Timestamp)
com.google.protobuf.MessageOrBuilder {
/**
* uint32 second = 1;
*/
int getSecond();
/**
* uint32 minute = 2;
*/
int getMinute();
/**
* uint32 hour = 3;
*/
int getHour();
/**
* uint32 day = 4;
*/
int getDay();
/**
* uint32 month = 5;
*/
int getMonth();
/**
* uint32 year = 6;
*/
int getYear();
/**
* .sila2.org.silastandard.Timezone timezone = 7;
*/
boolean hasTimezone();
/**
* .sila2.org.silastandard.Timezone timezone = 7;
*/
sila2.org.silastandard.SiLAFramework.Timezone getTimezone();
/**
* .sila2.org.silastandard.Timezone timezone = 7;
*/
sila2.org.silastandard.SiLAFramework.TimezoneOrBuilder getTimezoneOrBuilder();
}
/**
* Protobuf type {@code sila2.org.silastandard.Timestamp}
*/
public static final class Timestamp extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:sila2.org.silastandard.Timestamp)
TimestampOrBuilder {
private static final long serialVersionUID = 0L;
// Use Timestamp.newBuilder() to construct.
private Timestamp(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Timestamp() {
second_ = 0;
minute_ = 0;
hour_ = 0;
day_ = 0;
month_ = 0;
year_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Timestamp(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
second_ = input.readUInt32();
break;
}
case 16: {
minute_ = input.readUInt32();
break;
}
case 24: {
hour_ = input.readUInt32();
break;
}
case 32: {
day_ = input.readUInt32();
break;
}
case 40: {
month_ = input.readUInt32();
break;
}
case 48: {
year_ = input.readUInt32();
break;
}
case 58: {
sila2.org.silastandard.SiLAFramework.Timezone.Builder subBuilder = null;
if (timezone_ != null) {
subBuilder = timezone_.toBuilder();
}
timezone_ = input.readMessage(sila2.org.silastandard.SiLAFramework.Timezone.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(timezone_);
timezone_ = 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 {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Timestamp_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Timestamp_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.Timestamp.class, sila2.org.silastandard.SiLAFramework.Timestamp.Builder.class);
}
public static final int SECOND_FIELD_NUMBER = 1;
private int second_;
/**
* uint32 second = 1;
*/
public int getSecond() {
return second_;
}
public static final int MINUTE_FIELD_NUMBER = 2;
private int minute_;
/**
* uint32 minute = 2;
*/
public int getMinute() {
return minute_;
}
public static final int HOUR_FIELD_NUMBER = 3;
private int hour_;
/**
* uint32 hour = 3;
*/
public int getHour() {
return hour_;
}
public static final int DAY_FIELD_NUMBER = 4;
private int day_;
/**
* uint32 day = 4;
*/
public int getDay() {
return day_;
}
public static final int MONTH_FIELD_NUMBER = 5;
private int month_;
/**
* uint32 month = 5;
*/
public int getMonth() {
return month_;
}
public static final int YEAR_FIELD_NUMBER = 6;
private int year_;
/**
* uint32 year = 6;
*/
public int getYear() {
return year_;
}
public static final int TIMEZONE_FIELD_NUMBER = 7;
private sila2.org.silastandard.SiLAFramework.Timezone timezone_;
/**
* .sila2.org.silastandard.Timezone timezone = 7;
*/
public boolean hasTimezone() {
return timezone_ != null;
}
/**
* .sila2.org.silastandard.Timezone timezone = 7;
*/
public sila2.org.silastandard.SiLAFramework.Timezone getTimezone() {
return timezone_ == null ? sila2.org.silastandard.SiLAFramework.Timezone.getDefaultInstance() : timezone_;
}
/**
* .sila2.org.silastandard.Timezone timezone = 7;
*/
public sila2.org.silastandard.SiLAFramework.TimezoneOrBuilder getTimezoneOrBuilder() {
return getTimezone();
}
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 (second_ != 0) {
output.writeUInt32(1, second_);
}
if (minute_ != 0) {
output.writeUInt32(2, minute_);
}
if (hour_ != 0) {
output.writeUInt32(3, hour_);
}
if (day_ != 0) {
output.writeUInt32(4, day_);
}
if (month_ != 0) {
output.writeUInt32(5, month_);
}
if (year_ != 0) {
output.writeUInt32(6, year_);
}
if (timezone_ != null) {
output.writeMessage(7, getTimezone());
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (second_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, second_);
}
if (minute_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, minute_);
}
if (hour_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, hour_);
}
if (day_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, day_);
}
if (month_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, month_);
}
if (year_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, year_);
}
if (timezone_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getTimezone());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof sila2.org.silastandard.SiLAFramework.Timestamp)) {
return super.equals(obj);
}
sila2.org.silastandard.SiLAFramework.Timestamp other = (sila2.org.silastandard.SiLAFramework.Timestamp) obj;
boolean result = true;
result = result && (getSecond()
== other.getSecond());
result = result && (getMinute()
== other.getMinute());
result = result && (getHour()
== other.getHour());
result = result && (getDay()
== other.getDay());
result = result && (getMonth()
== other.getMonth());
result = result && (getYear()
== other.getYear());
result = result && (hasTimezone() == other.hasTimezone());
if (hasTimezone()) {
result = result && getTimezone()
.equals(other.getTimezone());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + SECOND_FIELD_NUMBER;
hash = (53 * hash) + getSecond();
hash = (37 * hash) + MINUTE_FIELD_NUMBER;
hash = (53 * hash) + getMinute();
hash = (37 * hash) + HOUR_FIELD_NUMBER;
hash = (53 * hash) + getHour();
hash = (37 * hash) + DAY_FIELD_NUMBER;
hash = (53 * hash) + getDay();
hash = (37 * hash) + MONTH_FIELD_NUMBER;
hash = (53 * hash) + getMonth();
hash = (37 * hash) + YEAR_FIELD_NUMBER;
hash = (53 * hash) + getYear();
if (hasTimezone()) {
hash = (37 * hash) + TIMEZONE_FIELD_NUMBER;
hash = (53 * hash) + getTimezone().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static sila2.org.silastandard.SiLAFramework.Timestamp parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.Timestamp parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.Timestamp parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.Timestamp parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.Timestamp parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.Timestamp parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.Timestamp parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.Timestamp 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 sila2.org.silastandard.SiLAFramework.Timestamp parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.Timestamp 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 sila2.org.silastandard.SiLAFramework.Timestamp parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.Timestamp 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(sila2.org.silastandard.SiLAFramework.Timestamp 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 sila2.org.silastandard.Timestamp}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:sila2.org.silastandard.Timestamp)
sila2.org.silastandard.SiLAFramework.TimestampOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Timestamp_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Timestamp_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.Timestamp.class, sila2.org.silastandard.SiLAFramework.Timestamp.Builder.class);
}
// Construct using sila2.org.silastandard.SiLAFramework.Timestamp.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();
second_ = 0;
minute_ = 0;
hour_ = 0;
day_ = 0;
month_ = 0;
year_ = 0;
if (timezoneBuilder_ == null) {
timezone_ = null;
} else {
timezone_ = null;
timezoneBuilder_ = null;
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Timestamp_descriptor;
}
public sila2.org.silastandard.SiLAFramework.Timestamp getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.Timestamp.getDefaultInstance();
}
public sila2.org.silastandard.SiLAFramework.Timestamp build() {
sila2.org.silastandard.SiLAFramework.Timestamp result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public sila2.org.silastandard.SiLAFramework.Timestamp buildPartial() {
sila2.org.silastandard.SiLAFramework.Timestamp result = new sila2.org.silastandard.SiLAFramework.Timestamp(this);
result.second_ = second_;
result.minute_ = minute_;
result.hour_ = hour_;
result.day_ = day_;
result.month_ = month_;
result.year_ = year_;
if (timezoneBuilder_ == null) {
result.timezone_ = timezone_;
} else {
result.timezone_ = timezoneBuilder_.build();
}
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.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, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof sila2.org.silastandard.SiLAFramework.Timestamp) {
return mergeFrom((sila2.org.silastandard.SiLAFramework.Timestamp)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(sila2.org.silastandard.SiLAFramework.Timestamp other) {
if (other == sila2.org.silastandard.SiLAFramework.Timestamp.getDefaultInstance()) return this;
if (other.getSecond() != 0) {
setSecond(other.getSecond());
}
if (other.getMinute() != 0) {
setMinute(other.getMinute());
}
if (other.getHour() != 0) {
setHour(other.getHour());
}
if (other.getDay() != 0) {
setDay(other.getDay());
}
if (other.getMonth() != 0) {
setMonth(other.getMonth());
}
if (other.getYear() != 0) {
setYear(other.getYear());
}
if (other.hasTimezone()) {
mergeTimezone(other.getTimezone());
}
this.mergeUnknownFields(other.unknownFields);
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 {
sila2.org.silastandard.SiLAFramework.Timestamp parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (sila2.org.silastandard.SiLAFramework.Timestamp) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int second_ ;
/**
* uint32 second = 1;
*/
public int getSecond() {
return second_;
}
/**
* uint32 second = 1;
*/
public Builder setSecond(int value) {
second_ = value;
onChanged();
return this;
}
/**
* uint32 second = 1;
*/
public Builder clearSecond() {
second_ = 0;
onChanged();
return this;
}
private int minute_ ;
/**
* uint32 minute = 2;
*/
public int getMinute() {
return minute_;
}
/**
* uint32 minute = 2;
*/
public Builder setMinute(int value) {
minute_ = value;
onChanged();
return this;
}
/**
* uint32 minute = 2;
*/
public Builder clearMinute() {
minute_ = 0;
onChanged();
return this;
}
private int hour_ ;
/**
* uint32 hour = 3;
*/
public int getHour() {
return hour_;
}
/**
* uint32 hour = 3;
*/
public Builder setHour(int value) {
hour_ = value;
onChanged();
return this;
}
/**
* uint32 hour = 3;
*/
public Builder clearHour() {
hour_ = 0;
onChanged();
return this;
}
private int day_ ;
/**
* uint32 day = 4;
*/
public int getDay() {
return day_;
}
/**
* uint32 day = 4;
*/
public Builder setDay(int value) {
day_ = value;
onChanged();
return this;
}
/**
* uint32 day = 4;
*/
public Builder clearDay() {
day_ = 0;
onChanged();
return this;
}
private int month_ ;
/**
* uint32 month = 5;
*/
public int getMonth() {
return month_;
}
/**
* uint32 month = 5;
*/
public Builder setMonth(int value) {
month_ = value;
onChanged();
return this;
}
/**
* uint32 month = 5;
*/
public Builder clearMonth() {
month_ = 0;
onChanged();
return this;
}
private int year_ ;
/**
* uint32 year = 6;
*/
public int getYear() {
return year_;
}
/**
* uint32 year = 6;
*/
public Builder setYear(int value) {
year_ = value;
onChanged();
return this;
}
/**
* uint32 year = 6;
*/
public Builder clearYear() {
year_ = 0;
onChanged();
return this;
}
private sila2.org.silastandard.SiLAFramework.Timezone timezone_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.Timezone, sila2.org.silastandard.SiLAFramework.Timezone.Builder, sila2.org.silastandard.SiLAFramework.TimezoneOrBuilder> timezoneBuilder_;
/**
* .sila2.org.silastandard.Timezone timezone = 7;
*/
public boolean hasTimezone() {
return timezoneBuilder_ != null || timezone_ != null;
}
/**
* .sila2.org.silastandard.Timezone timezone = 7;
*/
public sila2.org.silastandard.SiLAFramework.Timezone getTimezone() {
if (timezoneBuilder_ == null) {
return timezone_ == null ? sila2.org.silastandard.SiLAFramework.Timezone.getDefaultInstance() : timezone_;
} else {
return timezoneBuilder_.getMessage();
}
}
/**
* .sila2.org.silastandard.Timezone timezone = 7;
*/
public Builder setTimezone(sila2.org.silastandard.SiLAFramework.Timezone value) {
if (timezoneBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
timezone_ = value;
onChanged();
} else {
timezoneBuilder_.setMessage(value);
}
return this;
}
/**
* .sila2.org.silastandard.Timezone timezone = 7;
*/
public Builder setTimezone(
sila2.org.silastandard.SiLAFramework.Timezone.Builder builderForValue) {
if (timezoneBuilder_ == null) {
timezone_ = builderForValue.build();
onChanged();
} else {
timezoneBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .sila2.org.silastandard.Timezone timezone = 7;
*/
public Builder mergeTimezone(sila2.org.silastandard.SiLAFramework.Timezone value) {
if (timezoneBuilder_ == null) {
if (timezone_ != null) {
timezone_ =
sila2.org.silastandard.SiLAFramework.Timezone.newBuilder(timezone_).mergeFrom(value).buildPartial();
} else {
timezone_ = value;
}
onChanged();
} else {
timezoneBuilder_.mergeFrom(value);
}
return this;
}
/**
* .sila2.org.silastandard.Timezone timezone = 7;
*/
public Builder clearTimezone() {
if (timezoneBuilder_ == null) {
timezone_ = null;
onChanged();
} else {
timezone_ = null;
timezoneBuilder_ = null;
}
return this;
}
/**
* .sila2.org.silastandard.Timezone timezone = 7;
*/
public sila2.org.silastandard.SiLAFramework.Timezone.Builder getTimezoneBuilder() {
onChanged();
return getTimezoneFieldBuilder().getBuilder();
}
/**
* .sila2.org.silastandard.Timezone timezone = 7;
*/
public sila2.org.silastandard.SiLAFramework.TimezoneOrBuilder getTimezoneOrBuilder() {
if (timezoneBuilder_ != null) {
return timezoneBuilder_.getMessageOrBuilder();
} else {
return timezone_ == null ?
sila2.org.silastandard.SiLAFramework.Timezone.getDefaultInstance() : timezone_;
}
}
/**
* .sila2.org.silastandard.Timezone timezone = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.Timezone, sila2.org.silastandard.SiLAFramework.Timezone.Builder, sila2.org.silastandard.SiLAFramework.TimezoneOrBuilder>
getTimezoneFieldBuilder() {
if (timezoneBuilder_ == null) {
timezoneBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.Timezone, sila2.org.silastandard.SiLAFramework.Timezone.Builder, sila2.org.silastandard.SiLAFramework.TimezoneOrBuilder>(
getTimezone(),
getParentForChildren(),
isClean());
timezone_ = null;
}
return timezoneBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:sila2.org.silastandard.Timestamp)
}
// @@protoc_insertion_point(class_scope:sila2.org.silastandard.Timestamp)
private static final sila2.org.silastandard.SiLAFramework.Timestamp DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new sila2.org.silastandard.SiLAFramework.Timestamp();
}
public static sila2.org.silastandard.SiLAFramework.Timestamp getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public Timestamp parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Timestamp(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public sila2.org.silastandard.SiLAFramework.Timestamp getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TimezoneOrBuilder extends
// @@protoc_insertion_point(interface_extends:sila2.org.silastandard.Timezone)
com.google.protobuf.MessageOrBuilder {
/**
* int32 hours = 1;
*/
int getHours();
/**
* uint32 minutes = 2;
*/
int getMinutes();
}
/**
* Protobuf type {@code sila2.org.silastandard.Timezone}
*/
public static final class Timezone extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:sila2.org.silastandard.Timezone)
TimezoneOrBuilder {
private static final long serialVersionUID = 0L;
// Use Timezone.newBuilder() to construct.
private Timezone(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Timezone() {
hours_ = 0;
minutes_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Timezone(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
hours_ = input.readInt32();
break;
}
case 16: {
minutes_ = input.readUInt32();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Timezone_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Timezone_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.Timezone.class, sila2.org.silastandard.SiLAFramework.Timezone.Builder.class);
}
public static final int HOURS_FIELD_NUMBER = 1;
private int hours_;
/**
* int32 hours = 1;
*/
public int getHours() {
return hours_;
}
public static final int MINUTES_FIELD_NUMBER = 2;
private int minutes_;
/**
* uint32 minutes = 2;
*/
public int getMinutes() {
return minutes_;
}
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 (hours_ != 0) {
output.writeInt32(1, hours_);
}
if (minutes_ != 0) {
output.writeUInt32(2, minutes_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (hours_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, hours_);
}
if (minutes_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, minutes_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof sila2.org.silastandard.SiLAFramework.Timezone)) {
return super.equals(obj);
}
sila2.org.silastandard.SiLAFramework.Timezone other = (sila2.org.silastandard.SiLAFramework.Timezone) obj;
boolean result = true;
result = result && (getHours()
== other.getHours());
result = result && (getMinutes()
== other.getMinutes());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + HOURS_FIELD_NUMBER;
hash = (53 * hash) + getHours();
hash = (37 * hash) + MINUTES_FIELD_NUMBER;
hash = (53 * hash) + getMinutes();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static sila2.org.silastandard.SiLAFramework.Timezone parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.Timezone parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.Timezone parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.Timezone parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.Timezone parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.Timezone parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.Timezone parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.Timezone 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 sila2.org.silastandard.SiLAFramework.Timezone parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.Timezone 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 sila2.org.silastandard.SiLAFramework.Timezone parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.Timezone 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(sila2.org.silastandard.SiLAFramework.Timezone 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 sila2.org.silastandard.Timezone}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:sila2.org.silastandard.Timezone)
sila2.org.silastandard.SiLAFramework.TimezoneOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Timezone_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Timezone_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.Timezone.class, sila2.org.silastandard.SiLAFramework.Timezone.Builder.class);
}
// Construct using sila2.org.silastandard.SiLAFramework.Timezone.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();
hours_ = 0;
minutes_ = 0;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Timezone_descriptor;
}
public sila2.org.silastandard.SiLAFramework.Timezone getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.Timezone.getDefaultInstance();
}
public sila2.org.silastandard.SiLAFramework.Timezone build() {
sila2.org.silastandard.SiLAFramework.Timezone result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public sila2.org.silastandard.SiLAFramework.Timezone buildPartial() {
sila2.org.silastandard.SiLAFramework.Timezone result = new sila2.org.silastandard.SiLAFramework.Timezone(this);
result.hours_ = hours_;
result.minutes_ = minutes_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.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, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof sila2.org.silastandard.SiLAFramework.Timezone) {
return mergeFrom((sila2.org.silastandard.SiLAFramework.Timezone)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(sila2.org.silastandard.SiLAFramework.Timezone other) {
if (other == sila2.org.silastandard.SiLAFramework.Timezone.getDefaultInstance()) return this;
if (other.getHours() != 0) {
setHours(other.getHours());
}
if (other.getMinutes() != 0) {
setMinutes(other.getMinutes());
}
this.mergeUnknownFields(other.unknownFields);
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 {
sila2.org.silastandard.SiLAFramework.Timezone parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (sila2.org.silastandard.SiLAFramework.Timezone) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int hours_ ;
/**
* int32 hours = 1;
*/
public int getHours() {
return hours_;
}
/**
* int32 hours = 1;
*/
public Builder setHours(int value) {
hours_ = value;
onChanged();
return this;
}
/**
* int32 hours = 1;
*/
public Builder clearHours() {
hours_ = 0;
onChanged();
return this;
}
private int minutes_ ;
/**
* uint32 minutes = 2;
*/
public int getMinutes() {
return minutes_;
}
/**
* uint32 minutes = 2;
*/
public Builder setMinutes(int value) {
minutes_ = value;
onChanged();
return this;
}
/**
* uint32 minutes = 2;
*/
public Builder clearMinutes() {
minutes_ = 0;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:sila2.org.silastandard.Timezone)
}
// @@protoc_insertion_point(class_scope:sila2.org.silastandard.Timezone)
private static final sila2.org.silastandard.SiLAFramework.Timezone DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new sila2.org.silastandard.SiLAFramework.Timezone();
}
public static sila2.org.silastandard.SiLAFramework.Timezone getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public Timezone parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Timezone(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public sila2.org.silastandard.SiLAFramework.Timezone getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AnyOrBuilder extends
// @@protoc_insertion_point(interface_extends:sila2.org.silastandard.Any)
com.google.protobuf.MessageOrBuilder {
/**
* .sila2.org.silastandard.SiLAType type = 1;
*/
boolean hasType();
/**
* .sila2.org.silastandard.SiLAType type = 1;
*/
sila2.org.silastandard.SiLAFramework.SiLAType getType();
/**
* .sila2.org.silastandard.SiLAType type = 1;
*/
sila2.org.silastandard.SiLAFramework.SiLATypeOrBuilder getTypeOrBuilder();
/**
* bytes payload = 2;
*/
com.google.protobuf.ByteString getPayload();
}
/**
* Protobuf type {@code sila2.org.silastandard.Any}
*/
public static final class Any extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:sila2.org.silastandard.Any)
AnyOrBuilder {
private static final long serialVersionUID = 0L;
// Use Any.newBuilder() to construct.
private Any(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Any() {
payload_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Any(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
sila2.org.silastandard.SiLAFramework.SiLAType.Builder subBuilder = null;
if (type_ != null) {
subBuilder = type_.toBuilder();
}
type_ = input.readMessage(sila2.org.silastandard.SiLAFramework.SiLAType.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(type_);
type_ = subBuilder.buildPartial();
}
break;
}
case 18: {
payload_ = 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 {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Any_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Any_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.Any.class, sila2.org.silastandard.SiLAFramework.Any.Builder.class);
}
public static final int TYPE_FIELD_NUMBER = 1;
private sila2.org.silastandard.SiLAFramework.SiLAType type_;
/**
* .sila2.org.silastandard.SiLAType type = 1;
*/
public boolean hasType() {
return type_ != null;
}
/**
* .sila2.org.silastandard.SiLAType type = 1;
*/
public sila2.org.silastandard.SiLAFramework.SiLAType getType() {
return type_ == null ? sila2.org.silastandard.SiLAFramework.SiLAType.getDefaultInstance() : type_;
}
/**
* .sila2.org.silastandard.SiLAType type = 1;
*/
public sila2.org.silastandard.SiLAFramework.SiLATypeOrBuilder getTypeOrBuilder() {
return getType();
}
public static final int PAYLOAD_FIELD_NUMBER = 2;
private com.google.protobuf.ByteString payload_;
/**
* bytes payload = 2;
*/
public com.google.protobuf.ByteString getPayload() {
return payload_;
}
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 (type_ != null) {
output.writeMessage(1, getType());
}
if (!payload_.isEmpty()) {
output.writeBytes(2, payload_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (type_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getType());
}
if (!payload_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, payload_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof sila2.org.silastandard.SiLAFramework.Any)) {
return super.equals(obj);
}
sila2.org.silastandard.SiLAFramework.Any other = (sila2.org.silastandard.SiLAFramework.Any) obj;
boolean result = true;
result = result && (hasType() == other.hasType());
if (hasType()) {
result = result && getType()
.equals(other.getType());
}
result = result && getPayload()
.equals(other.getPayload());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasType()) {
hash = (37 * hash) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + getType().hashCode();
}
hash = (37 * hash) + PAYLOAD_FIELD_NUMBER;
hash = (53 * hash) + getPayload().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static sila2.org.silastandard.SiLAFramework.Any parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.Any parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.Any parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.Any parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.Any parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.Any parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.Any parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.Any 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 sila2.org.silastandard.SiLAFramework.Any parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.Any 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 sila2.org.silastandard.SiLAFramework.Any parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.Any 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(sila2.org.silastandard.SiLAFramework.Any 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 sila2.org.silastandard.Any}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:sila2.org.silastandard.Any)
sila2.org.silastandard.SiLAFramework.AnyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Any_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Any_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.Any.class, sila2.org.silastandard.SiLAFramework.Any.Builder.class);
}
// Construct using sila2.org.silastandard.SiLAFramework.Any.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 (typeBuilder_ == null) {
type_ = null;
} else {
type_ = null;
typeBuilder_ = null;
}
payload_ = com.google.protobuf.ByteString.EMPTY;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Any_descriptor;
}
public sila2.org.silastandard.SiLAFramework.Any getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.Any.getDefaultInstance();
}
public sila2.org.silastandard.SiLAFramework.Any build() {
sila2.org.silastandard.SiLAFramework.Any result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public sila2.org.silastandard.SiLAFramework.Any buildPartial() {
sila2.org.silastandard.SiLAFramework.Any result = new sila2.org.silastandard.SiLAFramework.Any(this);
if (typeBuilder_ == null) {
result.type_ = type_;
} else {
result.type_ = typeBuilder_.build();
}
result.payload_ = payload_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.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, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof sila2.org.silastandard.SiLAFramework.Any) {
return mergeFrom((sila2.org.silastandard.SiLAFramework.Any)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(sila2.org.silastandard.SiLAFramework.Any other) {
if (other == sila2.org.silastandard.SiLAFramework.Any.getDefaultInstance()) return this;
if (other.hasType()) {
mergeType(other.getType());
}
if (other.getPayload() != com.google.protobuf.ByteString.EMPTY) {
setPayload(other.getPayload());
}
this.mergeUnknownFields(other.unknownFields);
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 {
sila2.org.silastandard.SiLAFramework.Any parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (sila2.org.silastandard.SiLAFramework.Any) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private sila2.org.silastandard.SiLAFramework.SiLAType type_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.SiLAType, sila2.org.silastandard.SiLAFramework.SiLAType.Builder, sila2.org.silastandard.SiLAFramework.SiLATypeOrBuilder> typeBuilder_;
/**
* .sila2.org.silastandard.SiLAType type = 1;
*/
public boolean hasType() {
return typeBuilder_ != null || type_ != null;
}
/**
* .sila2.org.silastandard.SiLAType type = 1;
*/
public sila2.org.silastandard.SiLAFramework.SiLAType getType() {
if (typeBuilder_ == null) {
return type_ == null ? sila2.org.silastandard.SiLAFramework.SiLAType.getDefaultInstance() : type_;
} else {
return typeBuilder_.getMessage();
}
}
/**
* .sila2.org.silastandard.SiLAType type = 1;
*/
public Builder setType(sila2.org.silastandard.SiLAFramework.SiLAType value) {
if (typeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
type_ = value;
onChanged();
} else {
typeBuilder_.setMessage(value);
}
return this;
}
/**
* .sila2.org.silastandard.SiLAType type = 1;
*/
public Builder setType(
sila2.org.silastandard.SiLAFramework.SiLAType.Builder builderForValue) {
if (typeBuilder_ == null) {
type_ = builderForValue.build();
onChanged();
} else {
typeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .sila2.org.silastandard.SiLAType type = 1;
*/
public Builder mergeType(sila2.org.silastandard.SiLAFramework.SiLAType value) {
if (typeBuilder_ == null) {
if (type_ != null) {
type_ =
sila2.org.silastandard.SiLAFramework.SiLAType.newBuilder(type_).mergeFrom(value).buildPartial();
} else {
type_ = value;
}
onChanged();
} else {
typeBuilder_.mergeFrom(value);
}
return this;
}
/**
* .sila2.org.silastandard.SiLAType type = 1;
*/
public Builder clearType() {
if (typeBuilder_ == null) {
type_ = null;
onChanged();
} else {
type_ = null;
typeBuilder_ = null;
}
return this;
}
/**
* .sila2.org.silastandard.SiLAType type = 1;
*/
public sila2.org.silastandard.SiLAFramework.SiLAType.Builder getTypeBuilder() {
onChanged();
return getTypeFieldBuilder().getBuilder();
}
/**
* .sila2.org.silastandard.SiLAType type = 1;
*/
public sila2.org.silastandard.SiLAFramework.SiLATypeOrBuilder getTypeOrBuilder() {
if (typeBuilder_ != null) {
return typeBuilder_.getMessageOrBuilder();
} else {
return type_ == null ?
sila2.org.silastandard.SiLAFramework.SiLAType.getDefaultInstance() : type_;
}
}
/**
* .sila2.org.silastandard.SiLAType type = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.SiLAType, sila2.org.silastandard.SiLAFramework.SiLAType.Builder, sila2.org.silastandard.SiLAFramework.SiLATypeOrBuilder>
getTypeFieldBuilder() {
if (typeBuilder_ == null) {
typeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.SiLAType, sila2.org.silastandard.SiLAFramework.SiLAType.Builder, sila2.org.silastandard.SiLAFramework.SiLATypeOrBuilder>(
getType(),
getParentForChildren(),
isClean());
type_ = null;
}
return typeBuilder_;
}
private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes payload = 2;
*/
public com.google.protobuf.ByteString getPayload() {
return payload_;
}
/**
* bytes payload = 2;
*/
public Builder setPayload(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
payload_ = value;
onChanged();
return this;
}
/**
* bytes payload = 2;
*/
public Builder clearPayload() {
payload_ = getDefaultInstance().getPayload();
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:sila2.org.silastandard.Any)
}
// @@protoc_insertion_point(class_scope:sila2.org.silastandard.Any)
private static final sila2.org.silastandard.SiLAFramework.Any DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new sila2.org.silastandard.SiLAFramework.Any();
}
public static sila2.org.silastandard.SiLAFramework.Any getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public Any parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Any(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public sila2.org.silastandard.SiLAFramework.Any getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ListTypeOrBuilder extends
// @@protoc_insertion_point(interface_extends:sila2.org.silastandard.ListType)
com.google.protobuf.MessageOrBuilder {
/**
* .sila2.org.silastandard.SiLAType silaType = 1;
*/
boolean hasSilaType();
/**
* .sila2.org.silastandard.SiLAType silaType = 1;
*/
sila2.org.silastandard.SiLAFramework.SiLAType getSilaType();
/**
* .sila2.org.silastandard.SiLAType silaType = 1;
*/
sila2.org.silastandard.SiLAFramework.SiLATypeOrBuilder getSilaTypeOrBuilder();
}
/**
* Protobuf type {@code sila2.org.silastandard.ListType}
*/
public static final class ListType extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:sila2.org.silastandard.ListType)
ListTypeOrBuilder {
private static final long serialVersionUID = 0L;
// Use ListType.newBuilder() to construct.
private ListType(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ListType() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ListType(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
sila2.org.silastandard.SiLAFramework.SiLAType.Builder subBuilder = null;
if (silaType_ != null) {
subBuilder = silaType_.toBuilder();
}
silaType_ = input.readMessage(sila2.org.silastandard.SiLAFramework.SiLAType.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(silaType_);
silaType_ = 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 {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_ListType_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_ListType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.ListType.class, sila2.org.silastandard.SiLAFramework.ListType.Builder.class);
}
public static final int SILATYPE_FIELD_NUMBER = 1;
private sila2.org.silastandard.SiLAFramework.SiLAType silaType_;
/**
* .sila2.org.silastandard.SiLAType silaType = 1;
*/
public boolean hasSilaType() {
return silaType_ != null;
}
/**
* .sila2.org.silastandard.SiLAType silaType = 1;
*/
public sila2.org.silastandard.SiLAFramework.SiLAType getSilaType() {
return silaType_ == null ? sila2.org.silastandard.SiLAFramework.SiLAType.getDefaultInstance() : silaType_;
}
/**
* .sila2.org.silastandard.SiLAType silaType = 1;
*/
public sila2.org.silastandard.SiLAFramework.SiLATypeOrBuilder getSilaTypeOrBuilder() {
return getSilaType();
}
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 (silaType_ != null) {
output.writeMessage(1, getSilaType());
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (silaType_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getSilaType());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof sila2.org.silastandard.SiLAFramework.ListType)) {
return super.equals(obj);
}
sila2.org.silastandard.SiLAFramework.ListType other = (sila2.org.silastandard.SiLAFramework.ListType) obj;
boolean result = true;
result = result && (hasSilaType() == other.hasSilaType());
if (hasSilaType()) {
result = result && getSilaType()
.equals(other.getSilaType());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasSilaType()) {
hash = (37 * hash) + SILATYPE_FIELD_NUMBER;
hash = (53 * hash) + getSilaType().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static sila2.org.silastandard.SiLAFramework.ListType parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.ListType parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.ListType parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.ListType parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.ListType parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.ListType parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.ListType parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.ListType 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 sila2.org.silastandard.SiLAFramework.ListType parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.ListType 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 sila2.org.silastandard.SiLAFramework.ListType parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.ListType 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(sila2.org.silastandard.SiLAFramework.ListType 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 sila2.org.silastandard.ListType}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:sila2.org.silastandard.ListType)
sila2.org.silastandard.SiLAFramework.ListTypeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_ListType_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_ListType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.ListType.class, sila2.org.silastandard.SiLAFramework.ListType.Builder.class);
}
// Construct using sila2.org.silastandard.SiLAFramework.ListType.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 (silaTypeBuilder_ == null) {
silaType_ = null;
} else {
silaType_ = null;
silaTypeBuilder_ = null;
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_ListType_descriptor;
}
public sila2.org.silastandard.SiLAFramework.ListType getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.ListType.getDefaultInstance();
}
public sila2.org.silastandard.SiLAFramework.ListType build() {
sila2.org.silastandard.SiLAFramework.ListType result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public sila2.org.silastandard.SiLAFramework.ListType buildPartial() {
sila2.org.silastandard.SiLAFramework.ListType result = new sila2.org.silastandard.SiLAFramework.ListType(this);
if (silaTypeBuilder_ == null) {
result.silaType_ = silaType_;
} else {
result.silaType_ = silaTypeBuilder_.build();
}
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.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, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof sila2.org.silastandard.SiLAFramework.ListType) {
return mergeFrom((sila2.org.silastandard.SiLAFramework.ListType)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(sila2.org.silastandard.SiLAFramework.ListType other) {
if (other == sila2.org.silastandard.SiLAFramework.ListType.getDefaultInstance()) return this;
if (other.hasSilaType()) {
mergeSilaType(other.getSilaType());
}
this.mergeUnknownFields(other.unknownFields);
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 {
sila2.org.silastandard.SiLAFramework.ListType parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (sila2.org.silastandard.SiLAFramework.ListType) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private sila2.org.silastandard.SiLAFramework.SiLAType silaType_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.SiLAType, sila2.org.silastandard.SiLAFramework.SiLAType.Builder, sila2.org.silastandard.SiLAFramework.SiLATypeOrBuilder> silaTypeBuilder_;
/**
* .sila2.org.silastandard.SiLAType silaType = 1;
*/
public boolean hasSilaType() {
return silaTypeBuilder_ != null || silaType_ != null;
}
/**
* .sila2.org.silastandard.SiLAType silaType = 1;
*/
public sila2.org.silastandard.SiLAFramework.SiLAType getSilaType() {
if (silaTypeBuilder_ == null) {
return silaType_ == null ? sila2.org.silastandard.SiLAFramework.SiLAType.getDefaultInstance() : silaType_;
} else {
return silaTypeBuilder_.getMessage();
}
}
/**
* .sila2.org.silastandard.SiLAType silaType = 1;
*/
public Builder setSilaType(sila2.org.silastandard.SiLAFramework.SiLAType value) {
if (silaTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
silaType_ = value;
onChanged();
} else {
silaTypeBuilder_.setMessage(value);
}
return this;
}
/**
* .sila2.org.silastandard.SiLAType silaType = 1;
*/
public Builder setSilaType(
sila2.org.silastandard.SiLAFramework.SiLAType.Builder builderForValue) {
if (silaTypeBuilder_ == null) {
silaType_ = builderForValue.build();
onChanged();
} else {
silaTypeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .sila2.org.silastandard.SiLAType silaType = 1;
*/
public Builder mergeSilaType(sila2.org.silastandard.SiLAFramework.SiLAType value) {
if (silaTypeBuilder_ == null) {
if (silaType_ != null) {
silaType_ =
sila2.org.silastandard.SiLAFramework.SiLAType.newBuilder(silaType_).mergeFrom(value).buildPartial();
} else {
silaType_ = value;
}
onChanged();
} else {
silaTypeBuilder_.mergeFrom(value);
}
return this;
}
/**
* .sila2.org.silastandard.SiLAType silaType = 1;
*/
public Builder clearSilaType() {
if (silaTypeBuilder_ == null) {
silaType_ = null;
onChanged();
} else {
silaType_ = null;
silaTypeBuilder_ = null;
}
return this;
}
/**
* .sila2.org.silastandard.SiLAType silaType = 1;
*/
public sila2.org.silastandard.SiLAFramework.SiLAType.Builder getSilaTypeBuilder() {
onChanged();
return getSilaTypeFieldBuilder().getBuilder();
}
/**
* .sila2.org.silastandard.SiLAType silaType = 1;
*/
public sila2.org.silastandard.SiLAFramework.SiLATypeOrBuilder getSilaTypeOrBuilder() {
if (silaTypeBuilder_ != null) {
return silaTypeBuilder_.getMessageOrBuilder();
} else {
return silaType_ == null ?
sila2.org.silastandard.SiLAFramework.SiLAType.getDefaultInstance() : silaType_;
}
}
/**
* .sila2.org.silastandard.SiLAType silaType = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.SiLAType, sila2.org.silastandard.SiLAFramework.SiLAType.Builder, sila2.org.silastandard.SiLAFramework.SiLATypeOrBuilder>
getSilaTypeFieldBuilder() {
if (silaTypeBuilder_ == null) {
silaTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.SiLAType, sila2.org.silastandard.SiLAFramework.SiLAType.Builder, sila2.org.silastandard.SiLAFramework.SiLATypeOrBuilder>(
getSilaType(),
getParentForChildren(),
isClean());
silaType_ = null;
}
return silaTypeBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:sila2.org.silastandard.ListType)
}
// @@protoc_insertion_point(class_scope:sila2.org.silastandard.ListType)
private static final sila2.org.silastandard.SiLAFramework.ListType DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new sila2.org.silastandard.SiLAFramework.ListType();
}
public static sila2.org.silastandard.SiLAFramework.ListType getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public ListType parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ListType(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public sila2.org.silastandard.SiLAFramework.ListType getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface StructureTypeOrBuilder extends
// @@protoc_insertion_point(interface_extends:sila2.org.silastandard.StructureType)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .sila2.org.silastandard.StructureType.Element elements = 1;
*/
java.util.List
getElementsList();
/**
* repeated .sila2.org.silastandard.StructureType.Element elements = 1;
*/
sila2.org.silastandard.SiLAFramework.StructureType.Element getElements(int index);
/**
* repeated .sila2.org.silastandard.StructureType.Element elements = 1;
*/
int getElementsCount();
/**
* repeated .sila2.org.silastandard.StructureType.Element elements = 1;
*/
java.util.List extends sila2.org.silastandard.SiLAFramework.StructureType.ElementOrBuilder>
getElementsOrBuilderList();
/**
* repeated .sila2.org.silastandard.StructureType.Element elements = 1;
*/
sila2.org.silastandard.SiLAFramework.StructureType.ElementOrBuilder getElementsOrBuilder(
int index);
}
/**
* Protobuf type {@code sila2.org.silastandard.StructureType}
*/
public static final class StructureType extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:sila2.org.silastandard.StructureType)
StructureTypeOrBuilder {
private static final long serialVersionUID = 0L;
// Use StructureType.newBuilder() to construct.
private StructureType(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private StructureType() {
elements_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private StructureType(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
elements_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
elements_.add(
input.readMessage(sila2.org.silastandard.SiLAFramework.StructureType.Element.parser(), extensionRegistry));
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 {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
elements_ = java.util.Collections.unmodifiableList(elements_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_StructureType_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_StructureType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.StructureType.class, sila2.org.silastandard.SiLAFramework.StructureType.Builder.class);
}
public interface ElementOrBuilder extends
// @@protoc_insertion_point(interface_extends:sila2.org.silastandard.StructureType.Element)
com.google.protobuf.MessageOrBuilder {
/**
* .sila2.org.silastandard.String identifier = 1;
*/
boolean hasIdentifier();
/**
* .sila2.org.silastandard.String identifier = 1;
*/
sila2.org.silastandard.SiLAFramework.String getIdentifier();
/**
* .sila2.org.silastandard.String identifier = 1;
*/
sila2.org.silastandard.SiLAFramework.StringOrBuilder getIdentifierOrBuilder();
/**
* .sila2.org.silastandard.SiLAType type = 2;
*/
boolean hasType();
/**
* .sila2.org.silastandard.SiLAType type = 2;
*/
sila2.org.silastandard.SiLAFramework.SiLAType getType();
/**
* .sila2.org.silastandard.SiLAType type = 2;
*/
sila2.org.silastandard.SiLAFramework.SiLATypeOrBuilder getTypeOrBuilder();
}
/**
* Protobuf type {@code sila2.org.silastandard.StructureType.Element}
*/
public static final class Element extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:sila2.org.silastandard.StructureType.Element)
ElementOrBuilder {
private static final long serialVersionUID = 0L;
// Use Element.newBuilder() to construct.
private Element(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Element() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Element(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
sila2.org.silastandard.SiLAFramework.String.Builder subBuilder = null;
if (identifier_ != null) {
subBuilder = identifier_.toBuilder();
}
identifier_ = input.readMessage(sila2.org.silastandard.SiLAFramework.String.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(identifier_);
identifier_ = subBuilder.buildPartial();
}
break;
}
case 18: {
sila2.org.silastandard.SiLAFramework.SiLAType.Builder subBuilder = null;
if (type_ != null) {
subBuilder = type_.toBuilder();
}
type_ = input.readMessage(sila2.org.silastandard.SiLAFramework.SiLAType.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(type_);
type_ = 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 {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_StructureType_Element_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_StructureType_Element_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.StructureType.Element.class, sila2.org.silastandard.SiLAFramework.StructureType.Element.Builder.class);
}
public static final int IDENTIFIER_FIELD_NUMBER = 1;
private sila2.org.silastandard.SiLAFramework.String identifier_;
/**
* .sila2.org.silastandard.String identifier = 1;
*/
public boolean hasIdentifier() {
return identifier_ != null;
}
/**
* .sila2.org.silastandard.String identifier = 1;
*/
public sila2.org.silastandard.SiLAFramework.String getIdentifier() {
return identifier_ == null ? sila2.org.silastandard.SiLAFramework.String.getDefaultInstance() : identifier_;
}
/**
* .sila2.org.silastandard.String identifier = 1;
*/
public sila2.org.silastandard.SiLAFramework.StringOrBuilder getIdentifierOrBuilder() {
return getIdentifier();
}
public static final int TYPE_FIELD_NUMBER = 2;
private sila2.org.silastandard.SiLAFramework.SiLAType type_;
/**
* .sila2.org.silastandard.SiLAType type = 2;
*/
public boolean hasType() {
return type_ != null;
}
/**
* .sila2.org.silastandard.SiLAType type = 2;
*/
public sila2.org.silastandard.SiLAFramework.SiLAType getType() {
return type_ == null ? sila2.org.silastandard.SiLAFramework.SiLAType.getDefaultInstance() : type_;
}
/**
* .sila2.org.silastandard.SiLAType type = 2;
*/
public sila2.org.silastandard.SiLAFramework.SiLATypeOrBuilder getTypeOrBuilder() {
return getType();
}
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 (identifier_ != null) {
output.writeMessage(1, getIdentifier());
}
if (type_ != null) {
output.writeMessage(2, getType());
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (identifier_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getIdentifier());
}
if (type_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getType());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof sila2.org.silastandard.SiLAFramework.StructureType.Element)) {
return super.equals(obj);
}
sila2.org.silastandard.SiLAFramework.StructureType.Element other = (sila2.org.silastandard.SiLAFramework.StructureType.Element) obj;
boolean result = true;
result = result && (hasIdentifier() == other.hasIdentifier());
if (hasIdentifier()) {
result = result && getIdentifier()
.equals(other.getIdentifier());
}
result = result && (hasType() == other.hasType());
if (hasType()) {
result = result && getType()
.equals(other.getType());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasIdentifier()) {
hash = (37 * hash) + IDENTIFIER_FIELD_NUMBER;
hash = (53 * hash) + getIdentifier().hashCode();
}
if (hasType()) {
hash = (37 * hash) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + getType().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static sila2.org.silastandard.SiLAFramework.StructureType.Element parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.StructureType.Element parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.StructureType.Element parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.StructureType.Element parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.StructureType.Element parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.StructureType.Element parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.StructureType.Element parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.StructureType.Element 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 sila2.org.silastandard.SiLAFramework.StructureType.Element parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.StructureType.Element 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 sila2.org.silastandard.SiLAFramework.StructureType.Element parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.StructureType.Element 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(sila2.org.silastandard.SiLAFramework.StructureType.Element 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 sila2.org.silastandard.StructureType.Element}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:sila2.org.silastandard.StructureType.Element)
sila2.org.silastandard.SiLAFramework.StructureType.ElementOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_StructureType_Element_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_StructureType_Element_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.StructureType.Element.class, sila2.org.silastandard.SiLAFramework.StructureType.Element.Builder.class);
}
// Construct using sila2.org.silastandard.SiLAFramework.StructureType.Element.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 (identifierBuilder_ == null) {
identifier_ = null;
} else {
identifier_ = null;
identifierBuilder_ = null;
}
if (typeBuilder_ == null) {
type_ = null;
} else {
type_ = null;
typeBuilder_ = null;
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_StructureType_Element_descriptor;
}
public sila2.org.silastandard.SiLAFramework.StructureType.Element getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.StructureType.Element.getDefaultInstance();
}
public sila2.org.silastandard.SiLAFramework.StructureType.Element build() {
sila2.org.silastandard.SiLAFramework.StructureType.Element result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public sila2.org.silastandard.SiLAFramework.StructureType.Element buildPartial() {
sila2.org.silastandard.SiLAFramework.StructureType.Element result = new sila2.org.silastandard.SiLAFramework.StructureType.Element(this);
if (identifierBuilder_ == null) {
result.identifier_ = identifier_;
} else {
result.identifier_ = identifierBuilder_.build();
}
if (typeBuilder_ == null) {
result.type_ = type_;
} else {
result.type_ = typeBuilder_.build();
}
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.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, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof sila2.org.silastandard.SiLAFramework.StructureType.Element) {
return mergeFrom((sila2.org.silastandard.SiLAFramework.StructureType.Element)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(sila2.org.silastandard.SiLAFramework.StructureType.Element other) {
if (other == sila2.org.silastandard.SiLAFramework.StructureType.Element.getDefaultInstance()) return this;
if (other.hasIdentifier()) {
mergeIdentifier(other.getIdentifier());
}
if (other.hasType()) {
mergeType(other.getType());
}
this.mergeUnknownFields(other.unknownFields);
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 {
sila2.org.silastandard.SiLAFramework.StructureType.Element parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (sila2.org.silastandard.SiLAFramework.StructureType.Element) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private sila2.org.silastandard.SiLAFramework.String identifier_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.String, sila2.org.silastandard.SiLAFramework.String.Builder, sila2.org.silastandard.SiLAFramework.StringOrBuilder> identifierBuilder_;
/**
* .sila2.org.silastandard.String identifier = 1;
*/
public boolean hasIdentifier() {
return identifierBuilder_ != null || identifier_ != null;
}
/**
* .sila2.org.silastandard.String identifier = 1;
*/
public sila2.org.silastandard.SiLAFramework.String getIdentifier() {
if (identifierBuilder_ == null) {
return identifier_ == null ? sila2.org.silastandard.SiLAFramework.String.getDefaultInstance() : identifier_;
} else {
return identifierBuilder_.getMessage();
}
}
/**
* .sila2.org.silastandard.String identifier = 1;
*/
public Builder setIdentifier(sila2.org.silastandard.SiLAFramework.String value) {
if (identifierBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
identifier_ = value;
onChanged();
} else {
identifierBuilder_.setMessage(value);
}
return this;
}
/**
* .sila2.org.silastandard.String identifier = 1;
*/
public Builder setIdentifier(
sila2.org.silastandard.SiLAFramework.String.Builder builderForValue) {
if (identifierBuilder_ == null) {
identifier_ = builderForValue.build();
onChanged();
} else {
identifierBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .sila2.org.silastandard.String identifier = 1;
*/
public Builder mergeIdentifier(sila2.org.silastandard.SiLAFramework.String value) {
if (identifierBuilder_ == null) {
if (identifier_ != null) {
identifier_ =
sila2.org.silastandard.SiLAFramework.String.newBuilder(identifier_).mergeFrom(value).buildPartial();
} else {
identifier_ = value;
}
onChanged();
} else {
identifierBuilder_.mergeFrom(value);
}
return this;
}
/**
* .sila2.org.silastandard.String identifier = 1;
*/
public Builder clearIdentifier() {
if (identifierBuilder_ == null) {
identifier_ = null;
onChanged();
} else {
identifier_ = null;
identifierBuilder_ = null;
}
return this;
}
/**
* .sila2.org.silastandard.String identifier = 1;
*/
public sila2.org.silastandard.SiLAFramework.String.Builder getIdentifierBuilder() {
onChanged();
return getIdentifierFieldBuilder().getBuilder();
}
/**
* .sila2.org.silastandard.String identifier = 1;
*/
public sila2.org.silastandard.SiLAFramework.StringOrBuilder getIdentifierOrBuilder() {
if (identifierBuilder_ != null) {
return identifierBuilder_.getMessageOrBuilder();
} else {
return identifier_ == null ?
sila2.org.silastandard.SiLAFramework.String.getDefaultInstance() : identifier_;
}
}
/**
* .sila2.org.silastandard.String identifier = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.String, sila2.org.silastandard.SiLAFramework.String.Builder, sila2.org.silastandard.SiLAFramework.StringOrBuilder>
getIdentifierFieldBuilder() {
if (identifierBuilder_ == null) {
identifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.String, sila2.org.silastandard.SiLAFramework.String.Builder, sila2.org.silastandard.SiLAFramework.StringOrBuilder>(
getIdentifier(),
getParentForChildren(),
isClean());
identifier_ = null;
}
return identifierBuilder_;
}
private sila2.org.silastandard.SiLAFramework.SiLAType type_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.SiLAType, sila2.org.silastandard.SiLAFramework.SiLAType.Builder, sila2.org.silastandard.SiLAFramework.SiLATypeOrBuilder> typeBuilder_;
/**
* .sila2.org.silastandard.SiLAType type = 2;
*/
public boolean hasType() {
return typeBuilder_ != null || type_ != null;
}
/**
* .sila2.org.silastandard.SiLAType type = 2;
*/
public sila2.org.silastandard.SiLAFramework.SiLAType getType() {
if (typeBuilder_ == null) {
return type_ == null ? sila2.org.silastandard.SiLAFramework.SiLAType.getDefaultInstance() : type_;
} else {
return typeBuilder_.getMessage();
}
}
/**
* .sila2.org.silastandard.SiLAType type = 2;
*/
public Builder setType(sila2.org.silastandard.SiLAFramework.SiLAType value) {
if (typeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
type_ = value;
onChanged();
} else {
typeBuilder_.setMessage(value);
}
return this;
}
/**
* .sila2.org.silastandard.SiLAType type = 2;
*/
public Builder setType(
sila2.org.silastandard.SiLAFramework.SiLAType.Builder builderForValue) {
if (typeBuilder_ == null) {
type_ = builderForValue.build();
onChanged();
} else {
typeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .sila2.org.silastandard.SiLAType type = 2;
*/
public Builder mergeType(sila2.org.silastandard.SiLAFramework.SiLAType value) {
if (typeBuilder_ == null) {
if (type_ != null) {
type_ =
sila2.org.silastandard.SiLAFramework.SiLAType.newBuilder(type_).mergeFrom(value).buildPartial();
} else {
type_ = value;
}
onChanged();
} else {
typeBuilder_.mergeFrom(value);
}
return this;
}
/**
* .sila2.org.silastandard.SiLAType type = 2;
*/
public Builder clearType() {
if (typeBuilder_ == null) {
type_ = null;
onChanged();
} else {
type_ = null;
typeBuilder_ = null;
}
return this;
}
/**
* .sila2.org.silastandard.SiLAType type = 2;
*/
public sila2.org.silastandard.SiLAFramework.SiLAType.Builder getTypeBuilder() {
onChanged();
return getTypeFieldBuilder().getBuilder();
}
/**
* .sila2.org.silastandard.SiLAType type = 2;
*/
public sila2.org.silastandard.SiLAFramework.SiLATypeOrBuilder getTypeOrBuilder() {
if (typeBuilder_ != null) {
return typeBuilder_.getMessageOrBuilder();
} else {
return type_ == null ?
sila2.org.silastandard.SiLAFramework.SiLAType.getDefaultInstance() : type_;
}
}
/**
* .sila2.org.silastandard.SiLAType type = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.SiLAType, sila2.org.silastandard.SiLAFramework.SiLAType.Builder, sila2.org.silastandard.SiLAFramework.SiLATypeOrBuilder>
getTypeFieldBuilder() {
if (typeBuilder_ == null) {
typeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.SiLAType, sila2.org.silastandard.SiLAFramework.SiLAType.Builder, sila2.org.silastandard.SiLAFramework.SiLATypeOrBuilder>(
getType(),
getParentForChildren(),
isClean());
type_ = null;
}
return typeBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:sila2.org.silastandard.StructureType.Element)
}
// @@protoc_insertion_point(class_scope:sila2.org.silastandard.StructureType.Element)
private static final sila2.org.silastandard.SiLAFramework.StructureType.Element DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new sila2.org.silastandard.SiLAFramework.StructureType.Element();
}
public static sila2.org.silastandard.SiLAFramework.StructureType.Element getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public Element parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Element(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public sila2.org.silastandard.SiLAFramework.StructureType.Element getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public static final int ELEMENTS_FIELD_NUMBER = 1;
private java.util.List elements_;
/**
* repeated .sila2.org.silastandard.StructureType.Element elements = 1;
*/
public java.util.List getElementsList() {
return elements_;
}
/**
* repeated .sila2.org.silastandard.StructureType.Element elements = 1;
*/
public java.util.List extends sila2.org.silastandard.SiLAFramework.StructureType.ElementOrBuilder>
getElementsOrBuilderList() {
return elements_;
}
/**
* repeated .sila2.org.silastandard.StructureType.Element elements = 1;
*/
public int getElementsCount() {
return elements_.size();
}
/**
* repeated .sila2.org.silastandard.StructureType.Element elements = 1;
*/
public sila2.org.silastandard.SiLAFramework.StructureType.Element getElements(int index) {
return elements_.get(index);
}
/**
* repeated .sila2.org.silastandard.StructureType.Element elements = 1;
*/
public sila2.org.silastandard.SiLAFramework.StructureType.ElementOrBuilder getElementsOrBuilder(
int index) {
return elements_.get(index);
}
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 {
for (int i = 0; i < elements_.size(); i++) {
output.writeMessage(1, elements_.get(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < elements_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, elements_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof sila2.org.silastandard.SiLAFramework.StructureType)) {
return super.equals(obj);
}
sila2.org.silastandard.SiLAFramework.StructureType other = (sila2.org.silastandard.SiLAFramework.StructureType) obj;
boolean result = true;
result = result && getElementsList()
.equals(other.getElementsList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getElementsCount() > 0) {
hash = (37 * hash) + ELEMENTS_FIELD_NUMBER;
hash = (53 * hash) + getElementsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static sila2.org.silastandard.SiLAFramework.StructureType parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.StructureType parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.StructureType parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.StructureType parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.StructureType parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.StructureType parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.StructureType parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.StructureType 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 sila2.org.silastandard.SiLAFramework.StructureType parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.StructureType 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 sila2.org.silastandard.SiLAFramework.StructureType parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.StructureType 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(sila2.org.silastandard.SiLAFramework.StructureType 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 sila2.org.silastandard.StructureType}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:sila2.org.silastandard.StructureType)
sila2.org.silastandard.SiLAFramework.StructureTypeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_StructureType_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_StructureType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.StructureType.class, sila2.org.silastandard.SiLAFramework.StructureType.Builder.class);
}
// Construct using sila2.org.silastandard.SiLAFramework.StructureType.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getElementsFieldBuilder();
}
}
public Builder clear() {
super.clear();
if (elementsBuilder_ == null) {
elements_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
elementsBuilder_.clear();
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_StructureType_descriptor;
}
public sila2.org.silastandard.SiLAFramework.StructureType getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.StructureType.getDefaultInstance();
}
public sila2.org.silastandard.SiLAFramework.StructureType build() {
sila2.org.silastandard.SiLAFramework.StructureType result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public sila2.org.silastandard.SiLAFramework.StructureType buildPartial() {
sila2.org.silastandard.SiLAFramework.StructureType result = new sila2.org.silastandard.SiLAFramework.StructureType(this);
int from_bitField0_ = bitField0_;
if (elementsBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
elements_ = java.util.Collections.unmodifiableList(elements_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.elements_ = elements_;
} else {
result.elements_ = elementsBuilder_.build();
}
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.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, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof sila2.org.silastandard.SiLAFramework.StructureType) {
return mergeFrom((sila2.org.silastandard.SiLAFramework.StructureType)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(sila2.org.silastandard.SiLAFramework.StructureType other) {
if (other == sila2.org.silastandard.SiLAFramework.StructureType.getDefaultInstance()) return this;
if (elementsBuilder_ == null) {
if (!other.elements_.isEmpty()) {
if (elements_.isEmpty()) {
elements_ = other.elements_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureElementsIsMutable();
elements_.addAll(other.elements_);
}
onChanged();
}
} else {
if (!other.elements_.isEmpty()) {
if (elementsBuilder_.isEmpty()) {
elementsBuilder_.dispose();
elementsBuilder_ = null;
elements_ = other.elements_;
bitField0_ = (bitField0_ & ~0x00000001);
elementsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getElementsFieldBuilder() : null;
} else {
elementsBuilder_.addAllMessages(other.elements_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
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 {
sila2.org.silastandard.SiLAFramework.StructureType parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (sila2.org.silastandard.SiLAFramework.StructureType) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List elements_ =
java.util.Collections.emptyList();
private void ensureElementsIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
elements_ = new java.util.ArrayList(elements_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.StructureType.Element, sila2.org.silastandard.SiLAFramework.StructureType.Element.Builder, sila2.org.silastandard.SiLAFramework.StructureType.ElementOrBuilder> elementsBuilder_;
/**
* repeated .sila2.org.silastandard.StructureType.Element elements = 1;
*/
public java.util.List getElementsList() {
if (elementsBuilder_ == null) {
return java.util.Collections.unmodifiableList(elements_);
} else {
return elementsBuilder_.getMessageList();
}
}
/**
* repeated .sila2.org.silastandard.StructureType.Element elements = 1;
*/
public int getElementsCount() {
if (elementsBuilder_ == null) {
return elements_.size();
} else {
return elementsBuilder_.getCount();
}
}
/**
* repeated .sila2.org.silastandard.StructureType.Element elements = 1;
*/
public sila2.org.silastandard.SiLAFramework.StructureType.Element getElements(int index) {
if (elementsBuilder_ == null) {
return elements_.get(index);
} else {
return elementsBuilder_.getMessage(index);
}
}
/**
* repeated .sila2.org.silastandard.StructureType.Element elements = 1;
*/
public Builder setElements(
int index, sila2.org.silastandard.SiLAFramework.StructureType.Element value) {
if (elementsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureElementsIsMutable();
elements_.set(index, value);
onChanged();
} else {
elementsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .sila2.org.silastandard.StructureType.Element elements = 1;
*/
public Builder setElements(
int index, sila2.org.silastandard.SiLAFramework.StructureType.Element.Builder builderForValue) {
if (elementsBuilder_ == null) {
ensureElementsIsMutable();
elements_.set(index, builderForValue.build());
onChanged();
} else {
elementsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .sila2.org.silastandard.StructureType.Element elements = 1;
*/
public Builder addElements(sila2.org.silastandard.SiLAFramework.StructureType.Element value) {
if (elementsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureElementsIsMutable();
elements_.add(value);
onChanged();
} else {
elementsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .sila2.org.silastandard.StructureType.Element elements = 1;
*/
public Builder addElements(
int index, sila2.org.silastandard.SiLAFramework.StructureType.Element value) {
if (elementsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureElementsIsMutable();
elements_.add(index, value);
onChanged();
} else {
elementsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .sila2.org.silastandard.StructureType.Element elements = 1;
*/
public Builder addElements(
sila2.org.silastandard.SiLAFramework.StructureType.Element.Builder builderForValue) {
if (elementsBuilder_ == null) {
ensureElementsIsMutable();
elements_.add(builderForValue.build());
onChanged();
} else {
elementsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .sila2.org.silastandard.StructureType.Element elements = 1;
*/
public Builder addElements(
int index, sila2.org.silastandard.SiLAFramework.StructureType.Element.Builder builderForValue) {
if (elementsBuilder_ == null) {
ensureElementsIsMutable();
elements_.add(index, builderForValue.build());
onChanged();
} else {
elementsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .sila2.org.silastandard.StructureType.Element elements = 1;
*/
public Builder addAllElements(
java.lang.Iterable extends sila2.org.silastandard.SiLAFramework.StructureType.Element> values) {
if (elementsBuilder_ == null) {
ensureElementsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, elements_);
onChanged();
} else {
elementsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .sila2.org.silastandard.StructureType.Element elements = 1;
*/
public Builder clearElements() {
if (elementsBuilder_ == null) {
elements_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
elementsBuilder_.clear();
}
return this;
}
/**
* repeated .sila2.org.silastandard.StructureType.Element elements = 1;
*/
public Builder removeElements(int index) {
if (elementsBuilder_ == null) {
ensureElementsIsMutable();
elements_.remove(index);
onChanged();
} else {
elementsBuilder_.remove(index);
}
return this;
}
/**
* repeated .sila2.org.silastandard.StructureType.Element elements = 1;
*/
public sila2.org.silastandard.SiLAFramework.StructureType.Element.Builder getElementsBuilder(
int index) {
return getElementsFieldBuilder().getBuilder(index);
}
/**
* repeated .sila2.org.silastandard.StructureType.Element elements = 1;
*/
public sila2.org.silastandard.SiLAFramework.StructureType.ElementOrBuilder getElementsOrBuilder(
int index) {
if (elementsBuilder_ == null) {
return elements_.get(index); } else {
return elementsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .sila2.org.silastandard.StructureType.Element elements = 1;
*/
public java.util.List extends sila2.org.silastandard.SiLAFramework.StructureType.ElementOrBuilder>
getElementsOrBuilderList() {
if (elementsBuilder_ != null) {
return elementsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(elements_);
}
}
/**
* repeated .sila2.org.silastandard.StructureType.Element elements = 1;
*/
public sila2.org.silastandard.SiLAFramework.StructureType.Element.Builder addElementsBuilder() {
return getElementsFieldBuilder().addBuilder(
sila2.org.silastandard.SiLAFramework.StructureType.Element.getDefaultInstance());
}
/**
* repeated .sila2.org.silastandard.StructureType.Element elements = 1;
*/
public sila2.org.silastandard.SiLAFramework.StructureType.Element.Builder addElementsBuilder(
int index) {
return getElementsFieldBuilder().addBuilder(
index, sila2.org.silastandard.SiLAFramework.StructureType.Element.getDefaultInstance());
}
/**
* repeated .sila2.org.silastandard.StructureType.Element elements = 1;
*/
public java.util.List
getElementsBuilderList() {
return getElementsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.StructureType.Element, sila2.org.silastandard.SiLAFramework.StructureType.Element.Builder, sila2.org.silastandard.SiLAFramework.StructureType.ElementOrBuilder>
getElementsFieldBuilder() {
if (elementsBuilder_ == null) {
elementsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.StructureType.Element, sila2.org.silastandard.SiLAFramework.StructureType.Element.Builder, sila2.org.silastandard.SiLAFramework.StructureType.ElementOrBuilder>(
elements_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
elements_ = null;
}
return elementsBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:sila2.org.silastandard.StructureType)
}
// @@protoc_insertion_point(class_scope:sila2.org.silastandard.StructureType)
private static final sila2.org.silastandard.SiLAFramework.StructureType DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new sila2.org.silastandard.SiLAFramework.StructureType();
}
public static sila2.org.silastandard.SiLAFramework.StructureType getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public StructureType parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new StructureType(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public sila2.org.silastandard.SiLAFramework.StructureType getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SiLATypeOrBuilder extends
// @@protoc_insertion_point(interface_extends:sila2.org.silastandard.SiLAType)
com.google.protobuf.MessageOrBuilder {
/**
* .sila2.org.silastandard.BasicType basicType = 1;
*/
int getBasicTypeValue();
/**
* .sila2.org.silastandard.BasicType basicType = 1;
*/
sila2.org.silastandard.SiLAFramework.BasicType getBasicType();
/**
* .sila2.org.silastandard.ListType listType = 2;
*/
boolean hasListType();
/**
* .sila2.org.silastandard.ListType listType = 2;
*/
sila2.org.silastandard.SiLAFramework.ListType getListType();
/**
* .sila2.org.silastandard.ListType listType = 2;
*/
sila2.org.silastandard.SiLAFramework.ListTypeOrBuilder getListTypeOrBuilder();
/**
* .sila2.org.silastandard.StructureType structureType = 3;
*/
boolean hasStructureType();
/**
* .sila2.org.silastandard.StructureType structureType = 3;
*/
sila2.org.silastandard.SiLAFramework.StructureType getStructureType();
/**
* .sila2.org.silastandard.StructureType structureType = 3;
*/
sila2.org.silastandard.SiLAFramework.StructureTypeOrBuilder getStructureTypeOrBuilder();
public sila2.org.silastandard.SiLAFramework.SiLAType.DataTypeCase getDataTypeCase();
}
/**
* Protobuf type {@code sila2.org.silastandard.SiLAType}
*/
public static final class SiLAType extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:sila2.org.silastandard.SiLAType)
SiLATypeOrBuilder {
private static final long serialVersionUID = 0L;
// Use SiLAType.newBuilder() to construct.
private SiLAType(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SiLAType() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SiLAType(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
int rawValue = input.readEnum();
dataTypeCase_ = 1;
dataType_ = rawValue;
break;
}
case 18: {
sila2.org.silastandard.SiLAFramework.ListType.Builder subBuilder = null;
if (dataTypeCase_ == 2) {
subBuilder = ((sila2.org.silastandard.SiLAFramework.ListType) dataType_).toBuilder();
}
dataType_ =
input.readMessage(sila2.org.silastandard.SiLAFramework.ListType.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((sila2.org.silastandard.SiLAFramework.ListType) dataType_);
dataType_ = subBuilder.buildPartial();
}
dataTypeCase_ = 2;
break;
}
case 26: {
sila2.org.silastandard.SiLAFramework.StructureType.Builder subBuilder = null;
if (dataTypeCase_ == 3) {
subBuilder = ((sila2.org.silastandard.SiLAFramework.StructureType) dataType_).toBuilder();
}
dataType_ =
input.readMessage(sila2.org.silastandard.SiLAFramework.StructureType.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((sila2.org.silastandard.SiLAFramework.StructureType) dataType_);
dataType_ = subBuilder.buildPartial();
}
dataTypeCase_ = 3;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_SiLAType_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_SiLAType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.SiLAType.class, sila2.org.silastandard.SiLAFramework.SiLAType.Builder.class);
}
private int dataTypeCase_ = 0;
private java.lang.Object dataType_;
public enum DataTypeCase
implements com.google.protobuf.Internal.EnumLite {
BASICTYPE(1),
LISTTYPE(2),
STRUCTURETYPE(3),
DATATYPE_NOT_SET(0);
private final int value;
private DataTypeCase(int value) {
this.value = value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static DataTypeCase valueOf(int value) {
return forNumber(value);
}
public static DataTypeCase forNumber(int value) {
switch (value) {
case 1: return BASICTYPE;
case 2: return LISTTYPE;
case 3: return STRUCTURETYPE;
case 0: return DATATYPE_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public DataTypeCase
getDataTypeCase() {
return DataTypeCase.forNumber(
dataTypeCase_);
}
public static final int BASICTYPE_FIELD_NUMBER = 1;
/**
* .sila2.org.silastandard.BasicType basicType = 1;
*/
public int getBasicTypeValue() {
if (dataTypeCase_ == 1) {
return (java.lang.Integer) dataType_;
}
return 0;
}
/**
* .sila2.org.silastandard.BasicType basicType = 1;
*/
public sila2.org.silastandard.SiLAFramework.BasicType getBasicType() {
if (dataTypeCase_ == 1) {
sila2.org.silastandard.SiLAFramework.BasicType result = sila2.org.silastandard.SiLAFramework.BasicType.valueOf(
(java.lang.Integer) dataType_);
return result == null ? sila2.org.silastandard.SiLAFramework.BasicType.UNRECOGNIZED : result;
}
return sila2.org.silastandard.SiLAFramework.BasicType.STRING;
}
public static final int LISTTYPE_FIELD_NUMBER = 2;
/**
* .sila2.org.silastandard.ListType listType = 2;
*/
public boolean hasListType() {
return dataTypeCase_ == 2;
}
/**
* .sila2.org.silastandard.ListType listType = 2;
*/
public sila2.org.silastandard.SiLAFramework.ListType getListType() {
if (dataTypeCase_ == 2) {
return (sila2.org.silastandard.SiLAFramework.ListType) dataType_;
}
return sila2.org.silastandard.SiLAFramework.ListType.getDefaultInstance();
}
/**
* .sila2.org.silastandard.ListType listType = 2;
*/
public sila2.org.silastandard.SiLAFramework.ListTypeOrBuilder getListTypeOrBuilder() {
if (dataTypeCase_ == 2) {
return (sila2.org.silastandard.SiLAFramework.ListType) dataType_;
}
return sila2.org.silastandard.SiLAFramework.ListType.getDefaultInstance();
}
public static final int STRUCTURETYPE_FIELD_NUMBER = 3;
/**
* .sila2.org.silastandard.StructureType structureType = 3;
*/
public boolean hasStructureType() {
return dataTypeCase_ == 3;
}
/**
* .sila2.org.silastandard.StructureType structureType = 3;
*/
public sila2.org.silastandard.SiLAFramework.StructureType getStructureType() {
if (dataTypeCase_ == 3) {
return (sila2.org.silastandard.SiLAFramework.StructureType) dataType_;
}
return sila2.org.silastandard.SiLAFramework.StructureType.getDefaultInstance();
}
/**
* .sila2.org.silastandard.StructureType structureType = 3;
*/
public sila2.org.silastandard.SiLAFramework.StructureTypeOrBuilder getStructureTypeOrBuilder() {
if (dataTypeCase_ == 3) {
return (sila2.org.silastandard.SiLAFramework.StructureType) dataType_;
}
return sila2.org.silastandard.SiLAFramework.StructureType.getDefaultInstance();
}
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 (dataTypeCase_ == 1) {
output.writeEnum(1, ((java.lang.Integer) dataType_));
}
if (dataTypeCase_ == 2) {
output.writeMessage(2, (sila2.org.silastandard.SiLAFramework.ListType) dataType_);
}
if (dataTypeCase_ == 3) {
output.writeMessage(3, (sila2.org.silastandard.SiLAFramework.StructureType) dataType_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (dataTypeCase_ == 1) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, ((java.lang.Integer) dataType_));
}
if (dataTypeCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (sila2.org.silastandard.SiLAFramework.ListType) dataType_);
}
if (dataTypeCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (sila2.org.silastandard.SiLAFramework.StructureType) dataType_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof sila2.org.silastandard.SiLAFramework.SiLAType)) {
return super.equals(obj);
}
sila2.org.silastandard.SiLAFramework.SiLAType other = (sila2.org.silastandard.SiLAFramework.SiLAType) obj;
boolean result = true;
result = result && getDataTypeCase().equals(
other.getDataTypeCase());
if (!result) return false;
switch (dataTypeCase_) {
case 1:
result = result && getBasicTypeValue()
== other.getBasicTypeValue();
break;
case 2:
result = result && getListType()
.equals(other.getListType());
break;
case 3:
result = result && getStructureType()
.equals(other.getStructureType());
break;
case 0:
default:
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
switch (dataTypeCase_) {
case 1:
hash = (37 * hash) + BASICTYPE_FIELD_NUMBER;
hash = (53 * hash) + getBasicTypeValue();
break;
case 2:
hash = (37 * hash) + LISTTYPE_FIELD_NUMBER;
hash = (53 * hash) + getListType().hashCode();
break;
case 3:
hash = (37 * hash) + STRUCTURETYPE_FIELD_NUMBER;
hash = (53 * hash) + getStructureType().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static sila2.org.silastandard.SiLAFramework.SiLAType parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.SiLAType parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.SiLAType parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.SiLAType parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.SiLAType parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.SiLAType parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.SiLAType parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.SiLAType 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 sila2.org.silastandard.SiLAFramework.SiLAType parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.SiLAType 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 sila2.org.silastandard.SiLAFramework.SiLAType parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.SiLAType 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(sila2.org.silastandard.SiLAFramework.SiLAType 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 sila2.org.silastandard.SiLAType}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:sila2.org.silastandard.SiLAType)
sila2.org.silastandard.SiLAFramework.SiLATypeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_SiLAType_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_SiLAType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.SiLAType.class, sila2.org.silastandard.SiLAFramework.SiLAType.Builder.class);
}
// Construct using sila2.org.silastandard.SiLAFramework.SiLAType.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();
dataTypeCase_ = 0;
dataType_ = null;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_SiLAType_descriptor;
}
public sila2.org.silastandard.SiLAFramework.SiLAType getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.SiLAType.getDefaultInstance();
}
public sila2.org.silastandard.SiLAFramework.SiLAType build() {
sila2.org.silastandard.SiLAFramework.SiLAType result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public sila2.org.silastandard.SiLAFramework.SiLAType buildPartial() {
sila2.org.silastandard.SiLAFramework.SiLAType result = new sila2.org.silastandard.SiLAFramework.SiLAType(this);
if (dataTypeCase_ == 1) {
result.dataType_ = dataType_;
}
if (dataTypeCase_ == 2) {
if (listTypeBuilder_ == null) {
result.dataType_ = dataType_;
} else {
result.dataType_ = listTypeBuilder_.build();
}
}
if (dataTypeCase_ == 3) {
if (structureTypeBuilder_ == null) {
result.dataType_ = dataType_;
} else {
result.dataType_ = structureTypeBuilder_.build();
}
}
result.dataTypeCase_ = dataTypeCase_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.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, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof sila2.org.silastandard.SiLAFramework.SiLAType) {
return mergeFrom((sila2.org.silastandard.SiLAFramework.SiLAType)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(sila2.org.silastandard.SiLAFramework.SiLAType other) {
if (other == sila2.org.silastandard.SiLAFramework.SiLAType.getDefaultInstance()) return this;
switch (other.getDataTypeCase()) {
case BASICTYPE: {
setBasicTypeValue(other.getBasicTypeValue());
break;
}
case LISTTYPE: {
mergeListType(other.getListType());
break;
}
case STRUCTURETYPE: {
mergeStructureType(other.getStructureType());
break;
}
case DATATYPE_NOT_SET: {
break;
}
}
this.mergeUnknownFields(other.unknownFields);
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 {
sila2.org.silastandard.SiLAFramework.SiLAType parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (sila2.org.silastandard.SiLAFramework.SiLAType) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int dataTypeCase_ = 0;
private java.lang.Object dataType_;
public DataTypeCase
getDataTypeCase() {
return DataTypeCase.forNumber(
dataTypeCase_);
}
public Builder clearDataType() {
dataTypeCase_ = 0;
dataType_ = null;
onChanged();
return this;
}
/**
* .sila2.org.silastandard.BasicType basicType = 1;
*/
public int getBasicTypeValue() {
if (dataTypeCase_ == 1) {
return ((java.lang.Integer) dataType_).intValue();
}
return 0;
}
/**
* .sila2.org.silastandard.BasicType basicType = 1;
*/
public Builder setBasicTypeValue(int value) {
dataTypeCase_ = 1;
dataType_ = value;
onChanged();
return this;
}
/**
* .sila2.org.silastandard.BasicType basicType = 1;
*/
public sila2.org.silastandard.SiLAFramework.BasicType getBasicType() {
if (dataTypeCase_ == 1) {
sila2.org.silastandard.SiLAFramework.BasicType result = sila2.org.silastandard.SiLAFramework.BasicType.valueOf(
(java.lang.Integer) dataType_);
return result == null ? sila2.org.silastandard.SiLAFramework.BasicType.UNRECOGNIZED : result;
}
return sila2.org.silastandard.SiLAFramework.BasicType.STRING;
}
/**
* .sila2.org.silastandard.BasicType basicType = 1;
*/
public Builder setBasicType(sila2.org.silastandard.SiLAFramework.BasicType value) {
if (value == null) {
throw new NullPointerException();
}
dataTypeCase_ = 1;
dataType_ = value.getNumber();
onChanged();
return this;
}
/**
* .sila2.org.silastandard.BasicType basicType = 1;
*/
public Builder clearBasicType() {
if (dataTypeCase_ == 1) {
dataTypeCase_ = 0;
dataType_ = null;
onChanged();
}
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.ListType, sila2.org.silastandard.SiLAFramework.ListType.Builder, sila2.org.silastandard.SiLAFramework.ListTypeOrBuilder> listTypeBuilder_;
/**
* .sila2.org.silastandard.ListType listType = 2;
*/
public boolean hasListType() {
return dataTypeCase_ == 2;
}
/**
* .sila2.org.silastandard.ListType listType = 2;
*/
public sila2.org.silastandard.SiLAFramework.ListType getListType() {
if (listTypeBuilder_ == null) {
if (dataTypeCase_ == 2) {
return (sila2.org.silastandard.SiLAFramework.ListType) dataType_;
}
return sila2.org.silastandard.SiLAFramework.ListType.getDefaultInstance();
} else {
if (dataTypeCase_ == 2) {
return listTypeBuilder_.getMessage();
}
return sila2.org.silastandard.SiLAFramework.ListType.getDefaultInstance();
}
}
/**
* .sila2.org.silastandard.ListType listType = 2;
*/
public Builder setListType(sila2.org.silastandard.SiLAFramework.ListType value) {
if (listTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
dataType_ = value;
onChanged();
} else {
listTypeBuilder_.setMessage(value);
}
dataTypeCase_ = 2;
return this;
}
/**
* .sila2.org.silastandard.ListType listType = 2;
*/
public Builder setListType(
sila2.org.silastandard.SiLAFramework.ListType.Builder builderForValue) {
if (listTypeBuilder_ == null) {
dataType_ = builderForValue.build();
onChanged();
} else {
listTypeBuilder_.setMessage(builderForValue.build());
}
dataTypeCase_ = 2;
return this;
}
/**
* .sila2.org.silastandard.ListType listType = 2;
*/
public Builder mergeListType(sila2.org.silastandard.SiLAFramework.ListType value) {
if (listTypeBuilder_ == null) {
if (dataTypeCase_ == 2 &&
dataType_ != sila2.org.silastandard.SiLAFramework.ListType.getDefaultInstance()) {
dataType_ = sila2.org.silastandard.SiLAFramework.ListType.newBuilder((sila2.org.silastandard.SiLAFramework.ListType) dataType_)
.mergeFrom(value).buildPartial();
} else {
dataType_ = value;
}
onChanged();
} else {
if (dataTypeCase_ == 2) {
listTypeBuilder_.mergeFrom(value);
}
listTypeBuilder_.setMessage(value);
}
dataTypeCase_ = 2;
return this;
}
/**
* .sila2.org.silastandard.ListType listType = 2;
*/
public Builder clearListType() {
if (listTypeBuilder_ == null) {
if (dataTypeCase_ == 2) {
dataTypeCase_ = 0;
dataType_ = null;
onChanged();
}
} else {
if (dataTypeCase_ == 2) {
dataTypeCase_ = 0;
dataType_ = null;
}
listTypeBuilder_.clear();
}
return this;
}
/**
* .sila2.org.silastandard.ListType listType = 2;
*/
public sila2.org.silastandard.SiLAFramework.ListType.Builder getListTypeBuilder() {
return getListTypeFieldBuilder().getBuilder();
}
/**
* .sila2.org.silastandard.ListType listType = 2;
*/
public sila2.org.silastandard.SiLAFramework.ListTypeOrBuilder getListTypeOrBuilder() {
if ((dataTypeCase_ == 2) && (listTypeBuilder_ != null)) {
return listTypeBuilder_.getMessageOrBuilder();
} else {
if (dataTypeCase_ == 2) {
return (sila2.org.silastandard.SiLAFramework.ListType) dataType_;
}
return sila2.org.silastandard.SiLAFramework.ListType.getDefaultInstance();
}
}
/**
* .sila2.org.silastandard.ListType listType = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.ListType, sila2.org.silastandard.SiLAFramework.ListType.Builder, sila2.org.silastandard.SiLAFramework.ListTypeOrBuilder>
getListTypeFieldBuilder() {
if (listTypeBuilder_ == null) {
if (!(dataTypeCase_ == 2)) {
dataType_ = sila2.org.silastandard.SiLAFramework.ListType.getDefaultInstance();
}
listTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.ListType, sila2.org.silastandard.SiLAFramework.ListType.Builder, sila2.org.silastandard.SiLAFramework.ListTypeOrBuilder>(
(sila2.org.silastandard.SiLAFramework.ListType) dataType_,
getParentForChildren(),
isClean());
dataType_ = null;
}
dataTypeCase_ = 2;
onChanged();;
return listTypeBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.StructureType, sila2.org.silastandard.SiLAFramework.StructureType.Builder, sila2.org.silastandard.SiLAFramework.StructureTypeOrBuilder> structureTypeBuilder_;
/**
* .sila2.org.silastandard.StructureType structureType = 3;
*/
public boolean hasStructureType() {
return dataTypeCase_ == 3;
}
/**
* .sila2.org.silastandard.StructureType structureType = 3;
*/
public sila2.org.silastandard.SiLAFramework.StructureType getStructureType() {
if (structureTypeBuilder_ == null) {
if (dataTypeCase_ == 3) {
return (sila2.org.silastandard.SiLAFramework.StructureType) dataType_;
}
return sila2.org.silastandard.SiLAFramework.StructureType.getDefaultInstance();
} else {
if (dataTypeCase_ == 3) {
return structureTypeBuilder_.getMessage();
}
return sila2.org.silastandard.SiLAFramework.StructureType.getDefaultInstance();
}
}
/**
* .sila2.org.silastandard.StructureType structureType = 3;
*/
public Builder setStructureType(sila2.org.silastandard.SiLAFramework.StructureType value) {
if (structureTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
dataType_ = value;
onChanged();
} else {
structureTypeBuilder_.setMessage(value);
}
dataTypeCase_ = 3;
return this;
}
/**
* .sila2.org.silastandard.StructureType structureType = 3;
*/
public Builder setStructureType(
sila2.org.silastandard.SiLAFramework.StructureType.Builder builderForValue) {
if (structureTypeBuilder_ == null) {
dataType_ = builderForValue.build();
onChanged();
} else {
structureTypeBuilder_.setMessage(builderForValue.build());
}
dataTypeCase_ = 3;
return this;
}
/**
* .sila2.org.silastandard.StructureType structureType = 3;
*/
public Builder mergeStructureType(sila2.org.silastandard.SiLAFramework.StructureType value) {
if (structureTypeBuilder_ == null) {
if (dataTypeCase_ == 3 &&
dataType_ != sila2.org.silastandard.SiLAFramework.StructureType.getDefaultInstance()) {
dataType_ = sila2.org.silastandard.SiLAFramework.StructureType.newBuilder((sila2.org.silastandard.SiLAFramework.StructureType) dataType_)
.mergeFrom(value).buildPartial();
} else {
dataType_ = value;
}
onChanged();
} else {
if (dataTypeCase_ == 3) {
structureTypeBuilder_.mergeFrom(value);
}
structureTypeBuilder_.setMessage(value);
}
dataTypeCase_ = 3;
return this;
}
/**
* .sila2.org.silastandard.StructureType structureType = 3;
*/
public Builder clearStructureType() {
if (structureTypeBuilder_ == null) {
if (dataTypeCase_ == 3) {
dataTypeCase_ = 0;
dataType_ = null;
onChanged();
}
} else {
if (dataTypeCase_ == 3) {
dataTypeCase_ = 0;
dataType_ = null;
}
structureTypeBuilder_.clear();
}
return this;
}
/**
* .sila2.org.silastandard.StructureType structureType = 3;
*/
public sila2.org.silastandard.SiLAFramework.StructureType.Builder getStructureTypeBuilder() {
return getStructureTypeFieldBuilder().getBuilder();
}
/**
* .sila2.org.silastandard.StructureType structureType = 3;
*/
public sila2.org.silastandard.SiLAFramework.StructureTypeOrBuilder getStructureTypeOrBuilder() {
if ((dataTypeCase_ == 3) && (structureTypeBuilder_ != null)) {
return structureTypeBuilder_.getMessageOrBuilder();
} else {
if (dataTypeCase_ == 3) {
return (sila2.org.silastandard.SiLAFramework.StructureType) dataType_;
}
return sila2.org.silastandard.SiLAFramework.StructureType.getDefaultInstance();
}
}
/**
* .sila2.org.silastandard.StructureType structureType = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.StructureType, sila2.org.silastandard.SiLAFramework.StructureType.Builder, sila2.org.silastandard.SiLAFramework.StructureTypeOrBuilder>
getStructureTypeFieldBuilder() {
if (structureTypeBuilder_ == null) {
if (!(dataTypeCase_ == 3)) {
dataType_ = sila2.org.silastandard.SiLAFramework.StructureType.getDefaultInstance();
}
structureTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.StructureType, sila2.org.silastandard.SiLAFramework.StructureType.Builder, sila2.org.silastandard.SiLAFramework.StructureTypeOrBuilder>(
(sila2.org.silastandard.SiLAFramework.StructureType) dataType_,
getParentForChildren(),
isClean());
dataType_ = null;
}
dataTypeCase_ = 3;
onChanged();;
return structureTypeBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:sila2.org.silastandard.SiLAType)
}
// @@protoc_insertion_point(class_scope:sila2.org.silastandard.SiLAType)
private static final sila2.org.silastandard.SiLAFramework.SiLAType DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new sila2.org.silastandard.SiLAFramework.SiLAType();
}
public static sila2.org.silastandard.SiLAFramework.SiLAType getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public SiLAType parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SiLAType(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public sila2.org.silastandard.SiLAFramework.SiLAType getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DurationOrBuilder extends
// @@protoc_insertion_point(interface_extends:sila2.org.silastandard.Duration)
com.google.protobuf.MessageOrBuilder {
/**
* int64 seconds = 1;
*/
long getSeconds();
/**
* int32 nanos = 2;
*/
int getNanos();
}
/**
* Protobuf type {@code sila2.org.silastandard.Duration}
*/
public static final class Duration extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:sila2.org.silastandard.Duration)
DurationOrBuilder {
private static final long serialVersionUID = 0L;
// Use Duration.newBuilder() to construct.
private Duration(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Duration() {
seconds_ = 0L;
nanos_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Duration(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
seconds_ = input.readInt64();
break;
}
case 16: {
nanos_ = input.readInt32();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Duration_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Duration_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.Duration.class, sila2.org.silastandard.SiLAFramework.Duration.Builder.class);
}
public static final int SECONDS_FIELD_NUMBER = 1;
private long seconds_;
/**
* int64 seconds = 1;
*/
public long getSeconds() {
return seconds_;
}
public static final int NANOS_FIELD_NUMBER = 2;
private int nanos_;
/**
* int32 nanos = 2;
*/
public int getNanos() {
return nanos_;
}
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 (seconds_ != 0L) {
output.writeInt64(1, seconds_);
}
if (nanos_ != 0) {
output.writeInt32(2, nanos_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (seconds_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, seconds_);
}
if (nanos_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, nanos_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof sila2.org.silastandard.SiLAFramework.Duration)) {
return super.equals(obj);
}
sila2.org.silastandard.SiLAFramework.Duration other = (sila2.org.silastandard.SiLAFramework.Duration) obj;
boolean result = true;
result = result && (getSeconds()
== other.getSeconds());
result = result && (getNanos()
== other.getNanos());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + SECONDS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSeconds());
hash = (37 * hash) + NANOS_FIELD_NUMBER;
hash = (53 * hash) + getNanos();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static sila2.org.silastandard.SiLAFramework.Duration parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.Duration parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.Duration parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.Duration parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.Duration parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.Duration parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.Duration parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.Duration 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 sila2.org.silastandard.SiLAFramework.Duration parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.Duration 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 sila2.org.silastandard.SiLAFramework.Duration parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.Duration 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(sila2.org.silastandard.SiLAFramework.Duration 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 sila2.org.silastandard.Duration}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:sila2.org.silastandard.Duration)
sila2.org.silastandard.SiLAFramework.DurationOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Duration_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Duration_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.Duration.class, sila2.org.silastandard.SiLAFramework.Duration.Builder.class);
}
// Construct using sila2.org.silastandard.SiLAFramework.Duration.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();
seconds_ = 0L;
nanos_ = 0;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Duration_descriptor;
}
public sila2.org.silastandard.SiLAFramework.Duration getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.Duration.getDefaultInstance();
}
public sila2.org.silastandard.SiLAFramework.Duration build() {
sila2.org.silastandard.SiLAFramework.Duration result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public sila2.org.silastandard.SiLAFramework.Duration buildPartial() {
sila2.org.silastandard.SiLAFramework.Duration result = new sila2.org.silastandard.SiLAFramework.Duration(this);
result.seconds_ = seconds_;
result.nanos_ = nanos_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.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, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof sila2.org.silastandard.SiLAFramework.Duration) {
return mergeFrom((sila2.org.silastandard.SiLAFramework.Duration)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(sila2.org.silastandard.SiLAFramework.Duration other) {
if (other == sila2.org.silastandard.SiLAFramework.Duration.getDefaultInstance()) return this;
if (other.getSeconds() != 0L) {
setSeconds(other.getSeconds());
}
if (other.getNanos() != 0) {
setNanos(other.getNanos());
}
this.mergeUnknownFields(other.unknownFields);
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 {
sila2.org.silastandard.SiLAFramework.Duration parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (sila2.org.silastandard.SiLAFramework.Duration) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private long seconds_ ;
/**
* int64 seconds = 1;
*/
public long getSeconds() {
return seconds_;
}
/**
* int64 seconds = 1;
*/
public Builder setSeconds(long value) {
seconds_ = value;
onChanged();
return this;
}
/**
* int64 seconds = 1;
*/
public Builder clearSeconds() {
seconds_ = 0L;
onChanged();
return this;
}
private int nanos_ ;
/**
* int32 nanos = 2;
*/
public int getNanos() {
return nanos_;
}
/**
* int32 nanos = 2;
*/
public Builder setNanos(int value) {
nanos_ = value;
onChanged();
return this;
}
/**
* int32 nanos = 2;
*/
public Builder clearNanos() {
nanos_ = 0;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:sila2.org.silastandard.Duration)
}
// @@protoc_insertion_point(class_scope:sila2.org.silastandard.Duration)
private static final sila2.org.silastandard.SiLAFramework.Duration DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new sila2.org.silastandard.SiLAFramework.Duration();
}
public static sila2.org.silastandard.SiLAFramework.Duration getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public Duration parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Duration(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public sila2.org.silastandard.SiLAFramework.Duration getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CommandExecutionUUIDOrBuilder extends
// @@protoc_insertion_point(interface_extends:sila2.org.silastandard.CommandExecutionUUID)
com.google.protobuf.MessageOrBuilder {
/**
* string commandId = 1;
*/
java.lang.String getCommandId();
/**
* string commandId = 1;
*/
com.google.protobuf.ByteString
getCommandIdBytes();
}
/**
* Protobuf type {@code sila2.org.silastandard.CommandExecutionUUID}
*/
public static final class CommandExecutionUUID extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:sila2.org.silastandard.CommandExecutionUUID)
CommandExecutionUUIDOrBuilder {
private static final long serialVersionUID = 0L;
// Use CommandExecutionUUID.newBuilder() to construct.
private CommandExecutionUUID(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private CommandExecutionUUID() {
commandId_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CommandExecutionUUID(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
commandId_ = 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 {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_CommandExecutionUUID_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_CommandExecutionUUID_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.CommandExecutionUUID.class, sila2.org.silastandard.SiLAFramework.CommandExecutionUUID.Builder.class);
}
public static final int COMMANDID_FIELD_NUMBER = 1;
private volatile java.lang.Object commandId_;
/**
* string commandId = 1;
*/
public java.lang.String getCommandId() {
java.lang.Object ref = commandId_;
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();
commandId_ = s;
return s;
}
}
/**
* string commandId = 1;
*/
public com.google.protobuf.ByteString
getCommandIdBytes() {
java.lang.Object ref = commandId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
commandId_ = 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 (!getCommandIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, commandId_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getCommandIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, commandId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof sila2.org.silastandard.SiLAFramework.CommandExecutionUUID)) {
return super.equals(obj);
}
sila2.org.silastandard.SiLAFramework.CommandExecutionUUID other = (sila2.org.silastandard.SiLAFramework.CommandExecutionUUID) obj;
boolean result = true;
result = result && getCommandId()
.equals(other.getCommandId());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + COMMANDID_FIELD_NUMBER;
hash = (53 * hash) + getCommandId().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static sila2.org.silastandard.SiLAFramework.CommandExecutionUUID parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.CommandExecutionUUID parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.CommandExecutionUUID parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.CommandExecutionUUID parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.CommandExecutionUUID parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.CommandExecutionUUID parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.CommandExecutionUUID parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.CommandExecutionUUID 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 sila2.org.silastandard.SiLAFramework.CommandExecutionUUID parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.CommandExecutionUUID 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 sila2.org.silastandard.SiLAFramework.CommandExecutionUUID parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.CommandExecutionUUID 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(sila2.org.silastandard.SiLAFramework.CommandExecutionUUID 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 sila2.org.silastandard.CommandExecutionUUID}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:sila2.org.silastandard.CommandExecutionUUID)
sila2.org.silastandard.SiLAFramework.CommandExecutionUUIDOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_CommandExecutionUUID_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_CommandExecutionUUID_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.CommandExecutionUUID.class, sila2.org.silastandard.SiLAFramework.CommandExecutionUUID.Builder.class);
}
// Construct using sila2.org.silastandard.SiLAFramework.CommandExecutionUUID.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();
commandId_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_CommandExecutionUUID_descriptor;
}
public sila2.org.silastandard.SiLAFramework.CommandExecutionUUID getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.CommandExecutionUUID.getDefaultInstance();
}
public sila2.org.silastandard.SiLAFramework.CommandExecutionUUID build() {
sila2.org.silastandard.SiLAFramework.CommandExecutionUUID result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public sila2.org.silastandard.SiLAFramework.CommandExecutionUUID buildPartial() {
sila2.org.silastandard.SiLAFramework.CommandExecutionUUID result = new sila2.org.silastandard.SiLAFramework.CommandExecutionUUID(this);
result.commandId_ = commandId_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.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, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof sila2.org.silastandard.SiLAFramework.CommandExecutionUUID) {
return mergeFrom((sila2.org.silastandard.SiLAFramework.CommandExecutionUUID)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(sila2.org.silastandard.SiLAFramework.CommandExecutionUUID other) {
if (other == sila2.org.silastandard.SiLAFramework.CommandExecutionUUID.getDefaultInstance()) return this;
if (!other.getCommandId().isEmpty()) {
commandId_ = other.commandId_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
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 {
sila2.org.silastandard.SiLAFramework.CommandExecutionUUID parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (sila2.org.silastandard.SiLAFramework.CommandExecutionUUID) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object commandId_ = "";
/**
* string commandId = 1;
*/
public java.lang.String getCommandId() {
java.lang.Object ref = commandId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
commandId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string commandId = 1;
*/
public com.google.protobuf.ByteString
getCommandIdBytes() {
java.lang.Object ref = commandId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
commandId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string commandId = 1;
*/
public Builder setCommandId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
commandId_ = value;
onChanged();
return this;
}
/**
* string commandId = 1;
*/
public Builder clearCommandId() {
commandId_ = getDefaultInstance().getCommandId();
onChanged();
return this;
}
/**
* string commandId = 1;
*/
public Builder setCommandIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
commandId_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:sila2.org.silastandard.CommandExecutionUUID)
}
// @@protoc_insertion_point(class_scope:sila2.org.silastandard.CommandExecutionUUID)
private static final sila2.org.silastandard.SiLAFramework.CommandExecutionUUID DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new sila2.org.silastandard.SiLAFramework.CommandExecutionUUID();
}
public static sila2.org.silastandard.SiLAFramework.CommandExecutionUUID getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public CommandExecutionUUID parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CommandExecutionUUID(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public sila2.org.silastandard.SiLAFramework.CommandExecutionUUID getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CommandConfirmationOrBuilder extends
// @@protoc_insertion_point(interface_extends:sila2.org.silastandard.CommandConfirmation)
com.google.protobuf.MessageOrBuilder {
/**
* .sila2.org.silastandard.CommandExecutionUUID commandId = 1;
*/
boolean hasCommandId();
/**
* .sila2.org.silastandard.CommandExecutionUUID commandId = 1;
*/
sila2.org.silastandard.SiLAFramework.CommandExecutionUUID getCommandId();
/**
* .sila2.org.silastandard.CommandExecutionUUID commandId = 1;
*/
sila2.org.silastandard.SiLAFramework.CommandExecutionUUIDOrBuilder getCommandIdOrBuilder();
/**
* .sila2.org.silastandard.Duration lifetimeOfExecution = 2;
*/
boolean hasLifetimeOfExecution();
/**
* .sila2.org.silastandard.Duration lifetimeOfExecution = 2;
*/
sila2.org.silastandard.SiLAFramework.Duration getLifetimeOfExecution();
/**
* .sila2.org.silastandard.Duration lifetimeOfExecution = 2;
*/
sila2.org.silastandard.SiLAFramework.DurationOrBuilder getLifetimeOfExecutionOrBuilder();
}
/**
* Protobuf type {@code sila2.org.silastandard.CommandConfirmation}
*/
public static final class CommandConfirmation extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:sila2.org.silastandard.CommandConfirmation)
CommandConfirmationOrBuilder {
private static final long serialVersionUID = 0L;
// Use CommandConfirmation.newBuilder() to construct.
private CommandConfirmation(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private CommandConfirmation() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CommandConfirmation(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
sila2.org.silastandard.SiLAFramework.CommandExecutionUUID.Builder subBuilder = null;
if (commandId_ != null) {
subBuilder = commandId_.toBuilder();
}
commandId_ = input.readMessage(sila2.org.silastandard.SiLAFramework.CommandExecutionUUID.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(commandId_);
commandId_ = subBuilder.buildPartial();
}
break;
}
case 18: {
sila2.org.silastandard.SiLAFramework.Duration.Builder subBuilder = null;
if (lifetimeOfExecution_ != null) {
subBuilder = lifetimeOfExecution_.toBuilder();
}
lifetimeOfExecution_ = input.readMessage(sila2.org.silastandard.SiLAFramework.Duration.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(lifetimeOfExecution_);
lifetimeOfExecution_ = 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 {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_CommandConfirmation_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_CommandConfirmation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.CommandConfirmation.class, sila2.org.silastandard.SiLAFramework.CommandConfirmation.Builder.class);
}
public static final int COMMANDID_FIELD_NUMBER = 1;
private sila2.org.silastandard.SiLAFramework.CommandExecutionUUID commandId_;
/**
* .sila2.org.silastandard.CommandExecutionUUID commandId = 1;
*/
public boolean hasCommandId() {
return commandId_ != null;
}
/**
* .sila2.org.silastandard.CommandExecutionUUID commandId = 1;
*/
public sila2.org.silastandard.SiLAFramework.CommandExecutionUUID getCommandId() {
return commandId_ == null ? sila2.org.silastandard.SiLAFramework.CommandExecutionUUID.getDefaultInstance() : commandId_;
}
/**
* .sila2.org.silastandard.CommandExecutionUUID commandId = 1;
*/
public sila2.org.silastandard.SiLAFramework.CommandExecutionUUIDOrBuilder getCommandIdOrBuilder() {
return getCommandId();
}
public static final int LIFETIMEOFEXECUTION_FIELD_NUMBER = 2;
private sila2.org.silastandard.SiLAFramework.Duration lifetimeOfExecution_;
/**
* .sila2.org.silastandard.Duration lifetimeOfExecution = 2;
*/
public boolean hasLifetimeOfExecution() {
return lifetimeOfExecution_ != null;
}
/**
* .sila2.org.silastandard.Duration lifetimeOfExecution = 2;
*/
public sila2.org.silastandard.SiLAFramework.Duration getLifetimeOfExecution() {
return lifetimeOfExecution_ == null ? sila2.org.silastandard.SiLAFramework.Duration.getDefaultInstance() : lifetimeOfExecution_;
}
/**
* .sila2.org.silastandard.Duration lifetimeOfExecution = 2;
*/
public sila2.org.silastandard.SiLAFramework.DurationOrBuilder getLifetimeOfExecutionOrBuilder() {
return getLifetimeOfExecution();
}
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 (commandId_ != null) {
output.writeMessage(1, getCommandId());
}
if (lifetimeOfExecution_ != null) {
output.writeMessage(2, getLifetimeOfExecution());
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (commandId_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getCommandId());
}
if (lifetimeOfExecution_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getLifetimeOfExecution());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof sila2.org.silastandard.SiLAFramework.CommandConfirmation)) {
return super.equals(obj);
}
sila2.org.silastandard.SiLAFramework.CommandConfirmation other = (sila2.org.silastandard.SiLAFramework.CommandConfirmation) obj;
boolean result = true;
result = result && (hasCommandId() == other.hasCommandId());
if (hasCommandId()) {
result = result && getCommandId()
.equals(other.getCommandId());
}
result = result && (hasLifetimeOfExecution() == other.hasLifetimeOfExecution());
if (hasLifetimeOfExecution()) {
result = result && getLifetimeOfExecution()
.equals(other.getLifetimeOfExecution());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCommandId()) {
hash = (37 * hash) + COMMANDID_FIELD_NUMBER;
hash = (53 * hash) + getCommandId().hashCode();
}
if (hasLifetimeOfExecution()) {
hash = (37 * hash) + LIFETIMEOFEXECUTION_FIELD_NUMBER;
hash = (53 * hash) + getLifetimeOfExecution().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static sila2.org.silastandard.SiLAFramework.CommandConfirmation parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.CommandConfirmation parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.CommandConfirmation parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.CommandConfirmation parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.CommandConfirmation parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.CommandConfirmation parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.CommandConfirmation parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.CommandConfirmation 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 sila2.org.silastandard.SiLAFramework.CommandConfirmation parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.CommandConfirmation 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 sila2.org.silastandard.SiLAFramework.CommandConfirmation parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.CommandConfirmation 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(sila2.org.silastandard.SiLAFramework.CommandConfirmation 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 sila2.org.silastandard.CommandConfirmation}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:sila2.org.silastandard.CommandConfirmation)
sila2.org.silastandard.SiLAFramework.CommandConfirmationOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_CommandConfirmation_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_CommandConfirmation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.CommandConfirmation.class, sila2.org.silastandard.SiLAFramework.CommandConfirmation.Builder.class);
}
// Construct using sila2.org.silastandard.SiLAFramework.CommandConfirmation.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 (commandIdBuilder_ == null) {
commandId_ = null;
} else {
commandId_ = null;
commandIdBuilder_ = null;
}
if (lifetimeOfExecutionBuilder_ == null) {
lifetimeOfExecution_ = null;
} else {
lifetimeOfExecution_ = null;
lifetimeOfExecutionBuilder_ = null;
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_CommandConfirmation_descriptor;
}
public sila2.org.silastandard.SiLAFramework.CommandConfirmation getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.CommandConfirmation.getDefaultInstance();
}
public sila2.org.silastandard.SiLAFramework.CommandConfirmation build() {
sila2.org.silastandard.SiLAFramework.CommandConfirmation result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public sila2.org.silastandard.SiLAFramework.CommandConfirmation buildPartial() {
sila2.org.silastandard.SiLAFramework.CommandConfirmation result = new sila2.org.silastandard.SiLAFramework.CommandConfirmation(this);
if (commandIdBuilder_ == null) {
result.commandId_ = commandId_;
} else {
result.commandId_ = commandIdBuilder_.build();
}
if (lifetimeOfExecutionBuilder_ == null) {
result.lifetimeOfExecution_ = lifetimeOfExecution_;
} else {
result.lifetimeOfExecution_ = lifetimeOfExecutionBuilder_.build();
}
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.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, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof sila2.org.silastandard.SiLAFramework.CommandConfirmation) {
return mergeFrom((sila2.org.silastandard.SiLAFramework.CommandConfirmation)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(sila2.org.silastandard.SiLAFramework.CommandConfirmation other) {
if (other == sila2.org.silastandard.SiLAFramework.CommandConfirmation.getDefaultInstance()) return this;
if (other.hasCommandId()) {
mergeCommandId(other.getCommandId());
}
if (other.hasLifetimeOfExecution()) {
mergeLifetimeOfExecution(other.getLifetimeOfExecution());
}
this.mergeUnknownFields(other.unknownFields);
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 {
sila2.org.silastandard.SiLAFramework.CommandConfirmation parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (sila2.org.silastandard.SiLAFramework.CommandConfirmation) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private sila2.org.silastandard.SiLAFramework.CommandExecutionUUID commandId_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.CommandExecutionUUID, sila2.org.silastandard.SiLAFramework.CommandExecutionUUID.Builder, sila2.org.silastandard.SiLAFramework.CommandExecutionUUIDOrBuilder> commandIdBuilder_;
/**
* .sila2.org.silastandard.CommandExecutionUUID commandId = 1;
*/
public boolean hasCommandId() {
return commandIdBuilder_ != null || commandId_ != null;
}
/**
* .sila2.org.silastandard.CommandExecutionUUID commandId = 1;
*/
public sila2.org.silastandard.SiLAFramework.CommandExecutionUUID getCommandId() {
if (commandIdBuilder_ == null) {
return commandId_ == null ? sila2.org.silastandard.SiLAFramework.CommandExecutionUUID.getDefaultInstance() : commandId_;
} else {
return commandIdBuilder_.getMessage();
}
}
/**
* .sila2.org.silastandard.CommandExecutionUUID commandId = 1;
*/
public Builder setCommandId(sila2.org.silastandard.SiLAFramework.CommandExecutionUUID value) {
if (commandIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
commandId_ = value;
onChanged();
} else {
commandIdBuilder_.setMessage(value);
}
return this;
}
/**
* .sila2.org.silastandard.CommandExecutionUUID commandId = 1;
*/
public Builder setCommandId(
sila2.org.silastandard.SiLAFramework.CommandExecutionUUID.Builder builderForValue) {
if (commandIdBuilder_ == null) {
commandId_ = builderForValue.build();
onChanged();
} else {
commandIdBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .sila2.org.silastandard.CommandExecutionUUID commandId = 1;
*/
public Builder mergeCommandId(sila2.org.silastandard.SiLAFramework.CommandExecutionUUID value) {
if (commandIdBuilder_ == null) {
if (commandId_ != null) {
commandId_ =
sila2.org.silastandard.SiLAFramework.CommandExecutionUUID.newBuilder(commandId_).mergeFrom(value).buildPartial();
} else {
commandId_ = value;
}
onChanged();
} else {
commandIdBuilder_.mergeFrom(value);
}
return this;
}
/**
* .sila2.org.silastandard.CommandExecutionUUID commandId = 1;
*/
public Builder clearCommandId() {
if (commandIdBuilder_ == null) {
commandId_ = null;
onChanged();
} else {
commandId_ = null;
commandIdBuilder_ = null;
}
return this;
}
/**
* .sila2.org.silastandard.CommandExecutionUUID commandId = 1;
*/
public sila2.org.silastandard.SiLAFramework.CommandExecutionUUID.Builder getCommandIdBuilder() {
onChanged();
return getCommandIdFieldBuilder().getBuilder();
}
/**
* .sila2.org.silastandard.CommandExecutionUUID commandId = 1;
*/
public sila2.org.silastandard.SiLAFramework.CommandExecutionUUIDOrBuilder getCommandIdOrBuilder() {
if (commandIdBuilder_ != null) {
return commandIdBuilder_.getMessageOrBuilder();
} else {
return commandId_ == null ?
sila2.org.silastandard.SiLAFramework.CommandExecutionUUID.getDefaultInstance() : commandId_;
}
}
/**
* .sila2.org.silastandard.CommandExecutionUUID commandId = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.CommandExecutionUUID, sila2.org.silastandard.SiLAFramework.CommandExecutionUUID.Builder, sila2.org.silastandard.SiLAFramework.CommandExecutionUUIDOrBuilder>
getCommandIdFieldBuilder() {
if (commandIdBuilder_ == null) {
commandIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.CommandExecutionUUID, sila2.org.silastandard.SiLAFramework.CommandExecutionUUID.Builder, sila2.org.silastandard.SiLAFramework.CommandExecutionUUIDOrBuilder>(
getCommandId(),
getParentForChildren(),
isClean());
commandId_ = null;
}
return commandIdBuilder_;
}
private sila2.org.silastandard.SiLAFramework.Duration lifetimeOfExecution_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.Duration, sila2.org.silastandard.SiLAFramework.Duration.Builder, sila2.org.silastandard.SiLAFramework.DurationOrBuilder> lifetimeOfExecutionBuilder_;
/**
* .sila2.org.silastandard.Duration lifetimeOfExecution = 2;
*/
public boolean hasLifetimeOfExecution() {
return lifetimeOfExecutionBuilder_ != null || lifetimeOfExecution_ != null;
}
/**
* .sila2.org.silastandard.Duration lifetimeOfExecution = 2;
*/
public sila2.org.silastandard.SiLAFramework.Duration getLifetimeOfExecution() {
if (lifetimeOfExecutionBuilder_ == null) {
return lifetimeOfExecution_ == null ? sila2.org.silastandard.SiLAFramework.Duration.getDefaultInstance() : lifetimeOfExecution_;
} else {
return lifetimeOfExecutionBuilder_.getMessage();
}
}
/**
* .sila2.org.silastandard.Duration lifetimeOfExecution = 2;
*/
public Builder setLifetimeOfExecution(sila2.org.silastandard.SiLAFramework.Duration value) {
if (lifetimeOfExecutionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
lifetimeOfExecution_ = value;
onChanged();
} else {
lifetimeOfExecutionBuilder_.setMessage(value);
}
return this;
}
/**
* .sila2.org.silastandard.Duration lifetimeOfExecution = 2;
*/
public Builder setLifetimeOfExecution(
sila2.org.silastandard.SiLAFramework.Duration.Builder builderForValue) {
if (lifetimeOfExecutionBuilder_ == null) {
lifetimeOfExecution_ = builderForValue.build();
onChanged();
} else {
lifetimeOfExecutionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .sila2.org.silastandard.Duration lifetimeOfExecution = 2;
*/
public Builder mergeLifetimeOfExecution(sila2.org.silastandard.SiLAFramework.Duration value) {
if (lifetimeOfExecutionBuilder_ == null) {
if (lifetimeOfExecution_ != null) {
lifetimeOfExecution_ =
sila2.org.silastandard.SiLAFramework.Duration.newBuilder(lifetimeOfExecution_).mergeFrom(value).buildPartial();
} else {
lifetimeOfExecution_ = value;
}
onChanged();
} else {
lifetimeOfExecutionBuilder_.mergeFrom(value);
}
return this;
}
/**
* .sila2.org.silastandard.Duration lifetimeOfExecution = 2;
*/
public Builder clearLifetimeOfExecution() {
if (lifetimeOfExecutionBuilder_ == null) {
lifetimeOfExecution_ = null;
onChanged();
} else {
lifetimeOfExecution_ = null;
lifetimeOfExecutionBuilder_ = null;
}
return this;
}
/**
* .sila2.org.silastandard.Duration lifetimeOfExecution = 2;
*/
public sila2.org.silastandard.SiLAFramework.Duration.Builder getLifetimeOfExecutionBuilder() {
onChanged();
return getLifetimeOfExecutionFieldBuilder().getBuilder();
}
/**
* .sila2.org.silastandard.Duration lifetimeOfExecution = 2;
*/
public sila2.org.silastandard.SiLAFramework.DurationOrBuilder getLifetimeOfExecutionOrBuilder() {
if (lifetimeOfExecutionBuilder_ != null) {
return lifetimeOfExecutionBuilder_.getMessageOrBuilder();
} else {
return lifetimeOfExecution_ == null ?
sila2.org.silastandard.SiLAFramework.Duration.getDefaultInstance() : lifetimeOfExecution_;
}
}
/**
* .sila2.org.silastandard.Duration lifetimeOfExecution = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.Duration, sila2.org.silastandard.SiLAFramework.Duration.Builder, sila2.org.silastandard.SiLAFramework.DurationOrBuilder>
getLifetimeOfExecutionFieldBuilder() {
if (lifetimeOfExecutionBuilder_ == null) {
lifetimeOfExecutionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.Duration, sila2.org.silastandard.SiLAFramework.Duration.Builder, sila2.org.silastandard.SiLAFramework.DurationOrBuilder>(
getLifetimeOfExecution(),
getParentForChildren(),
isClean());
lifetimeOfExecution_ = null;
}
return lifetimeOfExecutionBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:sila2.org.silastandard.CommandConfirmation)
}
// @@protoc_insertion_point(class_scope:sila2.org.silastandard.CommandConfirmation)
private static final sila2.org.silastandard.SiLAFramework.CommandConfirmation DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new sila2.org.silastandard.SiLAFramework.CommandConfirmation();
}
public static sila2.org.silastandard.SiLAFramework.CommandConfirmation getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public CommandConfirmation parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CommandConfirmation(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public sila2.org.silastandard.SiLAFramework.CommandConfirmation getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ExecutionInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:sila2.org.silastandard.ExecutionInfo)
com.google.protobuf.MessageOrBuilder {
/**
* .sila2.org.silastandard.ExecutionInfo.CommandStatus commandStatus = 1;
*/
int getCommandStatusValue();
/**
* .sila2.org.silastandard.ExecutionInfo.CommandStatus commandStatus = 1;
*/
sila2.org.silastandard.SiLAFramework.ExecutionInfo.CommandStatus getCommandStatus();
/**
* .sila2.org.silastandard.Real progressInfo = 2;
*/
boolean hasProgressInfo();
/**
* .sila2.org.silastandard.Real progressInfo = 2;
*/
sila2.org.silastandard.SiLAFramework.Real getProgressInfo();
/**
* .sila2.org.silastandard.Real progressInfo = 2;
*/
sila2.org.silastandard.SiLAFramework.RealOrBuilder getProgressInfoOrBuilder();
/**
* .sila2.org.silastandard.Duration estimatedRemainingTime = 3;
*/
boolean hasEstimatedRemainingTime();
/**
* .sila2.org.silastandard.Duration estimatedRemainingTime = 3;
*/
sila2.org.silastandard.SiLAFramework.Duration getEstimatedRemainingTime();
/**
* .sila2.org.silastandard.Duration estimatedRemainingTime = 3;
*/
sila2.org.silastandard.SiLAFramework.DurationOrBuilder getEstimatedRemainingTimeOrBuilder();
/**
* .sila2.org.silastandard.Duration updatedLifetimeOfExecution = 4;
*/
boolean hasUpdatedLifetimeOfExecution();
/**
* .sila2.org.silastandard.Duration updatedLifetimeOfExecution = 4;
*/
sila2.org.silastandard.SiLAFramework.Duration getUpdatedLifetimeOfExecution();
/**
* .sila2.org.silastandard.Duration updatedLifetimeOfExecution = 4;
*/
sila2.org.silastandard.SiLAFramework.DurationOrBuilder getUpdatedLifetimeOfExecutionOrBuilder();
}
/**
* Protobuf type {@code sila2.org.silastandard.ExecutionInfo}
*/
public static final class ExecutionInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:sila2.org.silastandard.ExecutionInfo)
ExecutionInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use ExecutionInfo.newBuilder() to construct.
private ExecutionInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ExecutionInfo() {
commandStatus_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ExecutionInfo(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
int rawValue = input.readEnum();
commandStatus_ = rawValue;
break;
}
case 18: {
sila2.org.silastandard.SiLAFramework.Real.Builder subBuilder = null;
if (progressInfo_ != null) {
subBuilder = progressInfo_.toBuilder();
}
progressInfo_ = input.readMessage(sila2.org.silastandard.SiLAFramework.Real.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(progressInfo_);
progressInfo_ = subBuilder.buildPartial();
}
break;
}
case 26: {
sila2.org.silastandard.SiLAFramework.Duration.Builder subBuilder = null;
if (estimatedRemainingTime_ != null) {
subBuilder = estimatedRemainingTime_.toBuilder();
}
estimatedRemainingTime_ = input.readMessage(sila2.org.silastandard.SiLAFramework.Duration.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(estimatedRemainingTime_);
estimatedRemainingTime_ = subBuilder.buildPartial();
}
break;
}
case 34: {
sila2.org.silastandard.SiLAFramework.Duration.Builder subBuilder = null;
if (updatedLifetimeOfExecution_ != null) {
subBuilder = updatedLifetimeOfExecution_.toBuilder();
}
updatedLifetimeOfExecution_ = input.readMessage(sila2.org.silastandard.SiLAFramework.Duration.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(updatedLifetimeOfExecution_);
updatedLifetimeOfExecution_ = 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 {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_ExecutionInfo_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_ExecutionInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.ExecutionInfo.class, sila2.org.silastandard.SiLAFramework.ExecutionInfo.Builder.class);
}
/**
* Protobuf enum {@code sila2.org.silastandard.ExecutionInfo.CommandStatus}
*/
public enum CommandStatus
implements com.google.protobuf.ProtocolMessageEnum {
/**
* waiting = 0;
*/
waiting(0),
/**
* running = 1;
*/
running(1),
/**
* finishedSuccessfully = 2;
*/
finishedSuccessfully(2),
/**
* finishedWithError = 3;
*/
finishedWithError(3),
UNRECOGNIZED(-1),
;
/**
* waiting = 0;
*/
public static final int waiting_VALUE = 0;
/**
* running = 1;
*/
public static final int running_VALUE = 1;
/**
* finishedSuccessfully = 2;
*/
public static final int finishedSuccessfully_VALUE = 2;
/**
* finishedWithError = 3;
*/
public static final int finishedWithError_VALUE = 3;
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 CommandStatus valueOf(int value) {
return forNumber(value);
}
public static CommandStatus forNumber(int value) {
switch (value) {
case 0: return waiting;
case 1: return running;
case 2: return finishedSuccessfully;
case 3: return finishedWithError;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
CommandStatus> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public CommandStatus findValueByNumber(int number) {
return CommandStatus.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 sila2.org.silastandard.SiLAFramework.ExecutionInfo.getDescriptor().getEnumTypes().get(0);
}
private static final CommandStatus[] VALUES = values();
public static CommandStatus 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 CommandStatus(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:sila2.org.silastandard.ExecutionInfo.CommandStatus)
}
public static final int COMMANDSTATUS_FIELD_NUMBER = 1;
private int commandStatus_;
/**
* .sila2.org.silastandard.ExecutionInfo.CommandStatus commandStatus = 1;
*/
public int getCommandStatusValue() {
return commandStatus_;
}
/**
* .sila2.org.silastandard.ExecutionInfo.CommandStatus commandStatus = 1;
*/
public sila2.org.silastandard.SiLAFramework.ExecutionInfo.CommandStatus getCommandStatus() {
sila2.org.silastandard.SiLAFramework.ExecutionInfo.CommandStatus result = sila2.org.silastandard.SiLAFramework.ExecutionInfo.CommandStatus.valueOf(commandStatus_);
return result == null ? sila2.org.silastandard.SiLAFramework.ExecutionInfo.CommandStatus.UNRECOGNIZED : result;
}
public static final int PROGRESSINFO_FIELD_NUMBER = 2;
private sila2.org.silastandard.SiLAFramework.Real progressInfo_;
/**
* .sila2.org.silastandard.Real progressInfo = 2;
*/
public boolean hasProgressInfo() {
return progressInfo_ != null;
}
/**
* .sila2.org.silastandard.Real progressInfo = 2;
*/
public sila2.org.silastandard.SiLAFramework.Real getProgressInfo() {
return progressInfo_ == null ? sila2.org.silastandard.SiLAFramework.Real.getDefaultInstance() : progressInfo_;
}
/**
* .sila2.org.silastandard.Real progressInfo = 2;
*/
public sila2.org.silastandard.SiLAFramework.RealOrBuilder getProgressInfoOrBuilder() {
return getProgressInfo();
}
public static final int ESTIMATEDREMAININGTIME_FIELD_NUMBER = 3;
private sila2.org.silastandard.SiLAFramework.Duration estimatedRemainingTime_;
/**
* .sila2.org.silastandard.Duration estimatedRemainingTime = 3;
*/
public boolean hasEstimatedRemainingTime() {
return estimatedRemainingTime_ != null;
}
/**
* .sila2.org.silastandard.Duration estimatedRemainingTime = 3;
*/
public sila2.org.silastandard.SiLAFramework.Duration getEstimatedRemainingTime() {
return estimatedRemainingTime_ == null ? sila2.org.silastandard.SiLAFramework.Duration.getDefaultInstance() : estimatedRemainingTime_;
}
/**
* .sila2.org.silastandard.Duration estimatedRemainingTime = 3;
*/
public sila2.org.silastandard.SiLAFramework.DurationOrBuilder getEstimatedRemainingTimeOrBuilder() {
return getEstimatedRemainingTime();
}
public static final int UPDATEDLIFETIMEOFEXECUTION_FIELD_NUMBER = 4;
private sila2.org.silastandard.SiLAFramework.Duration updatedLifetimeOfExecution_;
/**
* .sila2.org.silastandard.Duration updatedLifetimeOfExecution = 4;
*/
public boolean hasUpdatedLifetimeOfExecution() {
return updatedLifetimeOfExecution_ != null;
}
/**
* .sila2.org.silastandard.Duration updatedLifetimeOfExecution = 4;
*/
public sila2.org.silastandard.SiLAFramework.Duration getUpdatedLifetimeOfExecution() {
return updatedLifetimeOfExecution_ == null ? sila2.org.silastandard.SiLAFramework.Duration.getDefaultInstance() : updatedLifetimeOfExecution_;
}
/**
* .sila2.org.silastandard.Duration updatedLifetimeOfExecution = 4;
*/
public sila2.org.silastandard.SiLAFramework.DurationOrBuilder getUpdatedLifetimeOfExecutionOrBuilder() {
return getUpdatedLifetimeOfExecution();
}
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 (commandStatus_ != sila2.org.silastandard.SiLAFramework.ExecutionInfo.CommandStatus.waiting.getNumber()) {
output.writeEnum(1, commandStatus_);
}
if (progressInfo_ != null) {
output.writeMessage(2, getProgressInfo());
}
if (estimatedRemainingTime_ != null) {
output.writeMessage(3, getEstimatedRemainingTime());
}
if (updatedLifetimeOfExecution_ != null) {
output.writeMessage(4, getUpdatedLifetimeOfExecution());
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (commandStatus_ != sila2.org.silastandard.SiLAFramework.ExecutionInfo.CommandStatus.waiting.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, commandStatus_);
}
if (progressInfo_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getProgressInfo());
}
if (estimatedRemainingTime_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getEstimatedRemainingTime());
}
if (updatedLifetimeOfExecution_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getUpdatedLifetimeOfExecution());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof sila2.org.silastandard.SiLAFramework.ExecutionInfo)) {
return super.equals(obj);
}
sila2.org.silastandard.SiLAFramework.ExecutionInfo other = (sila2.org.silastandard.SiLAFramework.ExecutionInfo) obj;
boolean result = true;
result = result && commandStatus_ == other.commandStatus_;
result = result && (hasProgressInfo() == other.hasProgressInfo());
if (hasProgressInfo()) {
result = result && getProgressInfo()
.equals(other.getProgressInfo());
}
result = result && (hasEstimatedRemainingTime() == other.hasEstimatedRemainingTime());
if (hasEstimatedRemainingTime()) {
result = result && getEstimatedRemainingTime()
.equals(other.getEstimatedRemainingTime());
}
result = result && (hasUpdatedLifetimeOfExecution() == other.hasUpdatedLifetimeOfExecution());
if (hasUpdatedLifetimeOfExecution()) {
result = result && getUpdatedLifetimeOfExecution()
.equals(other.getUpdatedLifetimeOfExecution());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + COMMANDSTATUS_FIELD_NUMBER;
hash = (53 * hash) + commandStatus_;
if (hasProgressInfo()) {
hash = (37 * hash) + PROGRESSINFO_FIELD_NUMBER;
hash = (53 * hash) + getProgressInfo().hashCode();
}
if (hasEstimatedRemainingTime()) {
hash = (37 * hash) + ESTIMATEDREMAININGTIME_FIELD_NUMBER;
hash = (53 * hash) + getEstimatedRemainingTime().hashCode();
}
if (hasUpdatedLifetimeOfExecution()) {
hash = (37 * hash) + UPDATEDLIFETIMEOFEXECUTION_FIELD_NUMBER;
hash = (53 * hash) + getUpdatedLifetimeOfExecution().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static sila2.org.silastandard.SiLAFramework.ExecutionInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.ExecutionInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.ExecutionInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.ExecutionInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.ExecutionInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.ExecutionInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.ExecutionInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.ExecutionInfo 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 sila2.org.silastandard.SiLAFramework.ExecutionInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.ExecutionInfo 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 sila2.org.silastandard.SiLAFramework.ExecutionInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.ExecutionInfo 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(sila2.org.silastandard.SiLAFramework.ExecutionInfo 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 sila2.org.silastandard.ExecutionInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:sila2.org.silastandard.ExecutionInfo)
sila2.org.silastandard.SiLAFramework.ExecutionInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_ExecutionInfo_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_ExecutionInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.ExecutionInfo.class, sila2.org.silastandard.SiLAFramework.ExecutionInfo.Builder.class);
}
// Construct using sila2.org.silastandard.SiLAFramework.ExecutionInfo.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();
commandStatus_ = 0;
if (progressInfoBuilder_ == null) {
progressInfo_ = null;
} else {
progressInfo_ = null;
progressInfoBuilder_ = null;
}
if (estimatedRemainingTimeBuilder_ == null) {
estimatedRemainingTime_ = null;
} else {
estimatedRemainingTime_ = null;
estimatedRemainingTimeBuilder_ = null;
}
if (updatedLifetimeOfExecutionBuilder_ == null) {
updatedLifetimeOfExecution_ = null;
} else {
updatedLifetimeOfExecution_ = null;
updatedLifetimeOfExecutionBuilder_ = null;
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_ExecutionInfo_descriptor;
}
public sila2.org.silastandard.SiLAFramework.ExecutionInfo getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.ExecutionInfo.getDefaultInstance();
}
public sila2.org.silastandard.SiLAFramework.ExecutionInfo build() {
sila2.org.silastandard.SiLAFramework.ExecutionInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public sila2.org.silastandard.SiLAFramework.ExecutionInfo buildPartial() {
sila2.org.silastandard.SiLAFramework.ExecutionInfo result = new sila2.org.silastandard.SiLAFramework.ExecutionInfo(this);
result.commandStatus_ = commandStatus_;
if (progressInfoBuilder_ == null) {
result.progressInfo_ = progressInfo_;
} else {
result.progressInfo_ = progressInfoBuilder_.build();
}
if (estimatedRemainingTimeBuilder_ == null) {
result.estimatedRemainingTime_ = estimatedRemainingTime_;
} else {
result.estimatedRemainingTime_ = estimatedRemainingTimeBuilder_.build();
}
if (updatedLifetimeOfExecutionBuilder_ == null) {
result.updatedLifetimeOfExecution_ = updatedLifetimeOfExecution_;
} else {
result.updatedLifetimeOfExecution_ = updatedLifetimeOfExecutionBuilder_.build();
}
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.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, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof sila2.org.silastandard.SiLAFramework.ExecutionInfo) {
return mergeFrom((sila2.org.silastandard.SiLAFramework.ExecutionInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(sila2.org.silastandard.SiLAFramework.ExecutionInfo other) {
if (other == sila2.org.silastandard.SiLAFramework.ExecutionInfo.getDefaultInstance()) return this;
if (other.commandStatus_ != 0) {
setCommandStatusValue(other.getCommandStatusValue());
}
if (other.hasProgressInfo()) {
mergeProgressInfo(other.getProgressInfo());
}
if (other.hasEstimatedRemainingTime()) {
mergeEstimatedRemainingTime(other.getEstimatedRemainingTime());
}
if (other.hasUpdatedLifetimeOfExecution()) {
mergeUpdatedLifetimeOfExecution(other.getUpdatedLifetimeOfExecution());
}
this.mergeUnknownFields(other.unknownFields);
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 {
sila2.org.silastandard.SiLAFramework.ExecutionInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (sila2.org.silastandard.SiLAFramework.ExecutionInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int commandStatus_ = 0;
/**
* .sila2.org.silastandard.ExecutionInfo.CommandStatus commandStatus = 1;
*/
public int getCommandStatusValue() {
return commandStatus_;
}
/**
* .sila2.org.silastandard.ExecutionInfo.CommandStatus commandStatus = 1;
*/
public Builder setCommandStatusValue(int value) {
commandStatus_ = value;
onChanged();
return this;
}
/**
* .sila2.org.silastandard.ExecutionInfo.CommandStatus commandStatus = 1;
*/
public sila2.org.silastandard.SiLAFramework.ExecutionInfo.CommandStatus getCommandStatus() {
sila2.org.silastandard.SiLAFramework.ExecutionInfo.CommandStatus result = sila2.org.silastandard.SiLAFramework.ExecutionInfo.CommandStatus.valueOf(commandStatus_);
return result == null ? sila2.org.silastandard.SiLAFramework.ExecutionInfo.CommandStatus.UNRECOGNIZED : result;
}
/**
* .sila2.org.silastandard.ExecutionInfo.CommandStatus commandStatus = 1;
*/
public Builder setCommandStatus(sila2.org.silastandard.SiLAFramework.ExecutionInfo.CommandStatus value) {
if (value == null) {
throw new NullPointerException();
}
commandStatus_ = value.getNumber();
onChanged();
return this;
}
/**
* .sila2.org.silastandard.ExecutionInfo.CommandStatus commandStatus = 1;
*/
public Builder clearCommandStatus() {
commandStatus_ = 0;
onChanged();
return this;
}
private sila2.org.silastandard.SiLAFramework.Real progressInfo_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.Real, sila2.org.silastandard.SiLAFramework.Real.Builder, sila2.org.silastandard.SiLAFramework.RealOrBuilder> progressInfoBuilder_;
/**
* .sila2.org.silastandard.Real progressInfo = 2;
*/
public boolean hasProgressInfo() {
return progressInfoBuilder_ != null || progressInfo_ != null;
}
/**
* .sila2.org.silastandard.Real progressInfo = 2;
*/
public sila2.org.silastandard.SiLAFramework.Real getProgressInfo() {
if (progressInfoBuilder_ == null) {
return progressInfo_ == null ? sila2.org.silastandard.SiLAFramework.Real.getDefaultInstance() : progressInfo_;
} else {
return progressInfoBuilder_.getMessage();
}
}
/**
* .sila2.org.silastandard.Real progressInfo = 2;
*/
public Builder setProgressInfo(sila2.org.silastandard.SiLAFramework.Real value) {
if (progressInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
progressInfo_ = value;
onChanged();
} else {
progressInfoBuilder_.setMessage(value);
}
return this;
}
/**
* .sila2.org.silastandard.Real progressInfo = 2;
*/
public Builder setProgressInfo(
sila2.org.silastandard.SiLAFramework.Real.Builder builderForValue) {
if (progressInfoBuilder_ == null) {
progressInfo_ = builderForValue.build();
onChanged();
} else {
progressInfoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .sila2.org.silastandard.Real progressInfo = 2;
*/
public Builder mergeProgressInfo(sila2.org.silastandard.SiLAFramework.Real value) {
if (progressInfoBuilder_ == null) {
if (progressInfo_ != null) {
progressInfo_ =
sila2.org.silastandard.SiLAFramework.Real.newBuilder(progressInfo_).mergeFrom(value).buildPartial();
} else {
progressInfo_ = value;
}
onChanged();
} else {
progressInfoBuilder_.mergeFrom(value);
}
return this;
}
/**
* .sila2.org.silastandard.Real progressInfo = 2;
*/
public Builder clearProgressInfo() {
if (progressInfoBuilder_ == null) {
progressInfo_ = null;
onChanged();
} else {
progressInfo_ = null;
progressInfoBuilder_ = null;
}
return this;
}
/**
* .sila2.org.silastandard.Real progressInfo = 2;
*/
public sila2.org.silastandard.SiLAFramework.Real.Builder getProgressInfoBuilder() {
onChanged();
return getProgressInfoFieldBuilder().getBuilder();
}
/**
* .sila2.org.silastandard.Real progressInfo = 2;
*/
public sila2.org.silastandard.SiLAFramework.RealOrBuilder getProgressInfoOrBuilder() {
if (progressInfoBuilder_ != null) {
return progressInfoBuilder_.getMessageOrBuilder();
} else {
return progressInfo_ == null ?
sila2.org.silastandard.SiLAFramework.Real.getDefaultInstance() : progressInfo_;
}
}
/**
* .sila2.org.silastandard.Real progressInfo = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.Real, sila2.org.silastandard.SiLAFramework.Real.Builder, sila2.org.silastandard.SiLAFramework.RealOrBuilder>
getProgressInfoFieldBuilder() {
if (progressInfoBuilder_ == null) {
progressInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.Real, sila2.org.silastandard.SiLAFramework.Real.Builder, sila2.org.silastandard.SiLAFramework.RealOrBuilder>(
getProgressInfo(),
getParentForChildren(),
isClean());
progressInfo_ = null;
}
return progressInfoBuilder_;
}
private sila2.org.silastandard.SiLAFramework.Duration estimatedRemainingTime_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.Duration, sila2.org.silastandard.SiLAFramework.Duration.Builder, sila2.org.silastandard.SiLAFramework.DurationOrBuilder> estimatedRemainingTimeBuilder_;
/**
* .sila2.org.silastandard.Duration estimatedRemainingTime = 3;
*/
public boolean hasEstimatedRemainingTime() {
return estimatedRemainingTimeBuilder_ != null || estimatedRemainingTime_ != null;
}
/**
* .sila2.org.silastandard.Duration estimatedRemainingTime = 3;
*/
public sila2.org.silastandard.SiLAFramework.Duration getEstimatedRemainingTime() {
if (estimatedRemainingTimeBuilder_ == null) {
return estimatedRemainingTime_ == null ? sila2.org.silastandard.SiLAFramework.Duration.getDefaultInstance() : estimatedRemainingTime_;
} else {
return estimatedRemainingTimeBuilder_.getMessage();
}
}
/**
* .sila2.org.silastandard.Duration estimatedRemainingTime = 3;
*/
public Builder setEstimatedRemainingTime(sila2.org.silastandard.SiLAFramework.Duration value) {
if (estimatedRemainingTimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
estimatedRemainingTime_ = value;
onChanged();
} else {
estimatedRemainingTimeBuilder_.setMessage(value);
}
return this;
}
/**
* .sila2.org.silastandard.Duration estimatedRemainingTime = 3;
*/
public Builder setEstimatedRemainingTime(
sila2.org.silastandard.SiLAFramework.Duration.Builder builderForValue) {
if (estimatedRemainingTimeBuilder_ == null) {
estimatedRemainingTime_ = builderForValue.build();
onChanged();
} else {
estimatedRemainingTimeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .sila2.org.silastandard.Duration estimatedRemainingTime = 3;
*/
public Builder mergeEstimatedRemainingTime(sila2.org.silastandard.SiLAFramework.Duration value) {
if (estimatedRemainingTimeBuilder_ == null) {
if (estimatedRemainingTime_ != null) {
estimatedRemainingTime_ =
sila2.org.silastandard.SiLAFramework.Duration.newBuilder(estimatedRemainingTime_).mergeFrom(value).buildPartial();
} else {
estimatedRemainingTime_ = value;
}
onChanged();
} else {
estimatedRemainingTimeBuilder_.mergeFrom(value);
}
return this;
}
/**
* .sila2.org.silastandard.Duration estimatedRemainingTime = 3;
*/
public Builder clearEstimatedRemainingTime() {
if (estimatedRemainingTimeBuilder_ == null) {
estimatedRemainingTime_ = null;
onChanged();
} else {
estimatedRemainingTime_ = null;
estimatedRemainingTimeBuilder_ = null;
}
return this;
}
/**
* .sila2.org.silastandard.Duration estimatedRemainingTime = 3;
*/
public sila2.org.silastandard.SiLAFramework.Duration.Builder getEstimatedRemainingTimeBuilder() {
onChanged();
return getEstimatedRemainingTimeFieldBuilder().getBuilder();
}
/**
* .sila2.org.silastandard.Duration estimatedRemainingTime = 3;
*/
public sila2.org.silastandard.SiLAFramework.DurationOrBuilder getEstimatedRemainingTimeOrBuilder() {
if (estimatedRemainingTimeBuilder_ != null) {
return estimatedRemainingTimeBuilder_.getMessageOrBuilder();
} else {
return estimatedRemainingTime_ == null ?
sila2.org.silastandard.SiLAFramework.Duration.getDefaultInstance() : estimatedRemainingTime_;
}
}
/**
* .sila2.org.silastandard.Duration estimatedRemainingTime = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.Duration, sila2.org.silastandard.SiLAFramework.Duration.Builder, sila2.org.silastandard.SiLAFramework.DurationOrBuilder>
getEstimatedRemainingTimeFieldBuilder() {
if (estimatedRemainingTimeBuilder_ == null) {
estimatedRemainingTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.Duration, sila2.org.silastandard.SiLAFramework.Duration.Builder, sila2.org.silastandard.SiLAFramework.DurationOrBuilder>(
getEstimatedRemainingTime(),
getParentForChildren(),
isClean());
estimatedRemainingTime_ = null;
}
return estimatedRemainingTimeBuilder_;
}
private sila2.org.silastandard.SiLAFramework.Duration updatedLifetimeOfExecution_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.Duration, sila2.org.silastandard.SiLAFramework.Duration.Builder, sila2.org.silastandard.SiLAFramework.DurationOrBuilder> updatedLifetimeOfExecutionBuilder_;
/**
* .sila2.org.silastandard.Duration updatedLifetimeOfExecution = 4;
*/
public boolean hasUpdatedLifetimeOfExecution() {
return updatedLifetimeOfExecutionBuilder_ != null || updatedLifetimeOfExecution_ != null;
}
/**
* .sila2.org.silastandard.Duration updatedLifetimeOfExecution = 4;
*/
public sila2.org.silastandard.SiLAFramework.Duration getUpdatedLifetimeOfExecution() {
if (updatedLifetimeOfExecutionBuilder_ == null) {
return updatedLifetimeOfExecution_ == null ? sila2.org.silastandard.SiLAFramework.Duration.getDefaultInstance() : updatedLifetimeOfExecution_;
} else {
return updatedLifetimeOfExecutionBuilder_.getMessage();
}
}
/**
* .sila2.org.silastandard.Duration updatedLifetimeOfExecution = 4;
*/
public Builder setUpdatedLifetimeOfExecution(sila2.org.silastandard.SiLAFramework.Duration value) {
if (updatedLifetimeOfExecutionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
updatedLifetimeOfExecution_ = value;
onChanged();
} else {
updatedLifetimeOfExecutionBuilder_.setMessage(value);
}
return this;
}
/**
* .sila2.org.silastandard.Duration updatedLifetimeOfExecution = 4;
*/
public Builder setUpdatedLifetimeOfExecution(
sila2.org.silastandard.SiLAFramework.Duration.Builder builderForValue) {
if (updatedLifetimeOfExecutionBuilder_ == null) {
updatedLifetimeOfExecution_ = builderForValue.build();
onChanged();
} else {
updatedLifetimeOfExecutionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .sila2.org.silastandard.Duration updatedLifetimeOfExecution = 4;
*/
public Builder mergeUpdatedLifetimeOfExecution(sila2.org.silastandard.SiLAFramework.Duration value) {
if (updatedLifetimeOfExecutionBuilder_ == null) {
if (updatedLifetimeOfExecution_ != null) {
updatedLifetimeOfExecution_ =
sila2.org.silastandard.SiLAFramework.Duration.newBuilder(updatedLifetimeOfExecution_).mergeFrom(value).buildPartial();
} else {
updatedLifetimeOfExecution_ = value;
}
onChanged();
} else {
updatedLifetimeOfExecutionBuilder_.mergeFrom(value);
}
return this;
}
/**
* .sila2.org.silastandard.Duration updatedLifetimeOfExecution = 4;
*/
public Builder clearUpdatedLifetimeOfExecution() {
if (updatedLifetimeOfExecutionBuilder_ == null) {
updatedLifetimeOfExecution_ = null;
onChanged();
} else {
updatedLifetimeOfExecution_ = null;
updatedLifetimeOfExecutionBuilder_ = null;
}
return this;
}
/**
* .sila2.org.silastandard.Duration updatedLifetimeOfExecution = 4;
*/
public sila2.org.silastandard.SiLAFramework.Duration.Builder getUpdatedLifetimeOfExecutionBuilder() {
onChanged();
return getUpdatedLifetimeOfExecutionFieldBuilder().getBuilder();
}
/**
* .sila2.org.silastandard.Duration updatedLifetimeOfExecution = 4;
*/
public sila2.org.silastandard.SiLAFramework.DurationOrBuilder getUpdatedLifetimeOfExecutionOrBuilder() {
if (updatedLifetimeOfExecutionBuilder_ != null) {
return updatedLifetimeOfExecutionBuilder_.getMessageOrBuilder();
} else {
return updatedLifetimeOfExecution_ == null ?
sila2.org.silastandard.SiLAFramework.Duration.getDefaultInstance() : updatedLifetimeOfExecution_;
}
}
/**
* .sila2.org.silastandard.Duration updatedLifetimeOfExecution = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.Duration, sila2.org.silastandard.SiLAFramework.Duration.Builder, sila2.org.silastandard.SiLAFramework.DurationOrBuilder>
getUpdatedLifetimeOfExecutionFieldBuilder() {
if (updatedLifetimeOfExecutionBuilder_ == null) {
updatedLifetimeOfExecutionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.Duration, sila2.org.silastandard.SiLAFramework.Duration.Builder, sila2.org.silastandard.SiLAFramework.DurationOrBuilder>(
getUpdatedLifetimeOfExecution(),
getParentForChildren(),
isClean());
updatedLifetimeOfExecution_ = null;
}
return updatedLifetimeOfExecutionBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:sila2.org.silastandard.ExecutionInfo)
}
// @@protoc_insertion_point(class_scope:sila2.org.silastandard.ExecutionInfo)
private static final sila2.org.silastandard.SiLAFramework.ExecutionInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new sila2.org.silastandard.SiLAFramework.ExecutionInfo();
}
public static sila2.org.silastandard.SiLAFramework.ExecutionInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public ExecutionInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ExecutionInfo(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public sila2.org.silastandard.SiLAFramework.ExecutionInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SiLAErrorOrBuilder extends
// @@protoc_insertion_point(interface_extends:sila2.org.silastandard.SiLAError)
com.google.protobuf.MessageOrBuilder {
/**
* .sila2.org.silastandard.ValidationError validationError = 1;
*/
boolean hasValidationError();
/**
* .sila2.org.silastandard.ValidationError validationError = 1;
*/
sila2.org.silastandard.SiLAFramework.ValidationError getValidationError();
/**
* .sila2.org.silastandard.ValidationError validationError = 1;
*/
sila2.org.silastandard.SiLAFramework.ValidationErrorOrBuilder getValidationErrorOrBuilder();
/**
* .sila2.org.silastandard.ExecutionError executionError = 2;
*/
boolean hasExecutionError();
/**
* .sila2.org.silastandard.ExecutionError executionError = 2;
*/
sila2.org.silastandard.SiLAFramework.ExecutionError getExecutionError();
/**
* .sila2.org.silastandard.ExecutionError executionError = 2;
*/
sila2.org.silastandard.SiLAFramework.ExecutionErrorOrBuilder getExecutionErrorOrBuilder();
/**
* .sila2.org.silastandard.ReadError readError = 3;
*/
boolean hasReadError();
/**
* .sila2.org.silastandard.ReadError readError = 3;
*/
sila2.org.silastandard.SiLAFramework.ReadError getReadError();
/**
* .sila2.org.silastandard.ReadError readError = 3;
*/
sila2.org.silastandard.SiLAFramework.ReadErrorOrBuilder getReadErrorOrBuilder();
/**
* .sila2.org.silastandard.FrameworkError frameworkError = 4;
*/
boolean hasFrameworkError();
/**
* .sila2.org.silastandard.FrameworkError frameworkError = 4;
*/
sila2.org.silastandard.SiLAFramework.FrameworkError getFrameworkError();
/**
* .sila2.org.silastandard.FrameworkError frameworkError = 4;
*/
sila2.org.silastandard.SiLAFramework.FrameworkErrorOrBuilder getFrameworkErrorOrBuilder();
public sila2.org.silastandard.SiLAFramework.SiLAError.ErrorCase getErrorCase();
}
/**
*
* -------- Error Handling --------
*
*
* Protobuf type {@code sila2.org.silastandard.SiLAError}
*/
public static final class SiLAError extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:sila2.org.silastandard.SiLAError)
SiLAErrorOrBuilder {
private static final long serialVersionUID = 0L;
// Use SiLAError.newBuilder() to construct.
private SiLAError(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SiLAError() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SiLAError(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
sila2.org.silastandard.SiLAFramework.ValidationError.Builder subBuilder = null;
if (errorCase_ == 1) {
subBuilder = ((sila2.org.silastandard.SiLAFramework.ValidationError) error_).toBuilder();
}
error_ =
input.readMessage(sila2.org.silastandard.SiLAFramework.ValidationError.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((sila2.org.silastandard.SiLAFramework.ValidationError) error_);
error_ = subBuilder.buildPartial();
}
errorCase_ = 1;
break;
}
case 18: {
sila2.org.silastandard.SiLAFramework.ExecutionError.Builder subBuilder = null;
if (errorCase_ == 2) {
subBuilder = ((sila2.org.silastandard.SiLAFramework.ExecutionError) error_).toBuilder();
}
error_ =
input.readMessage(sila2.org.silastandard.SiLAFramework.ExecutionError.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((sila2.org.silastandard.SiLAFramework.ExecutionError) error_);
error_ = subBuilder.buildPartial();
}
errorCase_ = 2;
break;
}
case 26: {
sila2.org.silastandard.SiLAFramework.ReadError.Builder subBuilder = null;
if (errorCase_ == 3) {
subBuilder = ((sila2.org.silastandard.SiLAFramework.ReadError) error_).toBuilder();
}
error_ =
input.readMessage(sila2.org.silastandard.SiLAFramework.ReadError.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((sila2.org.silastandard.SiLAFramework.ReadError) error_);
error_ = subBuilder.buildPartial();
}
errorCase_ = 3;
break;
}
case 34: {
sila2.org.silastandard.SiLAFramework.FrameworkError.Builder subBuilder = null;
if (errorCase_ == 4) {
subBuilder = ((sila2.org.silastandard.SiLAFramework.FrameworkError) error_).toBuilder();
}
error_ =
input.readMessage(sila2.org.silastandard.SiLAFramework.FrameworkError.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((sila2.org.silastandard.SiLAFramework.FrameworkError) error_);
error_ = subBuilder.buildPartial();
}
errorCase_ = 4;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_SiLAError_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_SiLAError_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.SiLAError.class, sila2.org.silastandard.SiLAFramework.SiLAError.Builder.class);
}
private int errorCase_ = 0;
private java.lang.Object error_;
public enum ErrorCase
implements com.google.protobuf.Internal.EnumLite {
VALIDATIONERROR(1),
EXECUTIONERROR(2),
READERROR(3),
FRAMEWORKERROR(4),
ERROR_NOT_SET(0);
private final int value;
private ErrorCase(int value) {
this.value = value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ErrorCase valueOf(int value) {
return forNumber(value);
}
public static ErrorCase forNumber(int value) {
switch (value) {
case 1: return VALIDATIONERROR;
case 2: return EXECUTIONERROR;
case 3: return READERROR;
case 4: return FRAMEWORKERROR;
case 0: return ERROR_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public ErrorCase
getErrorCase() {
return ErrorCase.forNumber(
errorCase_);
}
public static final int VALIDATIONERROR_FIELD_NUMBER = 1;
/**
* .sila2.org.silastandard.ValidationError validationError = 1;
*/
public boolean hasValidationError() {
return errorCase_ == 1;
}
/**
* .sila2.org.silastandard.ValidationError validationError = 1;
*/
public sila2.org.silastandard.SiLAFramework.ValidationError getValidationError() {
if (errorCase_ == 1) {
return (sila2.org.silastandard.SiLAFramework.ValidationError) error_;
}
return sila2.org.silastandard.SiLAFramework.ValidationError.getDefaultInstance();
}
/**
* .sila2.org.silastandard.ValidationError validationError = 1;
*/
public sila2.org.silastandard.SiLAFramework.ValidationErrorOrBuilder getValidationErrorOrBuilder() {
if (errorCase_ == 1) {
return (sila2.org.silastandard.SiLAFramework.ValidationError) error_;
}
return sila2.org.silastandard.SiLAFramework.ValidationError.getDefaultInstance();
}
public static final int EXECUTIONERROR_FIELD_NUMBER = 2;
/**
* .sila2.org.silastandard.ExecutionError executionError = 2;
*/
public boolean hasExecutionError() {
return errorCase_ == 2;
}
/**
* .sila2.org.silastandard.ExecutionError executionError = 2;
*/
public sila2.org.silastandard.SiLAFramework.ExecutionError getExecutionError() {
if (errorCase_ == 2) {
return (sila2.org.silastandard.SiLAFramework.ExecutionError) error_;
}
return sila2.org.silastandard.SiLAFramework.ExecutionError.getDefaultInstance();
}
/**
* .sila2.org.silastandard.ExecutionError executionError = 2;
*/
public sila2.org.silastandard.SiLAFramework.ExecutionErrorOrBuilder getExecutionErrorOrBuilder() {
if (errorCase_ == 2) {
return (sila2.org.silastandard.SiLAFramework.ExecutionError) error_;
}
return sila2.org.silastandard.SiLAFramework.ExecutionError.getDefaultInstance();
}
public static final int READERROR_FIELD_NUMBER = 3;
/**
* .sila2.org.silastandard.ReadError readError = 3;
*/
public boolean hasReadError() {
return errorCase_ == 3;
}
/**
* .sila2.org.silastandard.ReadError readError = 3;
*/
public sila2.org.silastandard.SiLAFramework.ReadError getReadError() {
if (errorCase_ == 3) {
return (sila2.org.silastandard.SiLAFramework.ReadError) error_;
}
return sila2.org.silastandard.SiLAFramework.ReadError.getDefaultInstance();
}
/**
* .sila2.org.silastandard.ReadError readError = 3;
*/
public sila2.org.silastandard.SiLAFramework.ReadErrorOrBuilder getReadErrorOrBuilder() {
if (errorCase_ == 3) {
return (sila2.org.silastandard.SiLAFramework.ReadError) error_;
}
return sila2.org.silastandard.SiLAFramework.ReadError.getDefaultInstance();
}
public static final int FRAMEWORKERROR_FIELD_NUMBER = 4;
/**
* .sila2.org.silastandard.FrameworkError frameworkError = 4;
*/
public boolean hasFrameworkError() {
return errorCase_ == 4;
}
/**
* .sila2.org.silastandard.FrameworkError frameworkError = 4;
*/
public sila2.org.silastandard.SiLAFramework.FrameworkError getFrameworkError() {
if (errorCase_ == 4) {
return (sila2.org.silastandard.SiLAFramework.FrameworkError) error_;
}
return sila2.org.silastandard.SiLAFramework.FrameworkError.getDefaultInstance();
}
/**
* .sila2.org.silastandard.FrameworkError frameworkError = 4;
*/
public sila2.org.silastandard.SiLAFramework.FrameworkErrorOrBuilder getFrameworkErrorOrBuilder() {
if (errorCase_ == 4) {
return (sila2.org.silastandard.SiLAFramework.FrameworkError) error_;
}
return sila2.org.silastandard.SiLAFramework.FrameworkError.getDefaultInstance();
}
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 (errorCase_ == 1) {
output.writeMessage(1, (sila2.org.silastandard.SiLAFramework.ValidationError) error_);
}
if (errorCase_ == 2) {
output.writeMessage(2, (sila2.org.silastandard.SiLAFramework.ExecutionError) error_);
}
if (errorCase_ == 3) {
output.writeMessage(3, (sila2.org.silastandard.SiLAFramework.ReadError) error_);
}
if (errorCase_ == 4) {
output.writeMessage(4, (sila2.org.silastandard.SiLAFramework.FrameworkError) error_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (errorCase_ == 1) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, (sila2.org.silastandard.SiLAFramework.ValidationError) error_);
}
if (errorCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (sila2.org.silastandard.SiLAFramework.ExecutionError) error_);
}
if (errorCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (sila2.org.silastandard.SiLAFramework.ReadError) error_);
}
if (errorCase_ == 4) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, (sila2.org.silastandard.SiLAFramework.FrameworkError) error_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof sila2.org.silastandard.SiLAFramework.SiLAError)) {
return super.equals(obj);
}
sila2.org.silastandard.SiLAFramework.SiLAError other = (sila2.org.silastandard.SiLAFramework.SiLAError) obj;
boolean result = true;
result = result && getErrorCase().equals(
other.getErrorCase());
if (!result) return false;
switch (errorCase_) {
case 1:
result = result && getValidationError()
.equals(other.getValidationError());
break;
case 2:
result = result && getExecutionError()
.equals(other.getExecutionError());
break;
case 3:
result = result && getReadError()
.equals(other.getReadError());
break;
case 4:
result = result && getFrameworkError()
.equals(other.getFrameworkError());
break;
case 0:
default:
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
switch (errorCase_) {
case 1:
hash = (37 * hash) + VALIDATIONERROR_FIELD_NUMBER;
hash = (53 * hash) + getValidationError().hashCode();
break;
case 2:
hash = (37 * hash) + EXECUTIONERROR_FIELD_NUMBER;
hash = (53 * hash) + getExecutionError().hashCode();
break;
case 3:
hash = (37 * hash) + READERROR_FIELD_NUMBER;
hash = (53 * hash) + getReadError().hashCode();
break;
case 4:
hash = (37 * hash) + FRAMEWORKERROR_FIELD_NUMBER;
hash = (53 * hash) + getFrameworkError().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static sila2.org.silastandard.SiLAFramework.SiLAError parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.SiLAError parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.SiLAError parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.SiLAError parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.SiLAError parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.SiLAError parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.SiLAError parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.SiLAError 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 sila2.org.silastandard.SiLAFramework.SiLAError parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.SiLAError 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 sila2.org.silastandard.SiLAFramework.SiLAError parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.SiLAError 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(sila2.org.silastandard.SiLAFramework.SiLAError 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;
}
/**
*
* -------- Error Handling --------
*
*
* Protobuf type {@code sila2.org.silastandard.SiLAError}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:sila2.org.silastandard.SiLAError)
sila2.org.silastandard.SiLAFramework.SiLAErrorOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_SiLAError_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_SiLAError_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.SiLAError.class, sila2.org.silastandard.SiLAFramework.SiLAError.Builder.class);
}
// Construct using sila2.org.silastandard.SiLAFramework.SiLAError.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();
errorCase_ = 0;
error_ = null;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_SiLAError_descriptor;
}
public sila2.org.silastandard.SiLAFramework.SiLAError getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.SiLAError.getDefaultInstance();
}
public sila2.org.silastandard.SiLAFramework.SiLAError build() {
sila2.org.silastandard.SiLAFramework.SiLAError result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public sila2.org.silastandard.SiLAFramework.SiLAError buildPartial() {
sila2.org.silastandard.SiLAFramework.SiLAError result = new sila2.org.silastandard.SiLAFramework.SiLAError(this);
if (errorCase_ == 1) {
if (validationErrorBuilder_ == null) {
result.error_ = error_;
} else {
result.error_ = validationErrorBuilder_.build();
}
}
if (errorCase_ == 2) {
if (executionErrorBuilder_ == null) {
result.error_ = error_;
} else {
result.error_ = executionErrorBuilder_.build();
}
}
if (errorCase_ == 3) {
if (readErrorBuilder_ == null) {
result.error_ = error_;
} else {
result.error_ = readErrorBuilder_.build();
}
}
if (errorCase_ == 4) {
if (frameworkErrorBuilder_ == null) {
result.error_ = error_;
} else {
result.error_ = frameworkErrorBuilder_.build();
}
}
result.errorCase_ = errorCase_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.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, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof sila2.org.silastandard.SiLAFramework.SiLAError) {
return mergeFrom((sila2.org.silastandard.SiLAFramework.SiLAError)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(sila2.org.silastandard.SiLAFramework.SiLAError other) {
if (other == sila2.org.silastandard.SiLAFramework.SiLAError.getDefaultInstance()) return this;
switch (other.getErrorCase()) {
case VALIDATIONERROR: {
mergeValidationError(other.getValidationError());
break;
}
case EXECUTIONERROR: {
mergeExecutionError(other.getExecutionError());
break;
}
case READERROR: {
mergeReadError(other.getReadError());
break;
}
case FRAMEWORKERROR: {
mergeFrameworkError(other.getFrameworkError());
break;
}
case ERROR_NOT_SET: {
break;
}
}
this.mergeUnknownFields(other.unknownFields);
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 {
sila2.org.silastandard.SiLAFramework.SiLAError parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (sila2.org.silastandard.SiLAFramework.SiLAError) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int errorCase_ = 0;
private java.lang.Object error_;
public ErrorCase
getErrorCase() {
return ErrorCase.forNumber(
errorCase_);
}
public Builder clearError() {
errorCase_ = 0;
error_ = null;
onChanged();
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.ValidationError, sila2.org.silastandard.SiLAFramework.ValidationError.Builder, sila2.org.silastandard.SiLAFramework.ValidationErrorOrBuilder> validationErrorBuilder_;
/**
* .sila2.org.silastandard.ValidationError validationError = 1;
*/
public boolean hasValidationError() {
return errorCase_ == 1;
}
/**
* .sila2.org.silastandard.ValidationError validationError = 1;
*/
public sila2.org.silastandard.SiLAFramework.ValidationError getValidationError() {
if (validationErrorBuilder_ == null) {
if (errorCase_ == 1) {
return (sila2.org.silastandard.SiLAFramework.ValidationError) error_;
}
return sila2.org.silastandard.SiLAFramework.ValidationError.getDefaultInstance();
} else {
if (errorCase_ == 1) {
return validationErrorBuilder_.getMessage();
}
return sila2.org.silastandard.SiLAFramework.ValidationError.getDefaultInstance();
}
}
/**
* .sila2.org.silastandard.ValidationError validationError = 1;
*/
public Builder setValidationError(sila2.org.silastandard.SiLAFramework.ValidationError value) {
if (validationErrorBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
error_ = value;
onChanged();
} else {
validationErrorBuilder_.setMessage(value);
}
errorCase_ = 1;
return this;
}
/**
* .sila2.org.silastandard.ValidationError validationError = 1;
*/
public Builder setValidationError(
sila2.org.silastandard.SiLAFramework.ValidationError.Builder builderForValue) {
if (validationErrorBuilder_ == null) {
error_ = builderForValue.build();
onChanged();
} else {
validationErrorBuilder_.setMessage(builderForValue.build());
}
errorCase_ = 1;
return this;
}
/**
* .sila2.org.silastandard.ValidationError validationError = 1;
*/
public Builder mergeValidationError(sila2.org.silastandard.SiLAFramework.ValidationError value) {
if (validationErrorBuilder_ == null) {
if (errorCase_ == 1 &&
error_ != sila2.org.silastandard.SiLAFramework.ValidationError.getDefaultInstance()) {
error_ = sila2.org.silastandard.SiLAFramework.ValidationError.newBuilder((sila2.org.silastandard.SiLAFramework.ValidationError) error_)
.mergeFrom(value).buildPartial();
} else {
error_ = value;
}
onChanged();
} else {
if (errorCase_ == 1) {
validationErrorBuilder_.mergeFrom(value);
}
validationErrorBuilder_.setMessage(value);
}
errorCase_ = 1;
return this;
}
/**
* .sila2.org.silastandard.ValidationError validationError = 1;
*/
public Builder clearValidationError() {
if (validationErrorBuilder_ == null) {
if (errorCase_ == 1) {
errorCase_ = 0;
error_ = null;
onChanged();
}
} else {
if (errorCase_ == 1) {
errorCase_ = 0;
error_ = null;
}
validationErrorBuilder_.clear();
}
return this;
}
/**
* .sila2.org.silastandard.ValidationError validationError = 1;
*/
public sila2.org.silastandard.SiLAFramework.ValidationError.Builder getValidationErrorBuilder() {
return getValidationErrorFieldBuilder().getBuilder();
}
/**
* .sila2.org.silastandard.ValidationError validationError = 1;
*/
public sila2.org.silastandard.SiLAFramework.ValidationErrorOrBuilder getValidationErrorOrBuilder() {
if ((errorCase_ == 1) && (validationErrorBuilder_ != null)) {
return validationErrorBuilder_.getMessageOrBuilder();
} else {
if (errorCase_ == 1) {
return (sila2.org.silastandard.SiLAFramework.ValidationError) error_;
}
return sila2.org.silastandard.SiLAFramework.ValidationError.getDefaultInstance();
}
}
/**
* .sila2.org.silastandard.ValidationError validationError = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.ValidationError, sila2.org.silastandard.SiLAFramework.ValidationError.Builder, sila2.org.silastandard.SiLAFramework.ValidationErrorOrBuilder>
getValidationErrorFieldBuilder() {
if (validationErrorBuilder_ == null) {
if (!(errorCase_ == 1)) {
error_ = sila2.org.silastandard.SiLAFramework.ValidationError.getDefaultInstance();
}
validationErrorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.ValidationError, sila2.org.silastandard.SiLAFramework.ValidationError.Builder, sila2.org.silastandard.SiLAFramework.ValidationErrorOrBuilder>(
(sila2.org.silastandard.SiLAFramework.ValidationError) error_,
getParentForChildren(),
isClean());
error_ = null;
}
errorCase_ = 1;
onChanged();;
return validationErrorBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.ExecutionError, sila2.org.silastandard.SiLAFramework.ExecutionError.Builder, sila2.org.silastandard.SiLAFramework.ExecutionErrorOrBuilder> executionErrorBuilder_;
/**
* .sila2.org.silastandard.ExecutionError executionError = 2;
*/
public boolean hasExecutionError() {
return errorCase_ == 2;
}
/**
* .sila2.org.silastandard.ExecutionError executionError = 2;
*/
public sila2.org.silastandard.SiLAFramework.ExecutionError getExecutionError() {
if (executionErrorBuilder_ == null) {
if (errorCase_ == 2) {
return (sila2.org.silastandard.SiLAFramework.ExecutionError) error_;
}
return sila2.org.silastandard.SiLAFramework.ExecutionError.getDefaultInstance();
} else {
if (errorCase_ == 2) {
return executionErrorBuilder_.getMessage();
}
return sila2.org.silastandard.SiLAFramework.ExecutionError.getDefaultInstance();
}
}
/**
* .sila2.org.silastandard.ExecutionError executionError = 2;
*/
public Builder setExecutionError(sila2.org.silastandard.SiLAFramework.ExecutionError value) {
if (executionErrorBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
error_ = value;
onChanged();
} else {
executionErrorBuilder_.setMessage(value);
}
errorCase_ = 2;
return this;
}
/**
* .sila2.org.silastandard.ExecutionError executionError = 2;
*/
public Builder setExecutionError(
sila2.org.silastandard.SiLAFramework.ExecutionError.Builder builderForValue) {
if (executionErrorBuilder_ == null) {
error_ = builderForValue.build();
onChanged();
} else {
executionErrorBuilder_.setMessage(builderForValue.build());
}
errorCase_ = 2;
return this;
}
/**
* .sila2.org.silastandard.ExecutionError executionError = 2;
*/
public Builder mergeExecutionError(sila2.org.silastandard.SiLAFramework.ExecutionError value) {
if (executionErrorBuilder_ == null) {
if (errorCase_ == 2 &&
error_ != sila2.org.silastandard.SiLAFramework.ExecutionError.getDefaultInstance()) {
error_ = sila2.org.silastandard.SiLAFramework.ExecutionError.newBuilder((sila2.org.silastandard.SiLAFramework.ExecutionError) error_)
.mergeFrom(value).buildPartial();
} else {
error_ = value;
}
onChanged();
} else {
if (errorCase_ == 2) {
executionErrorBuilder_.mergeFrom(value);
}
executionErrorBuilder_.setMessage(value);
}
errorCase_ = 2;
return this;
}
/**
* .sila2.org.silastandard.ExecutionError executionError = 2;
*/
public Builder clearExecutionError() {
if (executionErrorBuilder_ == null) {
if (errorCase_ == 2) {
errorCase_ = 0;
error_ = null;
onChanged();
}
} else {
if (errorCase_ == 2) {
errorCase_ = 0;
error_ = null;
}
executionErrorBuilder_.clear();
}
return this;
}
/**
* .sila2.org.silastandard.ExecutionError executionError = 2;
*/
public sila2.org.silastandard.SiLAFramework.ExecutionError.Builder getExecutionErrorBuilder() {
return getExecutionErrorFieldBuilder().getBuilder();
}
/**
* .sila2.org.silastandard.ExecutionError executionError = 2;
*/
public sila2.org.silastandard.SiLAFramework.ExecutionErrorOrBuilder getExecutionErrorOrBuilder() {
if ((errorCase_ == 2) && (executionErrorBuilder_ != null)) {
return executionErrorBuilder_.getMessageOrBuilder();
} else {
if (errorCase_ == 2) {
return (sila2.org.silastandard.SiLAFramework.ExecutionError) error_;
}
return sila2.org.silastandard.SiLAFramework.ExecutionError.getDefaultInstance();
}
}
/**
* .sila2.org.silastandard.ExecutionError executionError = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.ExecutionError, sila2.org.silastandard.SiLAFramework.ExecutionError.Builder, sila2.org.silastandard.SiLAFramework.ExecutionErrorOrBuilder>
getExecutionErrorFieldBuilder() {
if (executionErrorBuilder_ == null) {
if (!(errorCase_ == 2)) {
error_ = sila2.org.silastandard.SiLAFramework.ExecutionError.getDefaultInstance();
}
executionErrorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.ExecutionError, sila2.org.silastandard.SiLAFramework.ExecutionError.Builder, sila2.org.silastandard.SiLAFramework.ExecutionErrorOrBuilder>(
(sila2.org.silastandard.SiLAFramework.ExecutionError) error_,
getParentForChildren(),
isClean());
error_ = null;
}
errorCase_ = 2;
onChanged();;
return executionErrorBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.ReadError, sila2.org.silastandard.SiLAFramework.ReadError.Builder, sila2.org.silastandard.SiLAFramework.ReadErrorOrBuilder> readErrorBuilder_;
/**
* .sila2.org.silastandard.ReadError readError = 3;
*/
public boolean hasReadError() {
return errorCase_ == 3;
}
/**
* .sila2.org.silastandard.ReadError readError = 3;
*/
public sila2.org.silastandard.SiLAFramework.ReadError getReadError() {
if (readErrorBuilder_ == null) {
if (errorCase_ == 3) {
return (sila2.org.silastandard.SiLAFramework.ReadError) error_;
}
return sila2.org.silastandard.SiLAFramework.ReadError.getDefaultInstance();
} else {
if (errorCase_ == 3) {
return readErrorBuilder_.getMessage();
}
return sila2.org.silastandard.SiLAFramework.ReadError.getDefaultInstance();
}
}
/**
* .sila2.org.silastandard.ReadError readError = 3;
*/
public Builder setReadError(sila2.org.silastandard.SiLAFramework.ReadError value) {
if (readErrorBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
error_ = value;
onChanged();
} else {
readErrorBuilder_.setMessage(value);
}
errorCase_ = 3;
return this;
}
/**
* .sila2.org.silastandard.ReadError readError = 3;
*/
public Builder setReadError(
sila2.org.silastandard.SiLAFramework.ReadError.Builder builderForValue) {
if (readErrorBuilder_ == null) {
error_ = builderForValue.build();
onChanged();
} else {
readErrorBuilder_.setMessage(builderForValue.build());
}
errorCase_ = 3;
return this;
}
/**
* .sila2.org.silastandard.ReadError readError = 3;
*/
public Builder mergeReadError(sila2.org.silastandard.SiLAFramework.ReadError value) {
if (readErrorBuilder_ == null) {
if (errorCase_ == 3 &&
error_ != sila2.org.silastandard.SiLAFramework.ReadError.getDefaultInstance()) {
error_ = sila2.org.silastandard.SiLAFramework.ReadError.newBuilder((sila2.org.silastandard.SiLAFramework.ReadError) error_)
.mergeFrom(value).buildPartial();
} else {
error_ = value;
}
onChanged();
} else {
if (errorCase_ == 3) {
readErrorBuilder_.mergeFrom(value);
}
readErrorBuilder_.setMessage(value);
}
errorCase_ = 3;
return this;
}
/**
* .sila2.org.silastandard.ReadError readError = 3;
*/
public Builder clearReadError() {
if (readErrorBuilder_ == null) {
if (errorCase_ == 3) {
errorCase_ = 0;
error_ = null;
onChanged();
}
} else {
if (errorCase_ == 3) {
errorCase_ = 0;
error_ = null;
}
readErrorBuilder_.clear();
}
return this;
}
/**
* .sila2.org.silastandard.ReadError readError = 3;
*/
public sila2.org.silastandard.SiLAFramework.ReadError.Builder getReadErrorBuilder() {
return getReadErrorFieldBuilder().getBuilder();
}
/**
* .sila2.org.silastandard.ReadError readError = 3;
*/
public sila2.org.silastandard.SiLAFramework.ReadErrorOrBuilder getReadErrorOrBuilder() {
if ((errorCase_ == 3) && (readErrorBuilder_ != null)) {
return readErrorBuilder_.getMessageOrBuilder();
} else {
if (errorCase_ == 3) {
return (sila2.org.silastandard.SiLAFramework.ReadError) error_;
}
return sila2.org.silastandard.SiLAFramework.ReadError.getDefaultInstance();
}
}
/**
* .sila2.org.silastandard.ReadError readError = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.ReadError, sila2.org.silastandard.SiLAFramework.ReadError.Builder, sila2.org.silastandard.SiLAFramework.ReadErrorOrBuilder>
getReadErrorFieldBuilder() {
if (readErrorBuilder_ == null) {
if (!(errorCase_ == 3)) {
error_ = sila2.org.silastandard.SiLAFramework.ReadError.getDefaultInstance();
}
readErrorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.ReadError, sila2.org.silastandard.SiLAFramework.ReadError.Builder, sila2.org.silastandard.SiLAFramework.ReadErrorOrBuilder>(
(sila2.org.silastandard.SiLAFramework.ReadError) error_,
getParentForChildren(),
isClean());
error_ = null;
}
errorCase_ = 3;
onChanged();;
return readErrorBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.FrameworkError, sila2.org.silastandard.SiLAFramework.FrameworkError.Builder, sila2.org.silastandard.SiLAFramework.FrameworkErrorOrBuilder> frameworkErrorBuilder_;
/**
* .sila2.org.silastandard.FrameworkError frameworkError = 4;
*/
public boolean hasFrameworkError() {
return errorCase_ == 4;
}
/**
* .sila2.org.silastandard.FrameworkError frameworkError = 4;
*/
public sila2.org.silastandard.SiLAFramework.FrameworkError getFrameworkError() {
if (frameworkErrorBuilder_ == null) {
if (errorCase_ == 4) {
return (sila2.org.silastandard.SiLAFramework.FrameworkError) error_;
}
return sila2.org.silastandard.SiLAFramework.FrameworkError.getDefaultInstance();
} else {
if (errorCase_ == 4) {
return frameworkErrorBuilder_.getMessage();
}
return sila2.org.silastandard.SiLAFramework.FrameworkError.getDefaultInstance();
}
}
/**
* .sila2.org.silastandard.FrameworkError frameworkError = 4;
*/
public Builder setFrameworkError(sila2.org.silastandard.SiLAFramework.FrameworkError value) {
if (frameworkErrorBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
error_ = value;
onChanged();
} else {
frameworkErrorBuilder_.setMessage(value);
}
errorCase_ = 4;
return this;
}
/**
* .sila2.org.silastandard.FrameworkError frameworkError = 4;
*/
public Builder setFrameworkError(
sila2.org.silastandard.SiLAFramework.FrameworkError.Builder builderForValue) {
if (frameworkErrorBuilder_ == null) {
error_ = builderForValue.build();
onChanged();
} else {
frameworkErrorBuilder_.setMessage(builderForValue.build());
}
errorCase_ = 4;
return this;
}
/**
* .sila2.org.silastandard.FrameworkError frameworkError = 4;
*/
public Builder mergeFrameworkError(sila2.org.silastandard.SiLAFramework.FrameworkError value) {
if (frameworkErrorBuilder_ == null) {
if (errorCase_ == 4 &&
error_ != sila2.org.silastandard.SiLAFramework.FrameworkError.getDefaultInstance()) {
error_ = sila2.org.silastandard.SiLAFramework.FrameworkError.newBuilder((sila2.org.silastandard.SiLAFramework.FrameworkError) error_)
.mergeFrom(value).buildPartial();
} else {
error_ = value;
}
onChanged();
} else {
if (errorCase_ == 4) {
frameworkErrorBuilder_.mergeFrom(value);
}
frameworkErrorBuilder_.setMessage(value);
}
errorCase_ = 4;
return this;
}
/**
* .sila2.org.silastandard.FrameworkError frameworkError = 4;
*/
public Builder clearFrameworkError() {
if (frameworkErrorBuilder_ == null) {
if (errorCase_ == 4) {
errorCase_ = 0;
error_ = null;
onChanged();
}
} else {
if (errorCase_ == 4) {
errorCase_ = 0;
error_ = null;
}
frameworkErrorBuilder_.clear();
}
return this;
}
/**
* .sila2.org.silastandard.FrameworkError frameworkError = 4;
*/
public sila2.org.silastandard.SiLAFramework.FrameworkError.Builder getFrameworkErrorBuilder() {
return getFrameworkErrorFieldBuilder().getBuilder();
}
/**
* .sila2.org.silastandard.FrameworkError frameworkError = 4;
*/
public sila2.org.silastandard.SiLAFramework.FrameworkErrorOrBuilder getFrameworkErrorOrBuilder() {
if ((errorCase_ == 4) && (frameworkErrorBuilder_ != null)) {
return frameworkErrorBuilder_.getMessageOrBuilder();
} else {
if (errorCase_ == 4) {
return (sila2.org.silastandard.SiLAFramework.FrameworkError) error_;
}
return sila2.org.silastandard.SiLAFramework.FrameworkError.getDefaultInstance();
}
}
/**
* .sila2.org.silastandard.FrameworkError frameworkError = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.FrameworkError, sila2.org.silastandard.SiLAFramework.FrameworkError.Builder, sila2.org.silastandard.SiLAFramework.FrameworkErrorOrBuilder>
getFrameworkErrorFieldBuilder() {
if (frameworkErrorBuilder_ == null) {
if (!(errorCase_ == 4)) {
error_ = sila2.org.silastandard.SiLAFramework.FrameworkError.getDefaultInstance();
}
frameworkErrorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.FrameworkError, sila2.org.silastandard.SiLAFramework.FrameworkError.Builder, sila2.org.silastandard.SiLAFramework.FrameworkErrorOrBuilder>(
(sila2.org.silastandard.SiLAFramework.FrameworkError) error_,
getParentForChildren(),
isClean());
error_ = null;
}
errorCase_ = 4;
onChanged();;
return frameworkErrorBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:sila2.org.silastandard.SiLAError)
}
// @@protoc_insertion_point(class_scope:sila2.org.silastandard.SiLAError)
private static final sila2.org.silastandard.SiLAFramework.SiLAError DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new sila2.org.silastandard.SiLAFramework.SiLAError();
}
public static sila2.org.silastandard.SiLAFramework.SiLAError getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public SiLAError parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SiLAError(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public sila2.org.silastandard.SiLAFramework.SiLAError getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ValidationErrorOrBuilder extends
// @@protoc_insertion_point(interface_extends:sila2.org.silastandard.ValidationError)
com.google.protobuf.MessageOrBuilder {
/**
* string parameter = 1;
*/
java.lang.String getParameter();
/**
* string parameter = 1;
*/
com.google.protobuf.ByteString
getParameterBytes();
/**
* string cause = 2;
*/
java.lang.String getCause();
/**
* string cause = 2;
*/
com.google.protobuf.ByteString
getCauseBytes();
/**
* string action = 3;
*/
java.lang.String getAction();
/**
* string action = 3;
*/
com.google.protobuf.ByteString
getActionBytes();
}
/**
* Protobuf type {@code sila2.org.silastandard.ValidationError}
*/
public static final class ValidationError extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:sila2.org.silastandard.ValidationError)
ValidationErrorOrBuilder {
private static final long serialVersionUID = 0L;
// Use ValidationError.newBuilder() to construct.
private ValidationError(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ValidationError() {
parameter_ = "";
cause_ = "";
action_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ValidationError(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
parameter_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
cause_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
action_ = 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 {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_ValidationError_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_ValidationError_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.ValidationError.class, sila2.org.silastandard.SiLAFramework.ValidationError.Builder.class);
}
public static final int PARAMETER_FIELD_NUMBER = 1;
private volatile java.lang.Object parameter_;
/**
* string parameter = 1;
*/
public java.lang.String getParameter() {
java.lang.Object ref = parameter_;
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();
parameter_ = s;
return s;
}
}
/**
* string parameter = 1;
*/
public com.google.protobuf.ByteString
getParameterBytes() {
java.lang.Object ref = parameter_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
parameter_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CAUSE_FIELD_NUMBER = 2;
private volatile java.lang.Object cause_;
/**
* string cause = 2;
*/
public java.lang.String getCause() {
java.lang.Object ref = cause_;
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();
cause_ = s;
return s;
}
}
/**
* string cause = 2;
*/
public com.google.protobuf.ByteString
getCauseBytes() {
java.lang.Object ref = cause_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cause_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ACTION_FIELD_NUMBER = 3;
private volatile java.lang.Object action_;
/**
* string action = 3;
*/
public java.lang.String getAction() {
java.lang.Object ref = action_;
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();
action_ = s;
return s;
}
}
/**
* string action = 3;
*/
public com.google.protobuf.ByteString
getActionBytes() {
java.lang.Object ref = action_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
action_ = 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 (!getParameterBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parameter_);
}
if (!getCauseBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, cause_);
}
if (!getActionBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, action_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getParameterBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parameter_);
}
if (!getCauseBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, cause_);
}
if (!getActionBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, action_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof sila2.org.silastandard.SiLAFramework.ValidationError)) {
return super.equals(obj);
}
sila2.org.silastandard.SiLAFramework.ValidationError other = (sila2.org.silastandard.SiLAFramework.ValidationError) obj;
boolean result = true;
result = result && getParameter()
.equals(other.getParameter());
result = result && getCause()
.equals(other.getCause());
result = result && getAction()
.equals(other.getAction());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + PARAMETER_FIELD_NUMBER;
hash = (53 * hash) + getParameter().hashCode();
hash = (37 * hash) + CAUSE_FIELD_NUMBER;
hash = (53 * hash) + getCause().hashCode();
hash = (37 * hash) + ACTION_FIELD_NUMBER;
hash = (53 * hash) + getAction().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static sila2.org.silastandard.SiLAFramework.ValidationError parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.ValidationError parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.ValidationError parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.ValidationError parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.ValidationError parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.ValidationError parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.ValidationError parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.ValidationError 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 sila2.org.silastandard.SiLAFramework.ValidationError parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.ValidationError 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 sila2.org.silastandard.SiLAFramework.ValidationError parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.ValidationError 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(sila2.org.silastandard.SiLAFramework.ValidationError 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 sila2.org.silastandard.ValidationError}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:sila2.org.silastandard.ValidationError)
sila2.org.silastandard.SiLAFramework.ValidationErrorOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_ValidationError_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_ValidationError_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.ValidationError.class, sila2.org.silastandard.SiLAFramework.ValidationError.Builder.class);
}
// Construct using sila2.org.silastandard.SiLAFramework.ValidationError.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();
parameter_ = "";
cause_ = "";
action_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_ValidationError_descriptor;
}
public sila2.org.silastandard.SiLAFramework.ValidationError getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.ValidationError.getDefaultInstance();
}
public sila2.org.silastandard.SiLAFramework.ValidationError build() {
sila2.org.silastandard.SiLAFramework.ValidationError result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public sila2.org.silastandard.SiLAFramework.ValidationError buildPartial() {
sila2.org.silastandard.SiLAFramework.ValidationError result = new sila2.org.silastandard.SiLAFramework.ValidationError(this);
result.parameter_ = parameter_;
result.cause_ = cause_;
result.action_ = action_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.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, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof sila2.org.silastandard.SiLAFramework.ValidationError) {
return mergeFrom((sila2.org.silastandard.SiLAFramework.ValidationError)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(sila2.org.silastandard.SiLAFramework.ValidationError other) {
if (other == sila2.org.silastandard.SiLAFramework.ValidationError.getDefaultInstance()) return this;
if (!other.getParameter().isEmpty()) {
parameter_ = other.parameter_;
onChanged();
}
if (!other.getCause().isEmpty()) {
cause_ = other.cause_;
onChanged();
}
if (!other.getAction().isEmpty()) {
action_ = other.action_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
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 {
sila2.org.silastandard.SiLAFramework.ValidationError parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (sila2.org.silastandard.SiLAFramework.ValidationError) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object parameter_ = "";
/**
* string parameter = 1;
*/
public java.lang.String getParameter() {
java.lang.Object ref = parameter_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
parameter_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string parameter = 1;
*/
public com.google.protobuf.ByteString
getParameterBytes() {
java.lang.Object ref = parameter_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
parameter_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string parameter = 1;
*/
public Builder setParameter(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
parameter_ = value;
onChanged();
return this;
}
/**
* string parameter = 1;
*/
public Builder clearParameter() {
parameter_ = getDefaultInstance().getParameter();
onChanged();
return this;
}
/**
* string parameter = 1;
*/
public Builder setParameterBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
parameter_ = value;
onChanged();
return this;
}
private java.lang.Object cause_ = "";
/**
* string cause = 2;
*/
public java.lang.String getCause() {
java.lang.Object ref = cause_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
cause_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string cause = 2;
*/
public com.google.protobuf.ByteString
getCauseBytes() {
java.lang.Object ref = cause_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cause_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string cause = 2;
*/
public Builder setCause(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
cause_ = value;
onChanged();
return this;
}
/**
* string cause = 2;
*/
public Builder clearCause() {
cause_ = getDefaultInstance().getCause();
onChanged();
return this;
}
/**
* string cause = 2;
*/
public Builder setCauseBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
cause_ = value;
onChanged();
return this;
}
private java.lang.Object action_ = "";
/**
* string action = 3;
*/
public java.lang.String getAction() {
java.lang.Object ref = action_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
action_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string action = 3;
*/
public com.google.protobuf.ByteString
getActionBytes() {
java.lang.Object ref = action_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
action_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string action = 3;
*/
public Builder setAction(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
action_ = value;
onChanged();
return this;
}
/**
* string action = 3;
*/
public Builder clearAction() {
action_ = getDefaultInstance().getAction();
onChanged();
return this;
}
/**
* string action = 3;
*/
public Builder setActionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
action_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:sila2.org.silastandard.ValidationError)
}
// @@protoc_insertion_point(class_scope:sila2.org.silastandard.ValidationError)
private static final sila2.org.silastandard.SiLAFramework.ValidationError DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new sila2.org.silastandard.SiLAFramework.ValidationError();
}
public static sila2.org.silastandard.SiLAFramework.ValidationError getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public ValidationError parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ValidationError(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public sila2.org.silastandard.SiLAFramework.ValidationError getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ExecutionErrorOrBuilder extends
// @@protoc_insertion_point(interface_extends:sila2.org.silastandard.ExecutionError)
com.google.protobuf.MessageOrBuilder {
/**
* string errorIdentifier = 1;
*/
java.lang.String getErrorIdentifier();
/**
* string errorIdentifier = 1;
*/
com.google.protobuf.ByteString
getErrorIdentifierBytes();
/**
* string cause = 2;
*/
java.lang.String getCause();
/**
* string cause = 2;
*/
com.google.protobuf.ByteString
getCauseBytes();
/**
* string action = 3;
*/
java.lang.String getAction();
/**
* string action = 3;
*/
com.google.protobuf.ByteString
getActionBytes();
/**
* string featureIdentifier = 4;
*/
java.lang.String getFeatureIdentifier();
/**
* string featureIdentifier = 4;
*/
com.google.protobuf.ByteString
getFeatureIdentifierBytes();
/**
* .sila2.org.silastandard.Any parameters = 5;
*/
boolean hasParameters();
/**
* .sila2.org.silastandard.Any parameters = 5;
*/
sila2.org.silastandard.SiLAFramework.Any getParameters();
/**
* .sila2.org.silastandard.Any parameters = 5;
*/
sila2.org.silastandard.SiLAFramework.AnyOrBuilder getParametersOrBuilder();
}
/**
* Protobuf type {@code sila2.org.silastandard.ExecutionError}
*/
public static final class ExecutionError extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:sila2.org.silastandard.ExecutionError)
ExecutionErrorOrBuilder {
private static final long serialVersionUID = 0L;
// Use ExecutionError.newBuilder() to construct.
private ExecutionError(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ExecutionError() {
errorIdentifier_ = "";
cause_ = "";
action_ = "";
featureIdentifier_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ExecutionError(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
errorIdentifier_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
cause_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
action_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
featureIdentifier_ = s;
break;
}
case 42: {
sila2.org.silastandard.SiLAFramework.Any.Builder subBuilder = null;
if (parameters_ != null) {
subBuilder = parameters_.toBuilder();
}
parameters_ = input.readMessage(sila2.org.silastandard.SiLAFramework.Any.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(parameters_);
parameters_ = 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 {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_ExecutionError_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_ExecutionError_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.ExecutionError.class, sila2.org.silastandard.SiLAFramework.ExecutionError.Builder.class);
}
public static final int ERRORIDENTIFIER_FIELD_NUMBER = 1;
private volatile java.lang.Object errorIdentifier_;
/**
* string errorIdentifier = 1;
*/
public java.lang.String getErrorIdentifier() {
java.lang.Object ref = errorIdentifier_;
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();
errorIdentifier_ = s;
return s;
}
}
/**
* string errorIdentifier = 1;
*/
public com.google.protobuf.ByteString
getErrorIdentifierBytes() {
java.lang.Object ref = errorIdentifier_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
errorIdentifier_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CAUSE_FIELD_NUMBER = 2;
private volatile java.lang.Object cause_;
/**
* string cause = 2;
*/
public java.lang.String getCause() {
java.lang.Object ref = cause_;
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();
cause_ = s;
return s;
}
}
/**
* string cause = 2;
*/
public com.google.protobuf.ByteString
getCauseBytes() {
java.lang.Object ref = cause_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cause_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ACTION_FIELD_NUMBER = 3;
private volatile java.lang.Object action_;
/**
* string action = 3;
*/
public java.lang.String getAction() {
java.lang.Object ref = action_;
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();
action_ = s;
return s;
}
}
/**
* string action = 3;
*/
public com.google.protobuf.ByteString
getActionBytes() {
java.lang.Object ref = action_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
action_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FEATUREIDENTIFIER_FIELD_NUMBER = 4;
private volatile java.lang.Object featureIdentifier_;
/**
* string featureIdentifier = 4;
*/
public java.lang.String getFeatureIdentifier() {
java.lang.Object ref = featureIdentifier_;
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();
featureIdentifier_ = s;
return s;
}
}
/**
* string featureIdentifier = 4;
*/
public com.google.protobuf.ByteString
getFeatureIdentifierBytes() {
java.lang.Object ref = featureIdentifier_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
featureIdentifier_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PARAMETERS_FIELD_NUMBER = 5;
private sila2.org.silastandard.SiLAFramework.Any parameters_;
/**
* .sila2.org.silastandard.Any parameters = 5;
*/
public boolean hasParameters() {
return parameters_ != null;
}
/**
* .sila2.org.silastandard.Any parameters = 5;
*/
public sila2.org.silastandard.SiLAFramework.Any getParameters() {
return parameters_ == null ? sila2.org.silastandard.SiLAFramework.Any.getDefaultInstance() : parameters_;
}
/**
* .sila2.org.silastandard.Any parameters = 5;
*/
public sila2.org.silastandard.SiLAFramework.AnyOrBuilder getParametersOrBuilder() {
return getParameters();
}
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 (!getErrorIdentifierBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, errorIdentifier_);
}
if (!getCauseBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, cause_);
}
if (!getActionBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, action_);
}
if (!getFeatureIdentifierBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, featureIdentifier_);
}
if (parameters_ != null) {
output.writeMessage(5, getParameters());
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getErrorIdentifierBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, errorIdentifier_);
}
if (!getCauseBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, cause_);
}
if (!getActionBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, action_);
}
if (!getFeatureIdentifierBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, featureIdentifier_);
}
if (parameters_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getParameters());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof sila2.org.silastandard.SiLAFramework.ExecutionError)) {
return super.equals(obj);
}
sila2.org.silastandard.SiLAFramework.ExecutionError other = (sila2.org.silastandard.SiLAFramework.ExecutionError) obj;
boolean result = true;
result = result && getErrorIdentifier()
.equals(other.getErrorIdentifier());
result = result && getCause()
.equals(other.getCause());
result = result && getAction()
.equals(other.getAction());
result = result && getFeatureIdentifier()
.equals(other.getFeatureIdentifier());
result = result && (hasParameters() == other.hasParameters());
if (hasParameters()) {
result = result && getParameters()
.equals(other.getParameters());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ERRORIDENTIFIER_FIELD_NUMBER;
hash = (53 * hash) + getErrorIdentifier().hashCode();
hash = (37 * hash) + CAUSE_FIELD_NUMBER;
hash = (53 * hash) + getCause().hashCode();
hash = (37 * hash) + ACTION_FIELD_NUMBER;
hash = (53 * hash) + getAction().hashCode();
hash = (37 * hash) + FEATUREIDENTIFIER_FIELD_NUMBER;
hash = (53 * hash) + getFeatureIdentifier().hashCode();
if (hasParameters()) {
hash = (37 * hash) + PARAMETERS_FIELD_NUMBER;
hash = (53 * hash) + getParameters().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static sila2.org.silastandard.SiLAFramework.ExecutionError parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.ExecutionError parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.ExecutionError parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.ExecutionError parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.ExecutionError parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.ExecutionError parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.ExecutionError parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.ExecutionError 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 sila2.org.silastandard.SiLAFramework.ExecutionError parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.ExecutionError 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 sila2.org.silastandard.SiLAFramework.ExecutionError parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.ExecutionError 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(sila2.org.silastandard.SiLAFramework.ExecutionError 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 sila2.org.silastandard.ExecutionError}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:sila2.org.silastandard.ExecutionError)
sila2.org.silastandard.SiLAFramework.ExecutionErrorOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_ExecutionError_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_ExecutionError_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.ExecutionError.class, sila2.org.silastandard.SiLAFramework.ExecutionError.Builder.class);
}
// Construct using sila2.org.silastandard.SiLAFramework.ExecutionError.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();
errorIdentifier_ = "";
cause_ = "";
action_ = "";
featureIdentifier_ = "";
if (parametersBuilder_ == null) {
parameters_ = null;
} else {
parameters_ = null;
parametersBuilder_ = null;
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_ExecutionError_descriptor;
}
public sila2.org.silastandard.SiLAFramework.ExecutionError getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.ExecutionError.getDefaultInstance();
}
public sila2.org.silastandard.SiLAFramework.ExecutionError build() {
sila2.org.silastandard.SiLAFramework.ExecutionError result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public sila2.org.silastandard.SiLAFramework.ExecutionError buildPartial() {
sila2.org.silastandard.SiLAFramework.ExecutionError result = new sila2.org.silastandard.SiLAFramework.ExecutionError(this);
result.errorIdentifier_ = errorIdentifier_;
result.cause_ = cause_;
result.action_ = action_;
result.featureIdentifier_ = featureIdentifier_;
if (parametersBuilder_ == null) {
result.parameters_ = parameters_;
} else {
result.parameters_ = parametersBuilder_.build();
}
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.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, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof sila2.org.silastandard.SiLAFramework.ExecutionError) {
return mergeFrom((sila2.org.silastandard.SiLAFramework.ExecutionError)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(sila2.org.silastandard.SiLAFramework.ExecutionError other) {
if (other == sila2.org.silastandard.SiLAFramework.ExecutionError.getDefaultInstance()) return this;
if (!other.getErrorIdentifier().isEmpty()) {
errorIdentifier_ = other.errorIdentifier_;
onChanged();
}
if (!other.getCause().isEmpty()) {
cause_ = other.cause_;
onChanged();
}
if (!other.getAction().isEmpty()) {
action_ = other.action_;
onChanged();
}
if (!other.getFeatureIdentifier().isEmpty()) {
featureIdentifier_ = other.featureIdentifier_;
onChanged();
}
if (other.hasParameters()) {
mergeParameters(other.getParameters());
}
this.mergeUnknownFields(other.unknownFields);
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 {
sila2.org.silastandard.SiLAFramework.ExecutionError parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (sila2.org.silastandard.SiLAFramework.ExecutionError) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object errorIdentifier_ = "";
/**
* string errorIdentifier = 1;
*/
public java.lang.String getErrorIdentifier() {
java.lang.Object ref = errorIdentifier_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
errorIdentifier_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string errorIdentifier = 1;
*/
public com.google.protobuf.ByteString
getErrorIdentifierBytes() {
java.lang.Object ref = errorIdentifier_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
errorIdentifier_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string errorIdentifier = 1;
*/
public Builder setErrorIdentifier(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
errorIdentifier_ = value;
onChanged();
return this;
}
/**
* string errorIdentifier = 1;
*/
public Builder clearErrorIdentifier() {
errorIdentifier_ = getDefaultInstance().getErrorIdentifier();
onChanged();
return this;
}
/**
* string errorIdentifier = 1;
*/
public Builder setErrorIdentifierBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
errorIdentifier_ = value;
onChanged();
return this;
}
private java.lang.Object cause_ = "";
/**
* string cause = 2;
*/
public java.lang.String getCause() {
java.lang.Object ref = cause_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
cause_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string cause = 2;
*/
public com.google.protobuf.ByteString
getCauseBytes() {
java.lang.Object ref = cause_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cause_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string cause = 2;
*/
public Builder setCause(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
cause_ = value;
onChanged();
return this;
}
/**
* string cause = 2;
*/
public Builder clearCause() {
cause_ = getDefaultInstance().getCause();
onChanged();
return this;
}
/**
* string cause = 2;
*/
public Builder setCauseBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
cause_ = value;
onChanged();
return this;
}
private java.lang.Object action_ = "";
/**
* string action = 3;
*/
public java.lang.String getAction() {
java.lang.Object ref = action_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
action_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string action = 3;
*/
public com.google.protobuf.ByteString
getActionBytes() {
java.lang.Object ref = action_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
action_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string action = 3;
*/
public Builder setAction(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
action_ = value;
onChanged();
return this;
}
/**
* string action = 3;
*/
public Builder clearAction() {
action_ = getDefaultInstance().getAction();
onChanged();
return this;
}
/**
* string action = 3;
*/
public Builder setActionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
action_ = value;
onChanged();
return this;
}
private java.lang.Object featureIdentifier_ = "";
/**
* string featureIdentifier = 4;
*/
public java.lang.String getFeatureIdentifier() {
java.lang.Object ref = featureIdentifier_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
featureIdentifier_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string featureIdentifier = 4;
*/
public com.google.protobuf.ByteString
getFeatureIdentifierBytes() {
java.lang.Object ref = featureIdentifier_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
featureIdentifier_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string featureIdentifier = 4;
*/
public Builder setFeatureIdentifier(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
featureIdentifier_ = value;
onChanged();
return this;
}
/**
* string featureIdentifier = 4;
*/
public Builder clearFeatureIdentifier() {
featureIdentifier_ = getDefaultInstance().getFeatureIdentifier();
onChanged();
return this;
}
/**
* string featureIdentifier = 4;
*/
public Builder setFeatureIdentifierBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
featureIdentifier_ = value;
onChanged();
return this;
}
private sila2.org.silastandard.SiLAFramework.Any parameters_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.Any, sila2.org.silastandard.SiLAFramework.Any.Builder, sila2.org.silastandard.SiLAFramework.AnyOrBuilder> parametersBuilder_;
/**
* .sila2.org.silastandard.Any parameters = 5;
*/
public boolean hasParameters() {
return parametersBuilder_ != null || parameters_ != null;
}
/**
* .sila2.org.silastandard.Any parameters = 5;
*/
public sila2.org.silastandard.SiLAFramework.Any getParameters() {
if (parametersBuilder_ == null) {
return parameters_ == null ? sila2.org.silastandard.SiLAFramework.Any.getDefaultInstance() : parameters_;
} else {
return parametersBuilder_.getMessage();
}
}
/**
* .sila2.org.silastandard.Any parameters = 5;
*/
public Builder setParameters(sila2.org.silastandard.SiLAFramework.Any value) {
if (parametersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
parameters_ = value;
onChanged();
} else {
parametersBuilder_.setMessage(value);
}
return this;
}
/**
* .sila2.org.silastandard.Any parameters = 5;
*/
public Builder setParameters(
sila2.org.silastandard.SiLAFramework.Any.Builder builderForValue) {
if (parametersBuilder_ == null) {
parameters_ = builderForValue.build();
onChanged();
} else {
parametersBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .sila2.org.silastandard.Any parameters = 5;
*/
public Builder mergeParameters(sila2.org.silastandard.SiLAFramework.Any value) {
if (parametersBuilder_ == null) {
if (parameters_ != null) {
parameters_ =
sila2.org.silastandard.SiLAFramework.Any.newBuilder(parameters_).mergeFrom(value).buildPartial();
} else {
parameters_ = value;
}
onChanged();
} else {
parametersBuilder_.mergeFrom(value);
}
return this;
}
/**
* .sila2.org.silastandard.Any parameters = 5;
*/
public Builder clearParameters() {
if (parametersBuilder_ == null) {
parameters_ = null;
onChanged();
} else {
parameters_ = null;
parametersBuilder_ = null;
}
return this;
}
/**
* .sila2.org.silastandard.Any parameters = 5;
*/
public sila2.org.silastandard.SiLAFramework.Any.Builder getParametersBuilder() {
onChanged();
return getParametersFieldBuilder().getBuilder();
}
/**
* .sila2.org.silastandard.Any parameters = 5;
*/
public sila2.org.silastandard.SiLAFramework.AnyOrBuilder getParametersOrBuilder() {
if (parametersBuilder_ != null) {
return parametersBuilder_.getMessageOrBuilder();
} else {
return parameters_ == null ?
sila2.org.silastandard.SiLAFramework.Any.getDefaultInstance() : parameters_;
}
}
/**
* .sila2.org.silastandard.Any parameters = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.Any, sila2.org.silastandard.SiLAFramework.Any.Builder, sila2.org.silastandard.SiLAFramework.AnyOrBuilder>
getParametersFieldBuilder() {
if (parametersBuilder_ == null) {
parametersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.Any, sila2.org.silastandard.SiLAFramework.Any.Builder, sila2.org.silastandard.SiLAFramework.AnyOrBuilder>(
getParameters(),
getParentForChildren(),
isClean());
parameters_ = null;
}
return parametersBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:sila2.org.silastandard.ExecutionError)
}
// @@protoc_insertion_point(class_scope:sila2.org.silastandard.ExecutionError)
private static final sila2.org.silastandard.SiLAFramework.ExecutionError DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new sila2.org.silastandard.SiLAFramework.ExecutionError();
}
public static sila2.org.silastandard.SiLAFramework.ExecutionError getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public ExecutionError parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ExecutionError(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public sila2.org.silastandard.SiLAFramework.ExecutionError getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ReadErrorOrBuilder extends
// @@protoc_insertion_point(interface_extends:sila2.org.silastandard.ReadError)
com.google.protobuf.MessageOrBuilder {
/**
* string errorIdentifier = 1;
*/
java.lang.String getErrorIdentifier();
/**
* string errorIdentifier = 1;
*/
com.google.protobuf.ByteString
getErrorIdentifierBytes();
/**
* string cause = 2;
*/
java.lang.String getCause();
/**
* string cause = 2;
*/
com.google.protobuf.ByteString
getCauseBytes();
/**
* string featureIdentifier = 3;
*/
java.lang.String getFeatureIdentifier();
/**
* string featureIdentifier = 3;
*/
com.google.protobuf.ByteString
getFeatureIdentifierBytes();
}
/**
* Protobuf type {@code sila2.org.silastandard.ReadError}
*/
public static final class ReadError extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:sila2.org.silastandard.ReadError)
ReadErrorOrBuilder {
private static final long serialVersionUID = 0L;
// Use ReadError.newBuilder() to construct.
private ReadError(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ReadError() {
errorIdentifier_ = "";
cause_ = "";
featureIdentifier_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ReadError(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
errorIdentifier_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
cause_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
featureIdentifier_ = 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 {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_ReadError_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_ReadError_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.ReadError.class, sila2.org.silastandard.SiLAFramework.ReadError.Builder.class);
}
public static final int ERRORIDENTIFIER_FIELD_NUMBER = 1;
private volatile java.lang.Object errorIdentifier_;
/**
* string errorIdentifier = 1;
*/
public java.lang.String getErrorIdentifier() {
java.lang.Object ref = errorIdentifier_;
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();
errorIdentifier_ = s;
return s;
}
}
/**
* string errorIdentifier = 1;
*/
public com.google.protobuf.ByteString
getErrorIdentifierBytes() {
java.lang.Object ref = errorIdentifier_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
errorIdentifier_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CAUSE_FIELD_NUMBER = 2;
private volatile java.lang.Object cause_;
/**
* string cause = 2;
*/
public java.lang.String getCause() {
java.lang.Object ref = cause_;
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();
cause_ = s;
return s;
}
}
/**
* string cause = 2;
*/
public com.google.protobuf.ByteString
getCauseBytes() {
java.lang.Object ref = cause_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cause_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FEATUREIDENTIFIER_FIELD_NUMBER = 3;
private volatile java.lang.Object featureIdentifier_;
/**
* string featureIdentifier = 3;
*/
public java.lang.String getFeatureIdentifier() {
java.lang.Object ref = featureIdentifier_;
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();
featureIdentifier_ = s;
return s;
}
}
/**
* string featureIdentifier = 3;
*/
public com.google.protobuf.ByteString
getFeatureIdentifierBytes() {
java.lang.Object ref = featureIdentifier_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
featureIdentifier_ = 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 (!getErrorIdentifierBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, errorIdentifier_);
}
if (!getCauseBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, cause_);
}
if (!getFeatureIdentifierBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, featureIdentifier_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getErrorIdentifierBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, errorIdentifier_);
}
if (!getCauseBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, cause_);
}
if (!getFeatureIdentifierBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, featureIdentifier_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof sila2.org.silastandard.SiLAFramework.ReadError)) {
return super.equals(obj);
}
sila2.org.silastandard.SiLAFramework.ReadError other = (sila2.org.silastandard.SiLAFramework.ReadError) obj;
boolean result = true;
result = result && getErrorIdentifier()
.equals(other.getErrorIdentifier());
result = result && getCause()
.equals(other.getCause());
result = result && getFeatureIdentifier()
.equals(other.getFeatureIdentifier());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ERRORIDENTIFIER_FIELD_NUMBER;
hash = (53 * hash) + getErrorIdentifier().hashCode();
hash = (37 * hash) + CAUSE_FIELD_NUMBER;
hash = (53 * hash) + getCause().hashCode();
hash = (37 * hash) + FEATUREIDENTIFIER_FIELD_NUMBER;
hash = (53 * hash) + getFeatureIdentifier().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static sila2.org.silastandard.SiLAFramework.ReadError parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.ReadError parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.ReadError parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.ReadError parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.ReadError parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.ReadError parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.ReadError parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.ReadError 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 sila2.org.silastandard.SiLAFramework.ReadError parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.ReadError 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 sila2.org.silastandard.SiLAFramework.ReadError parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.ReadError 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(sila2.org.silastandard.SiLAFramework.ReadError 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 sila2.org.silastandard.ReadError}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:sila2.org.silastandard.ReadError)
sila2.org.silastandard.SiLAFramework.ReadErrorOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_ReadError_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_ReadError_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.ReadError.class, sila2.org.silastandard.SiLAFramework.ReadError.Builder.class);
}
// Construct using sila2.org.silastandard.SiLAFramework.ReadError.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();
errorIdentifier_ = "";
cause_ = "";
featureIdentifier_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_ReadError_descriptor;
}
public sila2.org.silastandard.SiLAFramework.ReadError getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.ReadError.getDefaultInstance();
}
public sila2.org.silastandard.SiLAFramework.ReadError build() {
sila2.org.silastandard.SiLAFramework.ReadError result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public sila2.org.silastandard.SiLAFramework.ReadError buildPartial() {
sila2.org.silastandard.SiLAFramework.ReadError result = new sila2.org.silastandard.SiLAFramework.ReadError(this);
result.errorIdentifier_ = errorIdentifier_;
result.cause_ = cause_;
result.featureIdentifier_ = featureIdentifier_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.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, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof sila2.org.silastandard.SiLAFramework.ReadError) {
return mergeFrom((sila2.org.silastandard.SiLAFramework.ReadError)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(sila2.org.silastandard.SiLAFramework.ReadError other) {
if (other == sila2.org.silastandard.SiLAFramework.ReadError.getDefaultInstance()) return this;
if (!other.getErrorIdentifier().isEmpty()) {
errorIdentifier_ = other.errorIdentifier_;
onChanged();
}
if (!other.getCause().isEmpty()) {
cause_ = other.cause_;
onChanged();
}
if (!other.getFeatureIdentifier().isEmpty()) {
featureIdentifier_ = other.featureIdentifier_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
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 {
sila2.org.silastandard.SiLAFramework.ReadError parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (sila2.org.silastandard.SiLAFramework.ReadError) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object errorIdentifier_ = "";
/**
* string errorIdentifier = 1;
*/
public java.lang.String getErrorIdentifier() {
java.lang.Object ref = errorIdentifier_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
errorIdentifier_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string errorIdentifier = 1;
*/
public com.google.protobuf.ByteString
getErrorIdentifierBytes() {
java.lang.Object ref = errorIdentifier_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
errorIdentifier_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string errorIdentifier = 1;
*/
public Builder setErrorIdentifier(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
errorIdentifier_ = value;
onChanged();
return this;
}
/**
* string errorIdentifier = 1;
*/
public Builder clearErrorIdentifier() {
errorIdentifier_ = getDefaultInstance().getErrorIdentifier();
onChanged();
return this;
}
/**
* string errorIdentifier = 1;
*/
public Builder setErrorIdentifierBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
errorIdentifier_ = value;
onChanged();
return this;
}
private java.lang.Object cause_ = "";
/**
* string cause = 2;
*/
public java.lang.String getCause() {
java.lang.Object ref = cause_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
cause_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string cause = 2;
*/
public com.google.protobuf.ByteString
getCauseBytes() {
java.lang.Object ref = cause_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cause_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string cause = 2;
*/
public Builder setCause(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
cause_ = value;
onChanged();
return this;
}
/**
* string cause = 2;
*/
public Builder clearCause() {
cause_ = getDefaultInstance().getCause();
onChanged();
return this;
}
/**
* string cause = 2;
*/
public Builder setCauseBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
cause_ = value;
onChanged();
return this;
}
private java.lang.Object featureIdentifier_ = "";
/**
* string featureIdentifier = 3;
*/
public java.lang.String getFeatureIdentifier() {
java.lang.Object ref = featureIdentifier_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
featureIdentifier_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string featureIdentifier = 3;
*/
public com.google.protobuf.ByteString
getFeatureIdentifierBytes() {
java.lang.Object ref = featureIdentifier_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
featureIdentifier_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string featureIdentifier = 3;
*/
public Builder setFeatureIdentifier(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
featureIdentifier_ = value;
onChanged();
return this;
}
/**
* string featureIdentifier = 3;
*/
public Builder clearFeatureIdentifier() {
featureIdentifier_ = getDefaultInstance().getFeatureIdentifier();
onChanged();
return this;
}
/**
* string featureIdentifier = 3;
*/
public Builder setFeatureIdentifierBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
featureIdentifier_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:sila2.org.silastandard.ReadError)
}
// @@protoc_insertion_point(class_scope:sila2.org.silastandard.ReadError)
private static final sila2.org.silastandard.SiLAFramework.ReadError DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new sila2.org.silastandard.SiLAFramework.ReadError();
}
public static sila2.org.silastandard.SiLAFramework.ReadError getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public ReadError parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ReadError(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public sila2.org.silastandard.SiLAFramework.ReadError getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface FrameworkErrorOrBuilder extends
// @@protoc_insertion_point(interface_extends:sila2.org.silastandard.FrameworkError)
com.google.protobuf.MessageOrBuilder {
/**
* .sila2.org.silastandard.FrameworkError.ErrorType errorType = 1;
*/
int getErrorTypeValue();
/**
* .sila2.org.silastandard.FrameworkError.ErrorType errorType = 1;
*/
sila2.org.silastandard.SiLAFramework.FrameworkError.ErrorType getErrorType();
}
/**
* Protobuf type {@code sila2.org.silastandard.FrameworkError}
*/
public static final class FrameworkError extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:sila2.org.silastandard.FrameworkError)
FrameworkErrorOrBuilder {
private static final long serialVersionUID = 0L;
// Use FrameworkError.newBuilder() to construct.
private FrameworkError(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private FrameworkError() {
errorType_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FrameworkError(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
int rawValue = input.readEnum();
errorType_ = rawValue;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_FrameworkError_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_FrameworkError_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.FrameworkError.class, sila2.org.silastandard.SiLAFramework.FrameworkError.Builder.class);
}
/**
* Protobuf enum {@code sila2.org.silastandard.FrameworkError.ErrorType}
*/
public enum ErrorType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* INVALID_COMMAND_EXECUTION_UUID = 0;
*/
INVALID_COMMAND_EXECUTION_UUID(0),
/**
* COMMAND_EXECUTION_NOT_FINISHED = 1;
*/
COMMAND_EXECUTION_NOT_FINISHED(1),
/**
* MISSING_METADATA = 2;
*/
MISSING_METADATA(2),
UNRECOGNIZED(-1),
;
/**
* INVALID_COMMAND_EXECUTION_UUID = 0;
*/
public static final int INVALID_COMMAND_EXECUTION_UUID_VALUE = 0;
/**
* COMMAND_EXECUTION_NOT_FINISHED = 1;
*/
public static final int COMMAND_EXECUTION_NOT_FINISHED_VALUE = 1;
/**
* MISSING_METADATA = 2;
*/
public static final int MISSING_METADATA_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 ErrorType valueOf(int value) {
return forNumber(value);
}
public static ErrorType forNumber(int value) {
switch (value) {
case 0: return INVALID_COMMAND_EXECUTION_UUID;
case 1: return COMMAND_EXECUTION_NOT_FINISHED;
case 2: return MISSING_METADATA;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ErrorType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public ErrorType findValueByNumber(int number) {
return ErrorType.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 sila2.org.silastandard.SiLAFramework.FrameworkError.getDescriptor().getEnumTypes().get(0);
}
private static final ErrorType[] VALUES = values();
public static ErrorType 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 ErrorType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:sila2.org.silastandard.FrameworkError.ErrorType)
}
public static final int ERRORTYPE_FIELD_NUMBER = 1;
private int errorType_;
/**
* .sila2.org.silastandard.FrameworkError.ErrorType errorType = 1;
*/
public int getErrorTypeValue() {
return errorType_;
}
/**
* .sila2.org.silastandard.FrameworkError.ErrorType errorType = 1;
*/
public sila2.org.silastandard.SiLAFramework.FrameworkError.ErrorType getErrorType() {
sila2.org.silastandard.SiLAFramework.FrameworkError.ErrorType result = sila2.org.silastandard.SiLAFramework.FrameworkError.ErrorType.valueOf(errorType_);
return result == null ? sila2.org.silastandard.SiLAFramework.FrameworkError.ErrorType.UNRECOGNIZED : result;
}
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 (errorType_ != sila2.org.silastandard.SiLAFramework.FrameworkError.ErrorType.INVALID_COMMAND_EXECUTION_UUID.getNumber()) {
output.writeEnum(1, errorType_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (errorType_ != sila2.org.silastandard.SiLAFramework.FrameworkError.ErrorType.INVALID_COMMAND_EXECUTION_UUID.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, errorType_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof sila2.org.silastandard.SiLAFramework.FrameworkError)) {
return super.equals(obj);
}
sila2.org.silastandard.SiLAFramework.FrameworkError other = (sila2.org.silastandard.SiLAFramework.FrameworkError) obj;
boolean result = true;
result = result && errorType_ == other.errorType_;
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ERRORTYPE_FIELD_NUMBER;
hash = (53 * hash) + errorType_;
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static sila2.org.silastandard.SiLAFramework.FrameworkError parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.FrameworkError parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.FrameworkError parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.FrameworkError parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.FrameworkError parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.FrameworkError parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.FrameworkError parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.FrameworkError 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 sila2.org.silastandard.SiLAFramework.FrameworkError parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.FrameworkError 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 sila2.org.silastandard.SiLAFramework.FrameworkError parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.FrameworkError 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(sila2.org.silastandard.SiLAFramework.FrameworkError 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 sila2.org.silastandard.FrameworkError}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:sila2.org.silastandard.FrameworkError)
sila2.org.silastandard.SiLAFramework.FrameworkErrorOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_FrameworkError_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_FrameworkError_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.FrameworkError.class, sila2.org.silastandard.SiLAFramework.FrameworkError.Builder.class);
}
// Construct using sila2.org.silastandard.SiLAFramework.FrameworkError.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();
errorType_ = 0;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_FrameworkError_descriptor;
}
public sila2.org.silastandard.SiLAFramework.FrameworkError getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.FrameworkError.getDefaultInstance();
}
public sila2.org.silastandard.SiLAFramework.FrameworkError build() {
sila2.org.silastandard.SiLAFramework.FrameworkError result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public sila2.org.silastandard.SiLAFramework.FrameworkError buildPartial() {
sila2.org.silastandard.SiLAFramework.FrameworkError result = new sila2.org.silastandard.SiLAFramework.FrameworkError(this);
result.errorType_ = errorType_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.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, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof sila2.org.silastandard.SiLAFramework.FrameworkError) {
return mergeFrom((sila2.org.silastandard.SiLAFramework.FrameworkError)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(sila2.org.silastandard.SiLAFramework.FrameworkError other) {
if (other == sila2.org.silastandard.SiLAFramework.FrameworkError.getDefaultInstance()) return this;
if (other.errorType_ != 0) {
setErrorTypeValue(other.getErrorTypeValue());
}
this.mergeUnknownFields(other.unknownFields);
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 {
sila2.org.silastandard.SiLAFramework.FrameworkError parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (sila2.org.silastandard.SiLAFramework.FrameworkError) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int errorType_ = 0;
/**
* .sila2.org.silastandard.FrameworkError.ErrorType errorType = 1;
*/
public int getErrorTypeValue() {
return errorType_;
}
/**
* .sila2.org.silastandard.FrameworkError.ErrorType errorType = 1;
*/
public Builder setErrorTypeValue(int value) {
errorType_ = value;
onChanged();
return this;
}
/**
* .sila2.org.silastandard.FrameworkError.ErrorType errorType = 1;
*/
public sila2.org.silastandard.SiLAFramework.FrameworkError.ErrorType getErrorType() {
sila2.org.silastandard.SiLAFramework.FrameworkError.ErrorType result = sila2.org.silastandard.SiLAFramework.FrameworkError.ErrorType.valueOf(errorType_);
return result == null ? sila2.org.silastandard.SiLAFramework.FrameworkError.ErrorType.UNRECOGNIZED : result;
}
/**
* .sila2.org.silastandard.FrameworkError.ErrorType errorType = 1;
*/
public Builder setErrorType(sila2.org.silastandard.SiLAFramework.FrameworkError.ErrorType value) {
if (value == null) {
throw new NullPointerException();
}
errorType_ = value.getNumber();
onChanged();
return this;
}
/**
* .sila2.org.silastandard.FrameworkError.ErrorType errorType = 1;
*/
public Builder clearErrorType() {
errorType_ = 0;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:sila2.org.silastandard.FrameworkError)
}
// @@protoc_insertion_point(class_scope:sila2.org.silastandard.FrameworkError)
private static final sila2.org.silastandard.SiLAFramework.FrameworkError DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new sila2.org.silastandard.SiLAFramework.FrameworkError();
}
public static sila2.org.silastandard.SiLAFramework.FrameworkError getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public FrameworkError parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new FrameworkError(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public sila2.org.silastandard.SiLAFramework.FrameworkError getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_sila2_org_silastandard_String_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_sila2_org_silastandard_String_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_sila2_org_silastandard_Integer_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_sila2_org_silastandard_Integer_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_sila2_org_silastandard_Real_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_sila2_org_silastandard_Real_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_sila2_org_silastandard_Boolean_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_sila2_org_silastandard_Boolean_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_sila2_org_silastandard_SmallBinary_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_sila2_org_silastandard_SmallBinary_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_sila2_org_silastandard_LargeBinary_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_sila2_org_silastandard_LargeBinary_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_sila2_org_silastandard_Date_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_sila2_org_silastandard_Date_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_sila2_org_silastandard_Time_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_sila2_org_silastandard_Time_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_sila2_org_silastandard_Timestamp_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_sila2_org_silastandard_Timestamp_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_sila2_org_silastandard_Timezone_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_sila2_org_silastandard_Timezone_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_sila2_org_silastandard_Any_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_sila2_org_silastandard_Any_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_sila2_org_silastandard_ListType_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_sila2_org_silastandard_ListType_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_sila2_org_silastandard_StructureType_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_sila2_org_silastandard_StructureType_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_sila2_org_silastandard_StructureType_Element_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_sila2_org_silastandard_StructureType_Element_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_sila2_org_silastandard_SiLAType_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_sila2_org_silastandard_SiLAType_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_sila2_org_silastandard_Duration_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_sila2_org_silastandard_Duration_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_sila2_org_silastandard_CommandExecutionUUID_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_sila2_org_silastandard_CommandExecutionUUID_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_sila2_org_silastandard_CommandConfirmation_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_sila2_org_silastandard_CommandConfirmation_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_sila2_org_silastandard_ExecutionInfo_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_sila2_org_silastandard_ExecutionInfo_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_sila2_org_silastandard_SiLAError_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_sila2_org_silastandard_SiLAError_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_sila2_org_silastandard_ValidationError_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_sila2_org_silastandard_ValidationError_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_sila2_org_silastandard_ExecutionError_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_sila2_org_silastandard_ExecutionError_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_sila2_org_silastandard_ReadError_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_sila2_org_silastandard_ReadError_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_sila2_org_silastandard_FrameworkError_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_sila2_org_silastandard_FrameworkError_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\023SiLAFramework.proto\022\026sila2.org.silasta" +
"ndard\"\027\n\006String\022\r\n\005value\030\001 \001(\t\"\030\n\007Intege" +
"r\022\r\n\005value\030\001 \001(\003\"\025\n\004Real\022\r\n\005value\030\001 \001(\001\"" +
"\030\n\007Boolean\022\r\n\005value\030\001 \001(\010\"\034\n\013SmallBinary" +
"\022\r\n\005value\030\001 \001(\014\"\'\n\013LargeBinary\022\030\n\020binary" +
"Identifier\030\001 \001(\t\"d\n\004Date\022\013\n\003day\030\001 \001(\r\022\r\n" +
"\005month\030\002 \001(\r\022\014\n\004year\030\003 \001(\r\0222\n\010timezone\030\004" +
" \001(\0132 .sila2.org.silastandard.Timezone\"h" +
"\n\004Time\022\016\n\006second\030\001 \001(\r\022\016\n\006minute\030\002 \001(\r\022\014" +
"\n\004hour\030\003 \001(\r\0222\n\010timezone\030\004 \001(\0132 .sila2.o",
"rg.silastandard.Timezone\"\227\001\n\tTimestamp\022\016" +
"\n\006second\030\001 \001(\r\022\016\n\006minute\030\002 \001(\r\022\014\n\004hour\030\003" +
" \001(\r\022\013\n\003day\030\004 \001(\r\022\r\n\005month\030\005 \001(\r\022\014\n\004year" +
"\030\006 \001(\r\0222\n\010timezone\030\007 \001(\0132 .sila2.org.sil" +
"astandard.Timezone\"*\n\010Timezone\022\r\n\005hours\030" +
"\001 \001(\005\022\017\n\007minutes\030\002 \001(\r\"F\n\003Any\022.\n\004type\030\001 " +
"\001(\0132 .sila2.org.silastandard.SiLAType\022\017\n" +
"\007payload\030\002 \001(\014\">\n\010ListType\0222\n\010silaType\030\001" +
" \001(\0132 .sila2.org.silastandard.SiLAType\"\277" +
"\001\n\rStructureType\022?\n\010elements\030\001 \003(\0132-.sil",
"a2.org.silastandard.StructureType.Elemen" +
"t\032m\n\007Element\0222\n\nidentifier\030\001 \001(\0132\036.sila2" +
".org.silastandard.String\022.\n\004type\030\002 \001(\0132 " +
".sila2.org.silastandard.SiLAType\"\304\001\n\010SiL" +
"AType\0226\n\tbasicType\030\001 \001(\0162!.sila2.org.sil" +
"astandard.BasicTypeH\000\0224\n\010listType\030\002 \001(\0132" +
" .sila2.org.silastandard.ListTypeH\000\022>\n\rs" +
"tructureType\030\003 \001(\0132%.sila2.org.silastand" +
"ard.StructureTypeH\000B\n\n\010dataType\"*\n\010Durat" +
"ion\022\017\n\007seconds\030\001 \001(\003\022\r\n\005nanos\030\002 \001(\005\")\n\024C",
"ommandExecutionUUID\022\021\n\tcommandId\030\001 \001(\t\"\225" +
"\001\n\023CommandConfirmation\022?\n\tcommandId\030\001 \001(" +
"\0132,.sila2.org.silastandard.CommandExecut" +
"ionUUID\022=\n\023lifetimeOfExecution\030\002 \001(\0132 .s" +
"ila2.org.silastandard.Duration\"\363\002\n\rExecu" +
"tionInfo\022J\n\rcommandStatus\030\001 \001(\01623.sila2." +
"org.silastandard.ExecutionInfo.CommandSt" +
"atus\0222\n\014progressInfo\030\002 \001(\0132\034.sila2.org.s" +
"ilastandard.Real\022@\n\026estimatedRemainingTi" +
"me\030\003 \001(\0132 .sila2.org.silastandard.Durati",
"on\022D\n\032updatedLifetimeOfExecution\030\004 \001(\0132 " +
".sila2.org.silastandard.Duration\"Z\n\rComm" +
"andStatus\022\013\n\007waiting\020\000\022\013\n\007running\020\001\022\030\n\024f" +
"inishedSuccessfully\020\002\022\025\n\021finishedWithErr" +
"or\020\003\"\224\002\n\tSiLAError\022B\n\017validationError\030\001 " +
"\001(\0132\'.sila2.org.silastandard.ValidationE" +
"rrorH\000\022@\n\016executionError\030\002 \001(\0132&.sila2.o" +
"rg.silastandard.ExecutionErrorH\000\0226\n\tread" +
"Error\030\003 \001(\0132!.sila2.org.silastandard.Rea" +
"dErrorH\000\022@\n\016frameworkError\030\004 \001(\0132&.sila2",
".org.silastandard.FrameworkErrorH\000B\007\n\005er" +
"ror\"C\n\017ValidationError\022\021\n\tparameter\030\001 \001(" +
"\t\022\r\n\005cause\030\002 \001(\t\022\016\n\006action\030\003 \001(\t\"\224\001\n\016Exe" +
"cutionError\022\027\n\017errorIdentifier\030\001 \001(\t\022\r\n\005" +
"cause\030\002 \001(\t\022\016\n\006action\030\003 \001(\t\022\031\n\021featureId" +
"entifier\030\004 \001(\t\022/\n\nparameters\030\005 \001(\0132\033.sil" +
"a2.org.silastandard.Any\"N\n\tReadError\022\027\n\017" +
"errorIdentifier\030\001 \001(\t\022\r\n\005cause\030\002 \001(\t\022\031\n\021" +
"featureIdentifier\030\003 \001(\t\"\300\001\n\016FrameworkErr" +
"or\022C\n\terrorType\030\001 \001(\01620.sila2.org.silast",
"andard.FrameworkError.ErrorType\"i\n\tError" +
"Type\022\"\n\036INVALID_COMMAND_EXECUTION_UUID\020\000" +
"\022\"\n\036COMMAND_EXECUTION_NOT_FINISHED\020\001\022\024\n\020" +
"MISSING_METADATA\020\002*\203\001\n\tBasicType\022\n\n\006STRI" +
"NG\020\000\022\013\n\007INTEGER\020\001\022\010\n\004REAL\020\002\022\013\n\007BOOLEAN\020\003" +
"\022\020\n\014SMALL_BINARY\020\004\022\020\n\014LARGE_BINARY\020\005\022\010\n\004" +
"DATE\020\006\022\010\n\004TIME\020\007\022\016\n\nTIME_STAMP\020\010B\017B\rSiLA" +
"Frameworkb\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[] {
}, assigner);
internal_static_sila2_org_silastandard_String_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_sila2_org_silastandard_String_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_sila2_org_silastandard_String_descriptor,
new java.lang.String[] { "Value", });
internal_static_sila2_org_silastandard_Integer_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_sila2_org_silastandard_Integer_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_sila2_org_silastandard_Integer_descriptor,
new java.lang.String[] { "Value", });
internal_static_sila2_org_silastandard_Real_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_sila2_org_silastandard_Real_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_sila2_org_silastandard_Real_descriptor,
new java.lang.String[] { "Value", });
internal_static_sila2_org_silastandard_Boolean_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_sila2_org_silastandard_Boolean_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_sila2_org_silastandard_Boolean_descriptor,
new java.lang.String[] { "Value", });
internal_static_sila2_org_silastandard_SmallBinary_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_sila2_org_silastandard_SmallBinary_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_sila2_org_silastandard_SmallBinary_descriptor,
new java.lang.String[] { "Value", });
internal_static_sila2_org_silastandard_LargeBinary_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_sila2_org_silastandard_LargeBinary_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_sila2_org_silastandard_LargeBinary_descriptor,
new java.lang.String[] { "BinaryIdentifier", });
internal_static_sila2_org_silastandard_Date_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_sila2_org_silastandard_Date_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_sila2_org_silastandard_Date_descriptor,
new java.lang.String[] { "Day", "Month", "Year", "Timezone", });
internal_static_sila2_org_silastandard_Time_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_sila2_org_silastandard_Time_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_sila2_org_silastandard_Time_descriptor,
new java.lang.String[] { "Second", "Minute", "Hour", "Timezone", });
internal_static_sila2_org_silastandard_Timestamp_descriptor =
getDescriptor().getMessageTypes().get(8);
internal_static_sila2_org_silastandard_Timestamp_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_sila2_org_silastandard_Timestamp_descriptor,
new java.lang.String[] { "Second", "Minute", "Hour", "Day", "Month", "Year", "Timezone", });
internal_static_sila2_org_silastandard_Timezone_descriptor =
getDescriptor().getMessageTypes().get(9);
internal_static_sila2_org_silastandard_Timezone_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_sila2_org_silastandard_Timezone_descriptor,
new java.lang.String[] { "Hours", "Minutes", });
internal_static_sila2_org_silastandard_Any_descriptor =
getDescriptor().getMessageTypes().get(10);
internal_static_sila2_org_silastandard_Any_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_sila2_org_silastandard_Any_descriptor,
new java.lang.String[] { "Type", "Payload", });
internal_static_sila2_org_silastandard_ListType_descriptor =
getDescriptor().getMessageTypes().get(11);
internal_static_sila2_org_silastandard_ListType_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_sila2_org_silastandard_ListType_descriptor,
new java.lang.String[] { "SilaType", });
internal_static_sila2_org_silastandard_StructureType_descriptor =
getDescriptor().getMessageTypes().get(12);
internal_static_sila2_org_silastandard_StructureType_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_sila2_org_silastandard_StructureType_descriptor,
new java.lang.String[] { "Elements", });
internal_static_sila2_org_silastandard_StructureType_Element_descriptor =
internal_static_sila2_org_silastandard_StructureType_descriptor.getNestedTypes().get(0);
internal_static_sila2_org_silastandard_StructureType_Element_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_sila2_org_silastandard_StructureType_Element_descriptor,
new java.lang.String[] { "Identifier", "Type", });
internal_static_sila2_org_silastandard_SiLAType_descriptor =
getDescriptor().getMessageTypes().get(13);
internal_static_sila2_org_silastandard_SiLAType_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_sila2_org_silastandard_SiLAType_descriptor,
new java.lang.String[] { "BasicType", "ListType", "StructureType", "DataType", });
internal_static_sila2_org_silastandard_Duration_descriptor =
getDescriptor().getMessageTypes().get(14);
internal_static_sila2_org_silastandard_Duration_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_sila2_org_silastandard_Duration_descriptor,
new java.lang.String[] { "Seconds", "Nanos", });
internal_static_sila2_org_silastandard_CommandExecutionUUID_descriptor =
getDescriptor().getMessageTypes().get(15);
internal_static_sila2_org_silastandard_CommandExecutionUUID_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_sila2_org_silastandard_CommandExecutionUUID_descriptor,
new java.lang.String[] { "CommandId", });
internal_static_sila2_org_silastandard_CommandConfirmation_descriptor =
getDescriptor().getMessageTypes().get(16);
internal_static_sila2_org_silastandard_CommandConfirmation_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_sila2_org_silastandard_CommandConfirmation_descriptor,
new java.lang.String[] { "CommandId", "LifetimeOfExecution", });
internal_static_sila2_org_silastandard_ExecutionInfo_descriptor =
getDescriptor().getMessageTypes().get(17);
internal_static_sila2_org_silastandard_ExecutionInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_sila2_org_silastandard_ExecutionInfo_descriptor,
new java.lang.String[] { "CommandStatus", "ProgressInfo", "EstimatedRemainingTime", "UpdatedLifetimeOfExecution", });
internal_static_sila2_org_silastandard_SiLAError_descriptor =
getDescriptor().getMessageTypes().get(18);
internal_static_sila2_org_silastandard_SiLAError_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_sila2_org_silastandard_SiLAError_descriptor,
new java.lang.String[] { "ValidationError", "ExecutionError", "ReadError", "FrameworkError", "Error", });
internal_static_sila2_org_silastandard_ValidationError_descriptor =
getDescriptor().getMessageTypes().get(19);
internal_static_sila2_org_silastandard_ValidationError_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_sila2_org_silastandard_ValidationError_descriptor,
new java.lang.String[] { "Parameter", "Cause", "Action", });
internal_static_sila2_org_silastandard_ExecutionError_descriptor =
getDescriptor().getMessageTypes().get(20);
internal_static_sila2_org_silastandard_ExecutionError_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_sila2_org_silastandard_ExecutionError_descriptor,
new java.lang.String[] { "ErrorIdentifier", "Cause", "Action", "FeatureIdentifier", "Parameters", });
internal_static_sila2_org_silastandard_ReadError_descriptor =
getDescriptor().getMessageTypes().get(21);
internal_static_sila2_org_silastandard_ReadError_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_sila2_org_silastandard_ReadError_descriptor,
new java.lang.String[] { "ErrorIdentifier", "Cause", "FeatureIdentifier", });
internal_static_sila2_org_silastandard_FrameworkError_descriptor =
getDescriptor().getMessageTypes().get(22);
internal_static_sila2_org_silastandard_FrameworkError_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_sila2_org_silastandard_FrameworkError_descriptor,
new java.lang.String[] { "ErrorType", });
}
// @@protoc_insertion_point(outer_class_scope)
}