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
// Protobuf Java Version: 3.25.1
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);
}
public interface StringOrBuilder extends
// @@protoc_insertion_point(interface_extends:sila2.org.silastandard.String)
com.google.protobuf.MessageOrBuilder {
/**
* string value = 1;
* @return The value.
*/
java.lang.String getValue();
/**
* string value = 1;
* @return The bytes for value.
*/
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
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new String();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_String_descriptor;
}
@java.lang.Override
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;
@SuppressWarnings("serial")
private volatile java.lang.Object value_ = "";
/**
* string value = 1;
* @return The value.
*/
@java.lang.Override
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;
* @return The bytes for value.
*/
@java.lang.Override
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;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, value_);
}
size += getUnknownFields().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;
if (!getValue()
.equals(other.getValue())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValue().hashCode();
hash = (29 * hash) + getUnknownFields().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);
}
@java.lang.Override
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);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* -------- 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;
}
@java.lang.Override
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() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
value_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_String_descriptor;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.String getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.String.getDefaultInstance();
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.String build() {
sila2.org.silastandard.SiLAFramework.String result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.String buildPartial() {
sila2.org.silastandard.SiLAFramework.String result = new sila2.org.silastandard.SiLAFramework.String(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(sila2.org.silastandard.SiLAFramework.String result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.value_ = value_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof 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_;
bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
value_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object value_ = "";
/**
* string value = 1;
* @return The value.
*/
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;
* @return The bytes for value.
*/
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;
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
value_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* string value = 1;
* @return This builder for chaining.
*/
public Builder clearValue() {
value_ = getDefaultInstance().getValue();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* string value = 1;
* @param value The bytes for value to set.
* @return This builder for chaining.
*/
public Builder setValueBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
value_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope: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() {
@java.lang.Override
public String parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
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;
* @return The value.
*/
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() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Integer();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Integer_descriptor;
}
@java.lang.Override
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_ = 0L;
/**
* int64 value = 1;
* @return The value.
*/
@java.lang.Override
public long getValue() {
return value_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (value_ != 0L) {
output.writeInt64(1, value_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
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 += getUnknownFields().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;
if (getValue()
!= other.getValue()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getValue());
hash = (29 * hash) + getUnknownFields().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);
}
@java.lang.Override
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);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* 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;
}
@java.lang.Override
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() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
value_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Integer_descriptor;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.Integer getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.Integer.getDefaultInstance();
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.Integer build() {
sila2.org.silastandard.SiLAFramework.Integer result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.Integer buildPartial() {
sila2.org.silastandard.SiLAFramework.Integer result = new sila2.org.silastandard.SiLAFramework.Integer(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(sila2.org.silastandard.SiLAFramework.Integer result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.value_ = value_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof 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.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
value_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long value_ ;
/**
* int64 value = 1;
* @return The value.
*/
@java.lang.Override
public long getValue() {
return value_;
}
/**
* int64 value = 1;
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(long value) {
value_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* int64 value = 1;
* @return This builder for chaining.
*/
public Builder clearValue() {
bitField0_ = (bitField0_ & ~0x00000001);
value_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope: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() {
@java.lang.Override
public Integer parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
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;
* @return The value.
*/
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() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Real();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Real_descriptor;
}
@java.lang.Override
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_ = 0D;
/**
* double value = 1;
* @return The value.
*/
@java.lang.Override
public double getValue() {
return value_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (java.lang.Double.doubleToRawLongBits(value_) != 0) {
output.writeDouble(1, value_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (java.lang.Double.doubleToRawLongBits(value_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(1, value_);
}
size += getUnknownFields().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;
if (java.lang.Double.doubleToLongBits(getValue())
!= java.lang.Double.doubleToLongBits(
other.getValue())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getValue()));
hash = (29 * hash) + getUnknownFields().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);
}
@java.lang.Override
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);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* 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;
}
@java.lang.Override
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() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
value_ = 0D;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Real_descriptor;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.Real getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.Real.getDefaultInstance();
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.Real build() {
sila2.org.silastandard.SiLAFramework.Real result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.Real buildPartial() {
sila2.org.silastandard.SiLAFramework.Real result = new sila2.org.silastandard.SiLAFramework.Real(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(sila2.org.silastandard.SiLAFramework.Real result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.value_ = value_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof 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.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 9: {
value_ = input.readDouble();
bitField0_ |= 0x00000001;
break;
} // case 9
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private double value_ ;
/**
* double value = 1;
* @return The value.
*/
@java.lang.Override
public double getValue() {
return value_;
}
/**
* double value = 1;
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(double value) {
value_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* double value = 1;
* @return This builder for chaining.
*/
public Builder clearValue() {
bitField0_ = (bitField0_ & ~0x00000001);
value_ = 0D;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope: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() {
@java.lang.Override
public Real parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
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;
* @return The value.
*/
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() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Boolean();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Boolean_descriptor;
}
@java.lang.Override
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_ = false;
/**
* bool value = 1;
* @return The value.
*/
@java.lang.Override
public boolean getValue() {
return value_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (value_ != false) {
output.writeBool(1, value_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
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 += getUnknownFields().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;
if (getValue()
!= other.getValue()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getValue());
hash = (29 * hash) + getUnknownFields().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);
}
@java.lang.Override
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);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* 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;
}
@java.lang.Override
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() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
value_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Boolean_descriptor;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.Boolean getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.Boolean.getDefaultInstance();
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.Boolean build() {
sila2.org.silastandard.SiLAFramework.Boolean result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.Boolean buildPartial() {
sila2.org.silastandard.SiLAFramework.Boolean result = new sila2.org.silastandard.SiLAFramework.Boolean(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(sila2.org.silastandard.SiLAFramework.Boolean result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.value_ = value_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof 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.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
value_ = input.readBool();
bitField0_ |= 0x00000001;
break;
} // case 8
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private boolean value_ ;
/**
* bool value = 1;
* @return The value.
*/
@java.lang.Override
public boolean getValue() {
return value_;
}
/**
* bool value = 1;
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(boolean value) {
value_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* bool value = 1;
* @return This builder for chaining.
*/
public Builder clearValue() {
bitField0_ = (bitField0_ & ~0x00000001);
value_ = false;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope: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() {
@java.lang.Override
public Boolean parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.Boolean getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface BinaryOrBuilder extends
// @@protoc_insertion_point(interface_extends:sila2.org.silastandard.Binary)
com.google.protobuf.MessageOrBuilder {
/**
* bytes value = 1;
* @return Whether the value field is set.
*/
boolean hasValue();
/**
* bytes value = 1;
* @return The value.
*/
com.google.protobuf.ByteString getValue();
/**
* string binaryTransferUUID = 2;
* @return Whether the binaryTransferUUID field is set.
*/
boolean hasBinaryTransferUUID();
/**
* string binaryTransferUUID = 2;
* @return The binaryTransferUUID.
*/
java.lang.String getBinaryTransferUUID();
/**
* string binaryTransferUUID = 2;
* @return The bytes for binaryTransferUUID.
*/
com.google.protobuf.ByteString
getBinaryTransferUUIDBytes();
sila2.org.silastandard.SiLAFramework.Binary.UnionCase getUnionCase();
}
/**
* Protobuf type {@code sila2.org.silastandard.Binary}
*/
public static final class Binary extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:sila2.org.silastandard.Binary)
BinaryOrBuilder {
private static final long serialVersionUID = 0L;
// Use Binary.newBuilder() to construct.
private Binary(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Binary() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Binary();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Binary_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Binary_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.Binary.class, sila2.org.silastandard.SiLAFramework.Binary.Builder.class);
}
private int unionCase_ = 0;
@SuppressWarnings("serial")
private java.lang.Object union_;
public enum UnionCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
VALUE(1),
BINARYTRANSFERUUID(2),
UNION_NOT_SET(0);
private final int value;
private UnionCase(int value) {
this.value = value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static UnionCase valueOf(int value) {
return forNumber(value);
}
public static UnionCase forNumber(int value) {
switch (value) {
case 1: return VALUE;
case 2: return BINARYTRANSFERUUID;
case 0: return UNION_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public UnionCase
getUnionCase() {
return UnionCase.forNumber(
unionCase_);
}
public static final int VALUE_FIELD_NUMBER = 1;
/**
* bytes value = 1;
* @return Whether the value field is set.
*/
@java.lang.Override
public boolean hasValue() {
return unionCase_ == 1;
}
/**
* bytes value = 1;
* @return The value.
*/
@java.lang.Override
public com.google.protobuf.ByteString getValue() {
if (unionCase_ == 1) {
return (com.google.protobuf.ByteString) union_;
}
return com.google.protobuf.ByteString.EMPTY;
}
public static final int BINARYTRANSFERUUID_FIELD_NUMBER = 2;
/**
* string binaryTransferUUID = 2;
* @return Whether the binaryTransferUUID field is set.
*/
public boolean hasBinaryTransferUUID() {
return unionCase_ == 2;
}
/**
* string binaryTransferUUID = 2;
* @return The binaryTransferUUID.
*/
public java.lang.String getBinaryTransferUUID() {
java.lang.Object ref = "";
if (unionCase_ == 2) {
ref = union_;
}
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();
if (unionCase_ == 2) {
union_ = s;
}
return s;
}
}
/**
* string binaryTransferUUID = 2;
* @return The bytes for binaryTransferUUID.
*/
public com.google.protobuf.ByteString
getBinaryTransferUUIDBytes() {
java.lang.Object ref = "";
if (unionCase_ == 2) {
ref = union_;
}
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (unionCase_ == 2) {
union_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (unionCase_ == 1) {
output.writeBytes(
1, (com.google.protobuf.ByteString) union_);
}
if (unionCase_ == 2) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, union_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (unionCase_ == 1) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(
1, (com.google.protobuf.ByteString) union_);
}
if (unionCase_ == 2) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, union_);
}
size += getUnknownFields().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.Binary)) {
return super.equals(obj);
}
sila2.org.silastandard.SiLAFramework.Binary other = (sila2.org.silastandard.SiLAFramework.Binary) obj;
if (!getUnionCase().equals(other.getUnionCase())) return false;
switch (unionCase_) {
case 1:
if (!getValue()
.equals(other.getValue())) return false;
break;
case 2:
if (!getBinaryTransferUUID()
.equals(other.getBinaryTransferUUID())) return false;
break;
case 0:
default:
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
switch (unionCase_) {
case 1:
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValue().hashCode();
break;
case 2:
hash = (37 * hash) + BINARYTRANSFERUUID_FIELD_NUMBER;
hash = (53 * hash) + getBinaryTransferUUID().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static sila2.org.silastandard.SiLAFramework.Binary parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.Binary 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.Binary parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.Binary 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.Binary parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.Binary parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.Binary parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.Binary 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.Binary parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.Binary 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.Binary parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.Binary parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(sila2.org.silastandard.SiLAFramework.Binary prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code sila2.org.silastandard.Binary}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:sila2.org.silastandard.Binary)
sila2.org.silastandard.SiLAFramework.BinaryOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Binary_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Binary_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.Binary.class, sila2.org.silastandard.SiLAFramework.Binary.Builder.class);
}
// Construct using sila2.org.silastandard.SiLAFramework.Binary.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
unionCase_ = 0;
union_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Binary_descriptor;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.Binary getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.Binary.getDefaultInstance();
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.Binary build() {
sila2.org.silastandard.SiLAFramework.Binary result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.Binary buildPartial() {
sila2.org.silastandard.SiLAFramework.Binary result = new sila2.org.silastandard.SiLAFramework.Binary(this);
if (bitField0_ != 0) { buildPartial0(result); }
buildPartialOneofs(result);
onBuilt();
return result;
}
private void buildPartial0(sila2.org.silastandard.SiLAFramework.Binary result) {
int from_bitField0_ = bitField0_;
}
private void buildPartialOneofs(sila2.org.silastandard.SiLAFramework.Binary result) {
result.unionCase_ = unionCase_;
result.union_ = this.union_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof sila2.org.silastandard.SiLAFramework.Binary) {
return mergeFrom((sila2.org.silastandard.SiLAFramework.Binary)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(sila2.org.silastandard.SiLAFramework.Binary other) {
if (other == sila2.org.silastandard.SiLAFramework.Binary.getDefaultInstance()) return this;
switch (other.getUnionCase()) {
case VALUE: {
setValue(other.getValue());
break;
}
case BINARYTRANSFERUUID: {
unionCase_ = 2;
union_ = other.union_;
onChanged();
break;
}
case UNION_NOT_SET: {
break;
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
union_ = input.readBytes();
unionCase_ = 1;
break;
} // case 10
case 18: {
java.lang.String s = input.readStringRequireUtf8();
unionCase_ = 2;
union_ = s;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int unionCase_ = 0;
private java.lang.Object union_;
public UnionCase
getUnionCase() {
return UnionCase.forNumber(
unionCase_);
}
public Builder clearUnion() {
unionCase_ = 0;
union_ = null;
onChanged();
return this;
}
private int bitField0_;
/**
* bytes value = 1;
* @return Whether the value field is set.
*/
public boolean hasValue() {
return unionCase_ == 1;
}
/**
* bytes value = 1;
* @return The value.
*/
public com.google.protobuf.ByteString getValue() {
if (unionCase_ == 1) {
return (com.google.protobuf.ByteString) union_;
}
return com.google.protobuf.ByteString.EMPTY;
}
/**
* bytes value = 1;
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
unionCase_ = 1;
union_ = value;
onChanged();
return this;
}
/**
* bytes value = 1;
* @return This builder for chaining.
*/
public Builder clearValue() {
if (unionCase_ == 1) {
unionCase_ = 0;
union_ = null;
onChanged();
}
return this;
}
/**
* string binaryTransferUUID = 2;
* @return Whether the binaryTransferUUID field is set.
*/
@java.lang.Override
public boolean hasBinaryTransferUUID() {
return unionCase_ == 2;
}
/**
* string binaryTransferUUID = 2;
* @return The binaryTransferUUID.
*/
@java.lang.Override
public java.lang.String getBinaryTransferUUID() {
java.lang.Object ref = "";
if (unionCase_ == 2) {
ref = union_;
}
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (unionCase_ == 2) {
union_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string binaryTransferUUID = 2;
* @return The bytes for binaryTransferUUID.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBinaryTransferUUIDBytes() {
java.lang.Object ref = "";
if (unionCase_ == 2) {
ref = union_;
}
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (unionCase_ == 2) {
union_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string binaryTransferUUID = 2;
* @param value The binaryTransferUUID to set.
* @return This builder for chaining.
*/
public Builder setBinaryTransferUUID(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
unionCase_ = 2;
union_ = value;
onChanged();
return this;
}
/**
* string binaryTransferUUID = 2;
* @return This builder for chaining.
*/
public Builder clearBinaryTransferUUID() {
if (unionCase_ == 2) {
unionCase_ = 0;
union_ = null;
onChanged();
}
return this;
}
/**
* string binaryTransferUUID = 2;
* @param value The bytes for binaryTransferUUID to set.
* @return This builder for chaining.
*/
public Builder setBinaryTransferUUIDBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
unionCase_ = 2;
union_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:sila2.org.silastandard.Binary)
}
// @@protoc_insertion_point(class_scope:sila2.org.silastandard.Binary)
private static final sila2.org.silastandard.SiLAFramework.Binary DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new sila2.org.silastandard.SiLAFramework.Binary();
}
public static sila2.org.silastandard.SiLAFramework.Binary getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Binary parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.Binary getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DateOrBuilder extends
// @@protoc_insertion_point(interface_extends:sila2.org.silastandard.Date)
com.google.protobuf.MessageOrBuilder {
/**
* uint32 day = 1;
* @return The day.
*/
int getDay();
/**
* uint32 month = 2;
* @return The month.
*/
int getMonth();
/**
* uint32 year = 3;
* @return The year.
*/
int getYear();
/**
* .sila2.org.silastandard.Timezone timezone = 4;
* @return Whether the timezone field is set.
*/
boolean hasTimezone();
/**
* .sila2.org.silastandard.Timezone timezone = 4;
* @return The timezone.
*/
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() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Date();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Date_descriptor;
}
@java.lang.Override
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);
}
private int bitField0_;
public static final int DAY_FIELD_NUMBER = 1;
private int day_ = 0;
/**
* uint32 day = 1;
* @return The day.
*/
@java.lang.Override
public int getDay() {
return day_;
}
public static final int MONTH_FIELD_NUMBER = 2;
private int month_ = 0;
/**
* uint32 month = 2;
* @return The month.
*/
@java.lang.Override
public int getMonth() {
return month_;
}
public static final int YEAR_FIELD_NUMBER = 3;
private int year_ = 0;
/**
* uint32 year = 3;
* @return The year.
*/
@java.lang.Override
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;
* @return Whether the timezone field is set.
*/
@java.lang.Override
public boolean hasTimezone() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .sila2.org.silastandard.Timezone timezone = 4;
* @return The timezone.
*/
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.Timezone getTimezone() {
return timezone_ == null ? sila2.org.silastandard.SiLAFramework.Timezone.getDefaultInstance() : timezone_;
}
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.TimezoneOrBuilder getTimezoneOrBuilder() {
return timezone_ == null ? sila2.org.silastandard.SiLAFramework.Timezone.getDefaultInstance() : timezone_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (day_ != 0) {
output.writeUInt32(1, day_);
}
if (month_ != 0) {
output.writeUInt32(2, month_);
}
if (year_ != 0) {
output.writeUInt32(3, year_);
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(4, getTimezone());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
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 (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getTimezone());
}
size += getUnknownFields().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;
if (getDay()
!= other.getDay()) return false;
if (getMonth()
!= other.getMonth()) return false;
if (getYear()
!= other.getYear()) return false;
if (hasTimezone() != other.hasTimezone()) return false;
if (hasTimezone()) {
if (!getTimezone()
.equals(other.getTimezone())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + 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) + getUnknownFields().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);
}
@java.lang.Override
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);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* 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;
}
@java.lang.Override
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) {
getTimezoneFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
day_ = 0;
month_ = 0;
year_ = 0;
timezone_ = null;
if (timezoneBuilder_ != null) {
timezoneBuilder_.dispose();
timezoneBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Date_descriptor;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.Date getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.Date.getDefaultInstance();
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.Date build() {
sila2.org.silastandard.SiLAFramework.Date result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.Date buildPartial() {
sila2.org.silastandard.SiLAFramework.Date result = new sila2.org.silastandard.SiLAFramework.Date(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(sila2.org.silastandard.SiLAFramework.Date result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.day_ = day_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.month_ = month_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.year_ = year_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000008) != 0)) {
result.timezone_ = timezoneBuilder_ == null
? timezone_
: timezoneBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof 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.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
day_ = input.readUInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
month_ = input.readUInt32();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
year_ = input.readUInt32();
bitField0_ |= 0x00000004;
break;
} // case 24
case 34: {
input.readMessage(
getTimezoneFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000008;
break;
} // case 34
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int day_ ;
/**
* uint32 day = 1;
* @return The day.
*/
@java.lang.Override
public int getDay() {
return day_;
}
/**
* uint32 day = 1;
* @param value The day to set.
* @return This builder for chaining.
*/
public Builder setDay(int value) {
day_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* uint32 day = 1;
* @return This builder for chaining.
*/
public Builder clearDay() {
bitField0_ = (bitField0_ & ~0x00000001);
day_ = 0;
onChanged();
return this;
}
private int month_ ;
/**
* uint32 month = 2;
* @return The month.
*/
@java.lang.Override
public int getMonth() {
return month_;
}
/**
* uint32 month = 2;
* @param value The month to set.
* @return This builder for chaining.
*/
public Builder setMonth(int value) {
month_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* uint32 month = 2;
* @return This builder for chaining.
*/
public Builder clearMonth() {
bitField0_ = (bitField0_ & ~0x00000002);
month_ = 0;
onChanged();
return this;
}
private int year_ ;
/**
* uint32 year = 3;
* @return The year.
*/
@java.lang.Override
public int getYear() {
return year_;
}
/**
* uint32 year = 3;
* @param value The year to set.
* @return This builder for chaining.
*/
public Builder setYear(int value) {
year_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* uint32 year = 3;
* @return This builder for chaining.
*/
public Builder clearYear() {
bitField0_ = (bitField0_ & ~0x00000004);
year_ = 0;
onChanged();
return this;
}
private sila2.org.silastandard.SiLAFramework.Timezone timezone_;
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;
* @return Whether the timezone field is set.
*/
public boolean hasTimezone() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* .sila2.org.silastandard.Timezone timezone = 4;
* @return The timezone.
*/
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;
} else {
timezoneBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
public Builder setTimezone(
sila2.org.silastandard.SiLAFramework.Timezone.Builder builderForValue) {
if (timezoneBuilder_ == null) {
timezone_ = builderForValue.build();
} else {
timezoneBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
public Builder mergeTimezone(sila2.org.silastandard.SiLAFramework.Timezone value) {
if (timezoneBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
timezone_ != null &&
timezone_ != sila2.org.silastandard.SiLAFramework.Timezone.getDefaultInstance()) {
getTimezoneBuilder().mergeFrom(value);
} else {
timezone_ = value;
}
} else {
timezoneBuilder_.mergeFrom(value);
}
if (timezone_ != null) {
bitField0_ |= 0x00000008;
onChanged();
}
return this;
}
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
public Builder clearTimezone() {
bitField0_ = (bitField0_ & ~0x00000008);
timezone_ = null;
if (timezoneBuilder_ != null) {
timezoneBuilder_.dispose();
timezoneBuilder_ = null;
}
onChanged();
return this;
}
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
public sila2.org.silastandard.SiLAFramework.Timezone.Builder getTimezoneBuilder() {
bitField0_ |= 0x00000008;
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_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope: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() {
@java.lang.Override
public Date parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
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;
* @return The second.
*/
int getSecond();
/**
* uint32 minute = 2;
* @return The minute.
*/
int getMinute();
/**
* uint32 hour = 3;
* @return The hour.
*/
int getHour();
/**
* .sila2.org.silastandard.Timezone timezone = 4;
* @return Whether the timezone field is set.
*/
boolean hasTimezone();
/**
* .sila2.org.silastandard.Timezone timezone = 4;
* @return The timezone.
*/
sila2.org.silastandard.SiLAFramework.Timezone getTimezone();
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
sila2.org.silastandard.SiLAFramework.TimezoneOrBuilder getTimezoneOrBuilder();
/**
* uint32 millisecond = 5;
* @return The millisecond.
*/
int getMillisecond();
}
/**
* 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() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Time();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Time_descriptor;
}
@java.lang.Override
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);
}
private int bitField0_;
public static final int SECOND_FIELD_NUMBER = 1;
private int second_ = 0;
/**
* uint32 second = 1;
* @return The second.
*/
@java.lang.Override
public int getSecond() {
return second_;
}
public static final int MINUTE_FIELD_NUMBER = 2;
private int minute_ = 0;
/**
* uint32 minute = 2;
* @return The minute.
*/
@java.lang.Override
public int getMinute() {
return minute_;
}
public static final int HOUR_FIELD_NUMBER = 3;
private int hour_ = 0;
/**
* uint32 hour = 3;
* @return The hour.
*/
@java.lang.Override
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;
* @return Whether the timezone field is set.
*/
@java.lang.Override
public boolean hasTimezone() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .sila2.org.silastandard.Timezone timezone = 4;
* @return The timezone.
*/
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.Timezone getTimezone() {
return timezone_ == null ? sila2.org.silastandard.SiLAFramework.Timezone.getDefaultInstance() : timezone_;
}
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.TimezoneOrBuilder getTimezoneOrBuilder() {
return timezone_ == null ? sila2.org.silastandard.SiLAFramework.Timezone.getDefaultInstance() : timezone_;
}
public static final int MILLISECOND_FIELD_NUMBER = 5;
private int millisecond_ = 0;
/**
* uint32 millisecond = 5;
* @return The millisecond.
*/
@java.lang.Override
public int getMillisecond() {
return millisecond_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (second_ != 0) {
output.writeUInt32(1, second_);
}
if (minute_ != 0) {
output.writeUInt32(2, minute_);
}
if (hour_ != 0) {
output.writeUInt32(3, hour_);
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(4, getTimezone());
}
if (millisecond_ != 0) {
output.writeUInt32(5, millisecond_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
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 (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getTimezone());
}
if (millisecond_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, millisecond_);
}
size += getUnknownFields().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;
if (getSecond()
!= other.getSecond()) return false;
if (getMinute()
!= other.getMinute()) return false;
if (getHour()
!= other.getHour()) return false;
if (hasTimezone() != other.hasTimezone()) return false;
if (hasTimezone()) {
if (!getTimezone()
.equals(other.getTimezone())) return false;
}
if (getMillisecond()
!= other.getMillisecond()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + 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 = (37 * hash) + MILLISECOND_FIELD_NUMBER;
hash = (53 * hash) + getMillisecond();
hash = (29 * hash) + getUnknownFields().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);
}
@java.lang.Override
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);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* 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;
}
@java.lang.Override
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) {
getTimezoneFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
second_ = 0;
minute_ = 0;
hour_ = 0;
timezone_ = null;
if (timezoneBuilder_ != null) {
timezoneBuilder_.dispose();
timezoneBuilder_ = null;
}
millisecond_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Time_descriptor;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.Time getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.Time.getDefaultInstance();
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.Time build() {
sila2.org.silastandard.SiLAFramework.Time result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.Time buildPartial() {
sila2.org.silastandard.SiLAFramework.Time result = new sila2.org.silastandard.SiLAFramework.Time(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(sila2.org.silastandard.SiLAFramework.Time result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.second_ = second_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.minute_ = minute_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.hour_ = hour_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000008) != 0)) {
result.timezone_ = timezoneBuilder_ == null
? timezone_
: timezoneBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.millisecond_ = millisecond_;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof 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());
}
if (other.getMillisecond() != 0) {
setMillisecond(other.getMillisecond());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
second_ = input.readUInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
minute_ = input.readUInt32();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
hour_ = input.readUInt32();
bitField0_ |= 0x00000004;
break;
} // case 24
case 34: {
input.readMessage(
getTimezoneFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000008;
break;
} // case 34
case 40: {
millisecond_ = input.readUInt32();
bitField0_ |= 0x00000010;
break;
} // case 40
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int second_ ;
/**
* uint32 second = 1;
* @return The second.
*/
@java.lang.Override
public int getSecond() {
return second_;
}
/**
* uint32 second = 1;
* @param value The second to set.
* @return This builder for chaining.
*/
public Builder setSecond(int value) {
second_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* uint32 second = 1;
* @return This builder for chaining.
*/
public Builder clearSecond() {
bitField0_ = (bitField0_ & ~0x00000001);
second_ = 0;
onChanged();
return this;
}
private int minute_ ;
/**
* uint32 minute = 2;
* @return The minute.
*/
@java.lang.Override
public int getMinute() {
return minute_;
}
/**
* uint32 minute = 2;
* @param value The minute to set.
* @return This builder for chaining.
*/
public Builder setMinute(int value) {
minute_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* uint32 minute = 2;
* @return This builder for chaining.
*/
public Builder clearMinute() {
bitField0_ = (bitField0_ & ~0x00000002);
minute_ = 0;
onChanged();
return this;
}
private int hour_ ;
/**
* uint32 hour = 3;
* @return The hour.
*/
@java.lang.Override
public int getHour() {
return hour_;
}
/**
* uint32 hour = 3;
* @param value The hour to set.
* @return This builder for chaining.
*/
public Builder setHour(int value) {
hour_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* uint32 hour = 3;
* @return This builder for chaining.
*/
public Builder clearHour() {
bitField0_ = (bitField0_ & ~0x00000004);
hour_ = 0;
onChanged();
return this;
}
private sila2.org.silastandard.SiLAFramework.Timezone timezone_;
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;
* @return Whether the timezone field is set.
*/
public boolean hasTimezone() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* .sila2.org.silastandard.Timezone timezone = 4;
* @return The timezone.
*/
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;
} else {
timezoneBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
public Builder setTimezone(
sila2.org.silastandard.SiLAFramework.Timezone.Builder builderForValue) {
if (timezoneBuilder_ == null) {
timezone_ = builderForValue.build();
} else {
timezoneBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
public Builder mergeTimezone(sila2.org.silastandard.SiLAFramework.Timezone value) {
if (timezoneBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
timezone_ != null &&
timezone_ != sila2.org.silastandard.SiLAFramework.Timezone.getDefaultInstance()) {
getTimezoneBuilder().mergeFrom(value);
} else {
timezone_ = value;
}
} else {
timezoneBuilder_.mergeFrom(value);
}
if (timezone_ != null) {
bitField0_ |= 0x00000008;
onChanged();
}
return this;
}
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
public Builder clearTimezone() {
bitField0_ = (bitField0_ & ~0x00000008);
timezone_ = null;
if (timezoneBuilder_ != null) {
timezoneBuilder_.dispose();
timezoneBuilder_ = null;
}
onChanged();
return this;
}
/**
* .sila2.org.silastandard.Timezone timezone = 4;
*/
public sila2.org.silastandard.SiLAFramework.Timezone.Builder getTimezoneBuilder() {
bitField0_ |= 0x00000008;
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_;
}
private int millisecond_ ;
/**
* uint32 millisecond = 5;
* @return The millisecond.
*/
@java.lang.Override
public int getMillisecond() {
return millisecond_;
}
/**
* uint32 millisecond = 5;
* @param value The millisecond to set.
* @return This builder for chaining.
*/
public Builder setMillisecond(int value) {
millisecond_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* uint32 millisecond = 5;
* @return This builder for chaining.
*/
public Builder clearMillisecond() {
bitField0_ = (bitField0_ & ~0x00000010);
millisecond_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope: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() {
@java.lang.Override
public Time parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
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;
* @return The second.
*/
int getSecond();
/**
* uint32 minute = 2;
* @return The minute.
*/
int getMinute();
/**
* uint32 hour = 3;
* @return The hour.
*/
int getHour();
/**
* uint32 day = 4;
* @return The day.
*/
int getDay();
/**
* uint32 month = 5;
* @return The month.
*/
int getMonth();
/**
* uint32 year = 6;
* @return The year.
*/
int getYear();
/**
* .sila2.org.silastandard.Timezone timezone = 7;
* @return Whether the timezone field is set.
*/
boolean hasTimezone();
/**
* .sila2.org.silastandard.Timezone timezone = 7;
* @return The timezone.
*/
sila2.org.silastandard.SiLAFramework.Timezone getTimezone();
/**
* .sila2.org.silastandard.Timezone timezone = 7;
*/
sila2.org.silastandard.SiLAFramework.TimezoneOrBuilder getTimezoneOrBuilder();
/**
* uint32 millisecond = 8;
* @return The millisecond.
*/
int getMillisecond();
}
/**
* 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() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Timestamp();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Timestamp_descriptor;
}
@java.lang.Override
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);
}
private int bitField0_;
public static final int SECOND_FIELD_NUMBER = 1;
private int second_ = 0;
/**
* uint32 second = 1;
* @return The second.
*/
@java.lang.Override
public int getSecond() {
return second_;
}
public static final int MINUTE_FIELD_NUMBER = 2;
private int minute_ = 0;
/**
* uint32 minute = 2;
* @return The minute.
*/
@java.lang.Override
public int getMinute() {
return minute_;
}
public static final int HOUR_FIELD_NUMBER = 3;
private int hour_ = 0;
/**
* uint32 hour = 3;
* @return The hour.
*/
@java.lang.Override
public int getHour() {
return hour_;
}
public static final int DAY_FIELD_NUMBER = 4;
private int day_ = 0;
/**
* uint32 day = 4;
* @return The day.
*/
@java.lang.Override
public int getDay() {
return day_;
}
public static final int MONTH_FIELD_NUMBER = 5;
private int month_ = 0;
/**
* uint32 month = 5;
* @return The month.
*/
@java.lang.Override
public int getMonth() {
return month_;
}
public static final int YEAR_FIELD_NUMBER = 6;
private int year_ = 0;
/**
* uint32 year = 6;
* @return The year.
*/
@java.lang.Override
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;
* @return Whether the timezone field is set.
*/
@java.lang.Override
public boolean hasTimezone() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .sila2.org.silastandard.Timezone timezone = 7;
* @return The timezone.
*/
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.Timezone getTimezone() {
return timezone_ == null ? sila2.org.silastandard.SiLAFramework.Timezone.getDefaultInstance() : timezone_;
}
/**
* .sila2.org.silastandard.Timezone timezone = 7;
*/
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.TimezoneOrBuilder getTimezoneOrBuilder() {
return timezone_ == null ? sila2.org.silastandard.SiLAFramework.Timezone.getDefaultInstance() : timezone_;
}
public static final int MILLISECOND_FIELD_NUMBER = 8;
private int millisecond_ = 0;
/**
* uint32 millisecond = 8;
* @return The millisecond.
*/
@java.lang.Override
public int getMillisecond() {
return millisecond_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (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 (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(7, getTimezone());
}
if (millisecond_ != 0) {
output.writeUInt32(8, millisecond_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
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 (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getTimezone());
}
if (millisecond_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(8, millisecond_);
}
size += getUnknownFields().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;
if (getSecond()
!= other.getSecond()) return false;
if (getMinute()
!= other.getMinute()) return false;
if (getHour()
!= other.getHour()) return false;
if (getDay()
!= other.getDay()) return false;
if (getMonth()
!= other.getMonth()) return false;
if (getYear()
!= other.getYear()) return false;
if (hasTimezone() != other.hasTimezone()) return false;
if (hasTimezone()) {
if (!getTimezone()
.equals(other.getTimezone())) return false;
}
if (getMillisecond()
!= other.getMillisecond()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + 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 = (37 * hash) + MILLISECOND_FIELD_NUMBER;
hash = (53 * hash) + getMillisecond();
hash = (29 * hash) + getUnknownFields().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);
}
@java.lang.Override
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);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* 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;
}
@java.lang.Override
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) {
getTimezoneFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
second_ = 0;
minute_ = 0;
hour_ = 0;
day_ = 0;
month_ = 0;
year_ = 0;
timezone_ = null;
if (timezoneBuilder_ != null) {
timezoneBuilder_.dispose();
timezoneBuilder_ = null;
}
millisecond_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Timestamp_descriptor;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.Timestamp getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.Timestamp.getDefaultInstance();
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.Timestamp build() {
sila2.org.silastandard.SiLAFramework.Timestamp result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.Timestamp buildPartial() {
sila2.org.silastandard.SiLAFramework.Timestamp result = new sila2.org.silastandard.SiLAFramework.Timestamp(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(sila2.org.silastandard.SiLAFramework.Timestamp result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.second_ = second_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.minute_ = minute_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.hour_ = hour_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.day_ = day_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.month_ = month_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.year_ = year_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000040) != 0)) {
result.timezone_ = timezoneBuilder_ == null
? timezone_
: timezoneBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.millisecond_ = millisecond_;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof 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());
}
if (other.getMillisecond() != 0) {
setMillisecond(other.getMillisecond());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
second_ = input.readUInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
minute_ = input.readUInt32();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
hour_ = input.readUInt32();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
day_ = input.readUInt32();
bitField0_ |= 0x00000008;
break;
} // case 32
case 40: {
month_ = input.readUInt32();
bitField0_ |= 0x00000010;
break;
} // case 40
case 48: {
year_ = input.readUInt32();
bitField0_ |= 0x00000020;
break;
} // case 48
case 58: {
input.readMessage(
getTimezoneFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000040;
break;
} // case 58
case 64: {
millisecond_ = input.readUInt32();
bitField0_ |= 0x00000080;
break;
} // case 64
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int second_ ;
/**
* uint32 second = 1;
* @return The second.
*/
@java.lang.Override
public int getSecond() {
return second_;
}
/**
* uint32 second = 1;
* @param value The second to set.
* @return This builder for chaining.
*/
public Builder setSecond(int value) {
second_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* uint32 second = 1;
* @return This builder for chaining.
*/
public Builder clearSecond() {
bitField0_ = (bitField0_ & ~0x00000001);
second_ = 0;
onChanged();
return this;
}
private int minute_ ;
/**
* uint32 minute = 2;
* @return The minute.
*/
@java.lang.Override
public int getMinute() {
return minute_;
}
/**
* uint32 minute = 2;
* @param value The minute to set.
* @return This builder for chaining.
*/
public Builder setMinute(int value) {
minute_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* uint32 minute = 2;
* @return This builder for chaining.
*/
public Builder clearMinute() {
bitField0_ = (bitField0_ & ~0x00000002);
minute_ = 0;
onChanged();
return this;
}
private int hour_ ;
/**
* uint32 hour = 3;
* @return The hour.
*/
@java.lang.Override
public int getHour() {
return hour_;
}
/**
* uint32 hour = 3;
* @param value The hour to set.
* @return This builder for chaining.
*/
public Builder setHour(int value) {
hour_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* uint32 hour = 3;
* @return This builder for chaining.
*/
public Builder clearHour() {
bitField0_ = (bitField0_ & ~0x00000004);
hour_ = 0;
onChanged();
return this;
}
private int day_ ;
/**
* uint32 day = 4;
* @return The day.
*/
@java.lang.Override
public int getDay() {
return day_;
}
/**
* uint32 day = 4;
* @param value The day to set.
* @return This builder for chaining.
*/
public Builder setDay(int value) {
day_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* uint32 day = 4;
* @return This builder for chaining.
*/
public Builder clearDay() {
bitField0_ = (bitField0_ & ~0x00000008);
day_ = 0;
onChanged();
return this;
}
private int month_ ;
/**
* uint32 month = 5;
* @return The month.
*/
@java.lang.Override
public int getMonth() {
return month_;
}
/**
* uint32 month = 5;
* @param value The month to set.
* @return This builder for chaining.
*/
public Builder setMonth(int value) {
month_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* uint32 month = 5;
* @return This builder for chaining.
*/
public Builder clearMonth() {
bitField0_ = (bitField0_ & ~0x00000010);
month_ = 0;
onChanged();
return this;
}
private int year_ ;
/**
* uint32 year = 6;
* @return The year.
*/
@java.lang.Override
public int getYear() {
return year_;
}
/**
* uint32 year = 6;
* @param value The year to set.
* @return This builder for chaining.
*/
public Builder setYear(int value) {
year_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* uint32 year = 6;
* @return This builder for chaining.
*/
public Builder clearYear() {
bitField0_ = (bitField0_ & ~0x00000020);
year_ = 0;
onChanged();
return this;
}
private sila2.org.silastandard.SiLAFramework.Timezone timezone_;
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;
* @return Whether the timezone field is set.
*/
public boolean hasTimezone() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* .sila2.org.silastandard.Timezone timezone = 7;
* @return The timezone.
*/
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;
} else {
timezoneBuilder_.setMessage(value);
}
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* .sila2.org.silastandard.Timezone timezone = 7;
*/
public Builder setTimezone(
sila2.org.silastandard.SiLAFramework.Timezone.Builder builderForValue) {
if (timezoneBuilder_ == null) {
timezone_ = builderForValue.build();
} else {
timezoneBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* .sila2.org.silastandard.Timezone timezone = 7;
*/
public Builder mergeTimezone(sila2.org.silastandard.SiLAFramework.Timezone value) {
if (timezoneBuilder_ == null) {
if (((bitField0_ & 0x00000040) != 0) &&
timezone_ != null &&
timezone_ != sila2.org.silastandard.SiLAFramework.Timezone.getDefaultInstance()) {
getTimezoneBuilder().mergeFrom(value);
} else {
timezone_ = value;
}
} else {
timezoneBuilder_.mergeFrom(value);
}
if (timezone_ != null) {
bitField0_ |= 0x00000040;
onChanged();
}
return this;
}
/**
* .sila2.org.silastandard.Timezone timezone = 7;
*/
public Builder clearTimezone() {
bitField0_ = (bitField0_ & ~0x00000040);
timezone_ = null;
if (timezoneBuilder_ != null) {
timezoneBuilder_.dispose();
timezoneBuilder_ = null;
}
onChanged();
return this;
}
/**
* .sila2.org.silastandard.Timezone timezone = 7;
*/
public sila2.org.silastandard.SiLAFramework.Timezone.Builder getTimezoneBuilder() {
bitField0_ |= 0x00000040;
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_;
}
private int millisecond_ ;
/**
* uint32 millisecond = 8;
* @return The millisecond.
*/
@java.lang.Override
public int getMillisecond() {
return millisecond_;
}
/**
* uint32 millisecond = 8;
* @param value The millisecond to set.
* @return This builder for chaining.
*/
public Builder setMillisecond(int value) {
millisecond_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* uint32 millisecond = 8;
* @return This builder for chaining.
*/
public Builder clearMillisecond() {
bitField0_ = (bitField0_ & ~0x00000080);
millisecond_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope: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() {
@java.lang.Override
public Timestamp parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
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;
* @return The hours.
*/
int getHours();
/**
* uint32 minutes = 2;
* @return The minutes.
*/
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() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Timezone();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Timezone_descriptor;
}
@java.lang.Override
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_ = 0;
/**
* int32 hours = 1;
* @return The hours.
*/
@java.lang.Override
public int getHours() {
return hours_;
}
public static final int MINUTES_FIELD_NUMBER = 2;
private int minutes_ = 0;
/**
* uint32 minutes = 2;
* @return The minutes.
*/
@java.lang.Override
public int getMinutes() {
return minutes_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (hours_ != 0) {
output.writeInt32(1, hours_);
}
if (minutes_ != 0) {
output.writeUInt32(2, minutes_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
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 += getUnknownFields().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;
if (getHours()
!= other.getHours()) return false;
if (getMinutes()
!= other.getMinutes()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + HOURS_FIELD_NUMBER;
hash = (53 * hash) + getHours();
hash = (37 * hash) + MINUTES_FIELD_NUMBER;
hash = (53 * hash) + getMinutes();
hash = (29 * hash) + getUnknownFields().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);
}
@java.lang.Override
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);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* 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;
}
@java.lang.Override
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() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
hours_ = 0;
minutes_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Timezone_descriptor;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.Timezone getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.Timezone.getDefaultInstance();
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.Timezone build() {
sila2.org.silastandard.SiLAFramework.Timezone result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.Timezone buildPartial() {
sila2.org.silastandard.SiLAFramework.Timezone result = new sila2.org.silastandard.SiLAFramework.Timezone(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(sila2.org.silastandard.SiLAFramework.Timezone result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.hours_ = hours_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.minutes_ = minutes_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof 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.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
hours_ = input.readInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
minutes_ = input.readUInt32();
bitField0_ |= 0x00000002;
break;
} // case 16
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int hours_ ;
/**
* int32 hours = 1;
* @return The hours.
*/
@java.lang.Override
public int getHours() {
return hours_;
}
/**
* int32 hours = 1;
* @param value The hours to set.
* @return This builder for chaining.
*/
public Builder setHours(int value) {
hours_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* int32 hours = 1;
* @return This builder for chaining.
*/
public Builder clearHours() {
bitField0_ = (bitField0_ & ~0x00000001);
hours_ = 0;
onChanged();
return this;
}
private int minutes_ ;
/**
* uint32 minutes = 2;
* @return The minutes.
*/
@java.lang.Override
public int getMinutes() {
return minutes_;
}
/**
* uint32 minutes = 2;
* @param value The minutes to set.
* @return This builder for chaining.
*/
public Builder setMinutes(int value) {
minutes_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* uint32 minutes = 2;
* @return This builder for chaining.
*/
public Builder clearMinutes() {
bitField0_ = (bitField0_ & ~0x00000002);
minutes_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope: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() {
@java.lang.Override
public Timezone parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
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 {
/**
* string type = 1;
* @return The type.
*/
java.lang.String getType();
/**
* string type = 1;
* @return The bytes for type.
*/
com.google.protobuf.ByteString
getTypeBytes();
/**
* bytes payload = 2;
* @return The payload.
*/
com.google.protobuf.ByteString getPayload();
}
/**
*
* -------- SiLA AnyType Type --------
*
*
* 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() {
type_ = "";
payload_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Any();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Any_descriptor;
}
@java.lang.Override
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;
@SuppressWarnings("serial")
private volatile java.lang.Object type_ = "";
/**
* string type = 1;
* @return The type.
*/
@java.lang.Override
public java.lang.String getType() {
java.lang.Object ref = type_;
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();
type_ = s;
return s;
}
}
/**
* string type = 1;
* @return The bytes for type.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTypeBytes() {
java.lang.Object ref = type_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
type_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PAYLOAD_FIELD_NUMBER = 2;
private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes payload = 2;
* @return The payload.
*/
@java.lang.Override
public com.google.protobuf.ByteString getPayload() {
return payload_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_);
}
if (!payload_.isEmpty()) {
output.writeBytes(2, payload_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, type_);
}
if (!payload_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, payload_);
}
size += getUnknownFields().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;
if (!getType()
.equals(other.getType())) return false;
if (!getPayload()
.equals(other.getPayload())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + getType().hashCode();
hash = (37 * hash) + PAYLOAD_FIELD_NUMBER;
hash = (53 * hash) + getPayload().hashCode();
hash = (29 * hash) + getUnknownFields().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);
}
@java.lang.Override
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);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* -------- SiLA AnyType Type --------
*
*
* 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;
}
@java.lang.Override
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() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
type_ = "";
payload_ = com.google.protobuf.ByteString.EMPTY;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Any_descriptor;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.Any getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.Any.getDefaultInstance();
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.Any build() {
sila2.org.silastandard.SiLAFramework.Any result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.Any buildPartial() {
sila2.org.silastandard.SiLAFramework.Any result = new sila2.org.silastandard.SiLAFramework.Any(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(sila2.org.silastandard.SiLAFramework.Any result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.type_ = type_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.payload_ = payload_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof 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.getType().isEmpty()) {
type_ = other.type_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.getPayload() != com.google.protobuf.ByteString.EMPTY) {
setPayload(other.getPayload());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
type_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
payload_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object type_ = "";
/**
* string type = 1;
* @return The type.
*/
public java.lang.String getType() {
java.lang.Object ref = type_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
type_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string type = 1;
* @return The bytes for type.
*/
public com.google.protobuf.ByteString
getTypeBytes() {
java.lang.Object ref = type_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
type_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string type = 1;
* @param value The type to set.
* @return This builder for chaining.
*/
public Builder setType(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
type_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* string type = 1;
* @return This builder for chaining.
*/
public Builder clearType() {
type_ = getDefaultInstance().getType();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* string type = 1;
* @param value The bytes for type to set.
* @return This builder for chaining.
*/
public Builder setTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
type_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes payload = 2;
* @return The payload.
*/
@java.lang.Override
public com.google.protobuf.ByteString getPayload() {
return payload_;
}
/**
* bytes payload = 2;
* @param value The payload to set.
* @return This builder for chaining.
*/
public Builder setPayload(com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
payload_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* bytes payload = 2;
* @return This builder for chaining.
*/
public Builder clearPayload() {
bitField0_ = (bitField0_ & ~0x00000002);
payload_ = getDefaultInstance().getPayload();
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope: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() {
@java.lang.Override
public Any parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.Any getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DurationOrBuilder extends
// @@protoc_insertion_point(interface_extends:sila2.org.silastandard.Duration)
com.google.protobuf.MessageOrBuilder {
/**
* int64 seconds = 1;
* @return The seconds.
*/
long getSeconds();
/**
* int32 nanos = 2;
* @return The nanos.
*/
int getNanos();
}
/**
*
* -------- Framework Types --------
*
*
* 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() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Duration();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Duration_descriptor;
}
@java.lang.Override
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_ = 0L;
/**
* int64 seconds = 1;
* @return The seconds.
*/
@java.lang.Override
public long getSeconds() {
return seconds_;
}
public static final int NANOS_FIELD_NUMBER = 2;
private int nanos_ = 0;
/**
* int32 nanos = 2;
* @return The nanos.
*/
@java.lang.Override
public int getNanos() {
return nanos_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (seconds_ != 0L) {
output.writeInt64(1, seconds_);
}
if (nanos_ != 0) {
output.writeInt32(2, nanos_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
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 += getUnknownFields().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;
if (getSeconds()
!= other.getSeconds()) return false;
if (getNanos()
!= other.getNanos()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + 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) + getUnknownFields().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);
}
@java.lang.Override
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);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* -------- Framework Types --------
*
*
* 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;
}
@java.lang.Override
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() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
seconds_ = 0L;
nanos_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_Duration_descriptor;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.Duration getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.Duration.getDefaultInstance();
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.Duration build() {
sila2.org.silastandard.SiLAFramework.Duration result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.Duration buildPartial() {
sila2.org.silastandard.SiLAFramework.Duration result = new sila2.org.silastandard.SiLAFramework.Duration(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(sila2.org.silastandard.SiLAFramework.Duration result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.seconds_ = seconds_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.nanos_ = nanos_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof 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.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
seconds_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
nanos_ = input.readInt32();
bitField0_ |= 0x00000002;
break;
} // case 16
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long seconds_ ;
/**
* int64 seconds = 1;
* @return The seconds.
*/
@java.lang.Override
public long getSeconds() {
return seconds_;
}
/**
* int64 seconds = 1;
* @param value The seconds to set.
* @return This builder for chaining.
*/
public Builder setSeconds(long value) {
seconds_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* int64 seconds = 1;
* @return This builder for chaining.
*/
public Builder clearSeconds() {
bitField0_ = (bitField0_ & ~0x00000001);
seconds_ = 0L;
onChanged();
return this;
}
private int nanos_ ;
/**
* int32 nanos = 2;
* @return The nanos.
*/
@java.lang.Override
public int getNanos() {
return nanos_;
}
/**
* int32 nanos = 2;
* @param value The nanos to set.
* @return This builder for chaining.
*/
public Builder setNanos(int value) {
nanos_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* int32 nanos = 2;
* @return This builder for chaining.
*/
public Builder clearNanos() {
bitField0_ = (bitField0_ & ~0x00000002);
nanos_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope: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() {
@java.lang.Override
public Duration parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
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 value = 1;
* @return The value.
*/
java.lang.String getValue();
/**
* string value = 1;
* @return The bytes for value.
*/
com.google.protobuf.ByteString
getValueBytes();
}
/**
* 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() {
value_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CommandExecutionUUID();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_CommandExecutionUUID_descriptor;
}
@java.lang.Override
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 VALUE_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object value_ = "";
/**
* string value = 1;
* @return The value.
*/
@java.lang.Override
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;
* @return The bytes for value.
*/
@java.lang.Override
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;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, value_);
}
size += getUnknownFields().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;
if (!getValue()
.equals(other.getValue())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValue().hashCode();
hash = (29 * hash) + getUnknownFields().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);
}
@java.lang.Override
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);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* 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;
}
@java.lang.Override
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() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
value_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_CommandExecutionUUID_descriptor;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.CommandExecutionUUID getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.CommandExecutionUUID.getDefaultInstance();
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.CommandExecutionUUID build() {
sila2.org.silastandard.SiLAFramework.CommandExecutionUUID result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.CommandExecutionUUID buildPartial() {
sila2.org.silastandard.SiLAFramework.CommandExecutionUUID result = new sila2.org.silastandard.SiLAFramework.CommandExecutionUUID(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(sila2.org.silastandard.SiLAFramework.CommandExecutionUUID result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.value_ = value_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof 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.getValue().isEmpty()) {
value_ = other.value_;
bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
value_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object value_ = "";
/**
* string value = 1;
* @return The value.
*/
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;
* @return The bytes for value.
*/
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;
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
value_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* string value = 1;
* @return This builder for chaining.
*/
public Builder clearValue() {
value_ = getDefaultInstance().getValue();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* string value = 1;
* @param value The bytes for value to set.
* @return This builder for chaining.
*/
public Builder setValueBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
value_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope: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() {
@java.lang.Override
public CommandExecutionUUID parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
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 commandExecutionUUID = 1;
* @return Whether the commandExecutionUUID field is set.
*/
boolean hasCommandExecutionUUID();
/**
* .sila2.org.silastandard.CommandExecutionUUID commandExecutionUUID = 1;
* @return The commandExecutionUUID.
*/
sila2.org.silastandard.SiLAFramework.CommandExecutionUUID getCommandExecutionUUID();
/**
* .sila2.org.silastandard.CommandExecutionUUID commandExecutionUUID = 1;
*/
sila2.org.silastandard.SiLAFramework.CommandExecutionUUIDOrBuilder getCommandExecutionUUIDOrBuilder();
/**
* .sila2.org.silastandard.Duration lifetimeOfExecution = 2;
* @return Whether the lifetimeOfExecution field is set.
*/
boolean hasLifetimeOfExecution();
/**
* .sila2.org.silastandard.Duration lifetimeOfExecution = 2;
* @return The lifetimeOfExecution.
*/
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
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CommandConfirmation();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_CommandConfirmation_descriptor;
}
@java.lang.Override
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);
}
private int bitField0_;
public static final int COMMANDEXECUTIONUUID_FIELD_NUMBER = 1;
private sila2.org.silastandard.SiLAFramework.CommandExecutionUUID commandExecutionUUID_;
/**
* .sila2.org.silastandard.CommandExecutionUUID commandExecutionUUID = 1;
* @return Whether the commandExecutionUUID field is set.
*/
@java.lang.Override
public boolean hasCommandExecutionUUID() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .sila2.org.silastandard.CommandExecutionUUID commandExecutionUUID = 1;
* @return The commandExecutionUUID.
*/
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.CommandExecutionUUID getCommandExecutionUUID() {
return commandExecutionUUID_ == null ? sila2.org.silastandard.SiLAFramework.CommandExecutionUUID.getDefaultInstance() : commandExecutionUUID_;
}
/**
* .sila2.org.silastandard.CommandExecutionUUID commandExecutionUUID = 1;
*/
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.CommandExecutionUUIDOrBuilder getCommandExecutionUUIDOrBuilder() {
return commandExecutionUUID_ == null ? sila2.org.silastandard.SiLAFramework.CommandExecutionUUID.getDefaultInstance() : commandExecutionUUID_;
}
public static final int LIFETIMEOFEXECUTION_FIELD_NUMBER = 2;
private sila2.org.silastandard.SiLAFramework.Duration lifetimeOfExecution_;
/**
* .sila2.org.silastandard.Duration lifetimeOfExecution = 2;
* @return Whether the lifetimeOfExecution field is set.
*/
@java.lang.Override
public boolean hasLifetimeOfExecution() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* .sila2.org.silastandard.Duration lifetimeOfExecution = 2;
* @return The lifetimeOfExecution.
*/
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.Duration getLifetimeOfExecution() {
return lifetimeOfExecution_ == null ? sila2.org.silastandard.SiLAFramework.Duration.getDefaultInstance() : lifetimeOfExecution_;
}
/**
* .sila2.org.silastandard.Duration lifetimeOfExecution = 2;
*/
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.DurationOrBuilder getLifetimeOfExecutionOrBuilder() {
return lifetimeOfExecution_ == null ? sila2.org.silastandard.SiLAFramework.Duration.getDefaultInstance() : lifetimeOfExecution_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getCommandExecutionUUID());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getLifetimeOfExecution());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getCommandExecutionUUID());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getLifetimeOfExecution());
}
size += getUnknownFields().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;
if (hasCommandExecutionUUID() != other.hasCommandExecutionUUID()) return false;
if (hasCommandExecutionUUID()) {
if (!getCommandExecutionUUID()
.equals(other.getCommandExecutionUUID())) return false;
}
if (hasLifetimeOfExecution() != other.hasLifetimeOfExecution()) return false;
if (hasLifetimeOfExecution()) {
if (!getLifetimeOfExecution()
.equals(other.getLifetimeOfExecution())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCommandExecutionUUID()) {
hash = (37 * hash) + COMMANDEXECUTIONUUID_FIELD_NUMBER;
hash = (53 * hash) + getCommandExecutionUUID().hashCode();
}
if (hasLifetimeOfExecution()) {
hash = (37 * hash) + LIFETIMEOFEXECUTION_FIELD_NUMBER;
hash = (53 * hash) + getLifetimeOfExecution().hashCode();
}
hash = (29 * hash) + getUnknownFields().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);
}
@java.lang.Override
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);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* 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;
}
@java.lang.Override
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) {
getCommandExecutionUUIDFieldBuilder();
getLifetimeOfExecutionFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
commandExecutionUUID_ = null;
if (commandExecutionUUIDBuilder_ != null) {
commandExecutionUUIDBuilder_.dispose();
commandExecutionUUIDBuilder_ = null;
}
lifetimeOfExecution_ = null;
if (lifetimeOfExecutionBuilder_ != null) {
lifetimeOfExecutionBuilder_.dispose();
lifetimeOfExecutionBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_CommandConfirmation_descriptor;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.CommandConfirmation getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.CommandConfirmation.getDefaultInstance();
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.CommandConfirmation build() {
sila2.org.silastandard.SiLAFramework.CommandConfirmation result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.CommandConfirmation buildPartial() {
sila2.org.silastandard.SiLAFramework.CommandConfirmation result = new sila2.org.silastandard.SiLAFramework.CommandConfirmation(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(sila2.org.silastandard.SiLAFramework.CommandConfirmation result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.commandExecutionUUID_ = commandExecutionUUIDBuilder_ == null
? commandExecutionUUID_
: commandExecutionUUIDBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.lifetimeOfExecution_ = lifetimeOfExecutionBuilder_ == null
? lifetimeOfExecution_
: lifetimeOfExecutionBuilder_.build();
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof 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.hasCommandExecutionUUID()) {
mergeCommandExecutionUUID(other.getCommandExecutionUUID());
}
if (other.hasLifetimeOfExecution()) {
mergeLifetimeOfExecution(other.getLifetimeOfExecution());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getCommandExecutionUUIDFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getLifetimeOfExecutionFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private sila2.org.silastandard.SiLAFramework.CommandExecutionUUID commandExecutionUUID_;
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.CommandExecutionUUID, sila2.org.silastandard.SiLAFramework.CommandExecutionUUID.Builder, sila2.org.silastandard.SiLAFramework.CommandExecutionUUIDOrBuilder> commandExecutionUUIDBuilder_;
/**
* .sila2.org.silastandard.CommandExecutionUUID commandExecutionUUID = 1;
* @return Whether the commandExecutionUUID field is set.
*/
public boolean hasCommandExecutionUUID() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .sila2.org.silastandard.CommandExecutionUUID commandExecutionUUID = 1;
* @return The commandExecutionUUID.
*/
public sila2.org.silastandard.SiLAFramework.CommandExecutionUUID getCommandExecutionUUID() {
if (commandExecutionUUIDBuilder_ == null) {
return commandExecutionUUID_ == null ? sila2.org.silastandard.SiLAFramework.CommandExecutionUUID.getDefaultInstance() : commandExecutionUUID_;
} else {
return commandExecutionUUIDBuilder_.getMessage();
}
}
/**
* .sila2.org.silastandard.CommandExecutionUUID commandExecutionUUID = 1;
*/
public Builder setCommandExecutionUUID(sila2.org.silastandard.SiLAFramework.CommandExecutionUUID value) {
if (commandExecutionUUIDBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
commandExecutionUUID_ = value;
} else {
commandExecutionUUIDBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .sila2.org.silastandard.CommandExecutionUUID commandExecutionUUID = 1;
*/
public Builder setCommandExecutionUUID(
sila2.org.silastandard.SiLAFramework.CommandExecutionUUID.Builder builderForValue) {
if (commandExecutionUUIDBuilder_ == null) {
commandExecutionUUID_ = builderForValue.build();
} else {
commandExecutionUUIDBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .sila2.org.silastandard.CommandExecutionUUID commandExecutionUUID = 1;
*/
public Builder mergeCommandExecutionUUID(sila2.org.silastandard.SiLAFramework.CommandExecutionUUID value) {
if (commandExecutionUUIDBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
commandExecutionUUID_ != null &&
commandExecutionUUID_ != sila2.org.silastandard.SiLAFramework.CommandExecutionUUID.getDefaultInstance()) {
getCommandExecutionUUIDBuilder().mergeFrom(value);
} else {
commandExecutionUUID_ = value;
}
} else {
commandExecutionUUIDBuilder_.mergeFrom(value);
}
if (commandExecutionUUID_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* .sila2.org.silastandard.CommandExecutionUUID commandExecutionUUID = 1;
*/
public Builder clearCommandExecutionUUID() {
bitField0_ = (bitField0_ & ~0x00000001);
commandExecutionUUID_ = null;
if (commandExecutionUUIDBuilder_ != null) {
commandExecutionUUIDBuilder_.dispose();
commandExecutionUUIDBuilder_ = null;
}
onChanged();
return this;
}
/**
* .sila2.org.silastandard.CommandExecutionUUID commandExecutionUUID = 1;
*/
public sila2.org.silastandard.SiLAFramework.CommandExecutionUUID.Builder getCommandExecutionUUIDBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getCommandExecutionUUIDFieldBuilder().getBuilder();
}
/**
* .sila2.org.silastandard.CommandExecutionUUID commandExecutionUUID = 1;
*/
public sila2.org.silastandard.SiLAFramework.CommandExecutionUUIDOrBuilder getCommandExecutionUUIDOrBuilder() {
if (commandExecutionUUIDBuilder_ != null) {
return commandExecutionUUIDBuilder_.getMessageOrBuilder();
} else {
return commandExecutionUUID_ == null ?
sila2.org.silastandard.SiLAFramework.CommandExecutionUUID.getDefaultInstance() : commandExecutionUUID_;
}
}
/**
* .sila2.org.silastandard.CommandExecutionUUID commandExecutionUUID = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.CommandExecutionUUID, sila2.org.silastandard.SiLAFramework.CommandExecutionUUID.Builder, sila2.org.silastandard.SiLAFramework.CommandExecutionUUIDOrBuilder>
getCommandExecutionUUIDFieldBuilder() {
if (commandExecutionUUIDBuilder_ == null) {
commandExecutionUUIDBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.CommandExecutionUUID, sila2.org.silastandard.SiLAFramework.CommandExecutionUUID.Builder, sila2.org.silastandard.SiLAFramework.CommandExecutionUUIDOrBuilder>(
getCommandExecutionUUID(),
getParentForChildren(),
isClean());
commandExecutionUUID_ = null;
}
return commandExecutionUUIDBuilder_;
}
private sila2.org.silastandard.SiLAFramework.Duration lifetimeOfExecution_;
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;
* @return Whether the lifetimeOfExecution field is set.
*/
public boolean hasLifetimeOfExecution() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* .sila2.org.silastandard.Duration lifetimeOfExecution = 2;
* @return The lifetimeOfExecution.
*/
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;
} else {
lifetimeOfExecutionBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* .sila2.org.silastandard.Duration lifetimeOfExecution = 2;
*/
public Builder setLifetimeOfExecution(
sila2.org.silastandard.SiLAFramework.Duration.Builder builderForValue) {
if (lifetimeOfExecutionBuilder_ == null) {
lifetimeOfExecution_ = builderForValue.build();
} else {
lifetimeOfExecutionBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* .sila2.org.silastandard.Duration lifetimeOfExecution = 2;
*/
public Builder mergeLifetimeOfExecution(sila2.org.silastandard.SiLAFramework.Duration value) {
if (lifetimeOfExecutionBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
lifetimeOfExecution_ != null &&
lifetimeOfExecution_ != sila2.org.silastandard.SiLAFramework.Duration.getDefaultInstance()) {
getLifetimeOfExecutionBuilder().mergeFrom(value);
} else {
lifetimeOfExecution_ = value;
}
} else {
lifetimeOfExecutionBuilder_.mergeFrom(value);
}
if (lifetimeOfExecution_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* .sila2.org.silastandard.Duration lifetimeOfExecution = 2;
*/
public Builder clearLifetimeOfExecution() {
bitField0_ = (bitField0_ & ~0x00000002);
lifetimeOfExecution_ = null;
if (lifetimeOfExecutionBuilder_ != null) {
lifetimeOfExecutionBuilder_.dispose();
lifetimeOfExecutionBuilder_ = null;
}
onChanged();
return this;
}
/**
* .sila2.org.silastandard.Duration lifetimeOfExecution = 2;
*/
public sila2.org.silastandard.SiLAFramework.Duration.Builder getLifetimeOfExecutionBuilder() {
bitField0_ |= 0x00000002;
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_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope: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() {
@java.lang.Override
public CommandConfirmation parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
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;
* @return The enum numeric value on the wire for commandStatus.
*/
int getCommandStatusValue();
/**
* .sila2.org.silastandard.ExecutionInfo.CommandStatus commandStatus = 1;
* @return The commandStatus.
*/
sila2.org.silastandard.SiLAFramework.ExecutionInfo.CommandStatus getCommandStatus();
/**
* .sila2.org.silastandard.Real progressInfo = 2;
* @return Whether the progressInfo field is set.
*/
boolean hasProgressInfo();
/**
* .sila2.org.silastandard.Real progressInfo = 2;
* @return The progressInfo.
*/
sila2.org.silastandard.SiLAFramework.Real getProgressInfo();
/**
* .sila2.org.silastandard.Real progressInfo = 2;
*/
sila2.org.silastandard.SiLAFramework.RealOrBuilder getProgressInfoOrBuilder();
/**
* .sila2.org.silastandard.Duration estimatedRemainingTime = 3;
* @return Whether the estimatedRemainingTime field is set.
*/
boolean hasEstimatedRemainingTime();
/**
* .sila2.org.silastandard.Duration estimatedRemainingTime = 3;
* @return The estimatedRemainingTime.
*/
sila2.org.silastandard.SiLAFramework.Duration getEstimatedRemainingTime();
/**
* .sila2.org.silastandard.Duration estimatedRemainingTime = 3;
*/
sila2.org.silastandard.SiLAFramework.DurationOrBuilder getEstimatedRemainingTimeOrBuilder();
/**
* .sila2.org.silastandard.Duration updatedLifetimeOfExecution = 4;
* @return Whether the updatedLifetimeOfExecution field is set.
*/
boolean hasUpdatedLifetimeOfExecution();
/**
* .sila2.org.silastandard.Duration updatedLifetimeOfExecution = 4;
* @return The updatedLifetimeOfExecution.
*/
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
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ExecutionInfo();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_ExecutionInfo_descriptor;
}
@java.lang.Override
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;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static CommandStatus valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire 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() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
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)
}
private int bitField0_;
public static final int COMMANDSTATUS_FIELD_NUMBER = 1;
private int commandStatus_ = 0;
/**
* .sila2.org.silastandard.ExecutionInfo.CommandStatus commandStatus = 1;
* @return The enum numeric value on the wire for commandStatus.
*/
@java.lang.Override public int getCommandStatusValue() {
return commandStatus_;
}
/**
* .sila2.org.silastandard.ExecutionInfo.CommandStatus commandStatus = 1;
* @return The commandStatus.
*/
@java.lang.Override public sila2.org.silastandard.SiLAFramework.ExecutionInfo.CommandStatus getCommandStatus() {
sila2.org.silastandard.SiLAFramework.ExecutionInfo.CommandStatus result = sila2.org.silastandard.SiLAFramework.ExecutionInfo.CommandStatus.forNumber(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;
* @return Whether the progressInfo field is set.
*/
@java.lang.Override
public boolean hasProgressInfo() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .sila2.org.silastandard.Real progressInfo = 2;
* @return The progressInfo.
*/
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.Real getProgressInfo() {
return progressInfo_ == null ? sila2.org.silastandard.SiLAFramework.Real.getDefaultInstance() : progressInfo_;
}
/**
* .sila2.org.silastandard.Real progressInfo = 2;
*/
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.RealOrBuilder getProgressInfoOrBuilder() {
return progressInfo_ == null ? sila2.org.silastandard.SiLAFramework.Real.getDefaultInstance() : progressInfo_;
}
public static final int ESTIMATEDREMAININGTIME_FIELD_NUMBER = 3;
private sila2.org.silastandard.SiLAFramework.Duration estimatedRemainingTime_;
/**
* .sila2.org.silastandard.Duration estimatedRemainingTime = 3;
* @return Whether the estimatedRemainingTime field is set.
*/
@java.lang.Override
public boolean hasEstimatedRemainingTime() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* .sila2.org.silastandard.Duration estimatedRemainingTime = 3;
* @return The estimatedRemainingTime.
*/
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.Duration getEstimatedRemainingTime() {
return estimatedRemainingTime_ == null ? sila2.org.silastandard.SiLAFramework.Duration.getDefaultInstance() : estimatedRemainingTime_;
}
/**
* .sila2.org.silastandard.Duration estimatedRemainingTime = 3;
*/
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.DurationOrBuilder getEstimatedRemainingTimeOrBuilder() {
return estimatedRemainingTime_ == null ? sila2.org.silastandard.SiLAFramework.Duration.getDefaultInstance() : estimatedRemainingTime_;
}
public static final int UPDATEDLIFETIMEOFEXECUTION_FIELD_NUMBER = 4;
private sila2.org.silastandard.SiLAFramework.Duration updatedLifetimeOfExecution_;
/**
* .sila2.org.silastandard.Duration updatedLifetimeOfExecution = 4;
* @return Whether the updatedLifetimeOfExecution field is set.
*/
@java.lang.Override
public boolean hasUpdatedLifetimeOfExecution() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* .sila2.org.silastandard.Duration updatedLifetimeOfExecution = 4;
* @return The updatedLifetimeOfExecution.
*/
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.Duration getUpdatedLifetimeOfExecution() {
return updatedLifetimeOfExecution_ == null ? sila2.org.silastandard.SiLAFramework.Duration.getDefaultInstance() : updatedLifetimeOfExecution_;
}
/**
* .sila2.org.silastandard.Duration updatedLifetimeOfExecution = 4;
*/
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.DurationOrBuilder getUpdatedLifetimeOfExecutionOrBuilder() {
return updatedLifetimeOfExecution_ == null ? sila2.org.silastandard.SiLAFramework.Duration.getDefaultInstance() : updatedLifetimeOfExecution_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (commandStatus_ != sila2.org.silastandard.SiLAFramework.ExecutionInfo.CommandStatus.waiting.getNumber()) {
output.writeEnum(1, commandStatus_);
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(2, getProgressInfo());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(3, getEstimatedRemainingTime());
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(4, getUpdatedLifetimeOfExecution());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
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 (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getProgressInfo());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getEstimatedRemainingTime());
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getUpdatedLifetimeOfExecution());
}
size += getUnknownFields().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;
if (commandStatus_ != other.commandStatus_) return false;
if (hasProgressInfo() != other.hasProgressInfo()) return false;
if (hasProgressInfo()) {
if (!getProgressInfo()
.equals(other.getProgressInfo())) return false;
}
if (hasEstimatedRemainingTime() != other.hasEstimatedRemainingTime()) return false;
if (hasEstimatedRemainingTime()) {
if (!getEstimatedRemainingTime()
.equals(other.getEstimatedRemainingTime())) return false;
}
if (hasUpdatedLifetimeOfExecution() != other.hasUpdatedLifetimeOfExecution()) return false;
if (hasUpdatedLifetimeOfExecution()) {
if (!getUpdatedLifetimeOfExecution()
.equals(other.getUpdatedLifetimeOfExecution())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + 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) + getUnknownFields().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);
}
@java.lang.Override
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);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* 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;
}
@java.lang.Override
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) {
getProgressInfoFieldBuilder();
getEstimatedRemainingTimeFieldBuilder();
getUpdatedLifetimeOfExecutionFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
commandStatus_ = 0;
progressInfo_ = null;
if (progressInfoBuilder_ != null) {
progressInfoBuilder_.dispose();
progressInfoBuilder_ = null;
}
estimatedRemainingTime_ = null;
if (estimatedRemainingTimeBuilder_ != null) {
estimatedRemainingTimeBuilder_.dispose();
estimatedRemainingTimeBuilder_ = null;
}
updatedLifetimeOfExecution_ = null;
if (updatedLifetimeOfExecutionBuilder_ != null) {
updatedLifetimeOfExecutionBuilder_.dispose();
updatedLifetimeOfExecutionBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_ExecutionInfo_descriptor;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.ExecutionInfo getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.ExecutionInfo.getDefaultInstance();
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.ExecutionInfo build() {
sila2.org.silastandard.SiLAFramework.ExecutionInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.ExecutionInfo buildPartial() {
sila2.org.silastandard.SiLAFramework.ExecutionInfo result = new sila2.org.silastandard.SiLAFramework.ExecutionInfo(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(sila2.org.silastandard.SiLAFramework.ExecutionInfo result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.commandStatus_ = commandStatus_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000002) != 0)) {
result.progressInfo_ = progressInfoBuilder_ == null
? progressInfo_
: progressInfoBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.estimatedRemainingTime_ = estimatedRemainingTimeBuilder_ == null
? estimatedRemainingTime_
: estimatedRemainingTimeBuilder_.build();
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.updatedLifetimeOfExecution_ = updatedLifetimeOfExecutionBuilder_ == null
? updatedLifetimeOfExecution_
: updatedLifetimeOfExecutionBuilder_.build();
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof 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.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
commandStatus_ = input.readEnum();
bitField0_ |= 0x00000001;
break;
} // case 8
case 18: {
input.readMessage(
getProgressInfoFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
input.readMessage(
getEstimatedRemainingTimeFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
input.readMessage(
getUpdatedLifetimeOfExecutionFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000008;
break;
} // case 34
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int commandStatus_ = 0;
/**
* .sila2.org.silastandard.ExecutionInfo.CommandStatus commandStatus = 1;
* @return The enum numeric value on the wire for commandStatus.
*/
@java.lang.Override public int getCommandStatusValue() {
return commandStatus_;
}
/**
* .sila2.org.silastandard.ExecutionInfo.CommandStatus commandStatus = 1;
* @param value The enum numeric value on the wire for commandStatus to set.
* @return This builder for chaining.
*/
public Builder setCommandStatusValue(int value) {
commandStatus_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .sila2.org.silastandard.ExecutionInfo.CommandStatus commandStatus = 1;
* @return The commandStatus.
*/
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.ExecutionInfo.CommandStatus getCommandStatus() {
sila2.org.silastandard.SiLAFramework.ExecutionInfo.CommandStatus result = sila2.org.silastandard.SiLAFramework.ExecutionInfo.CommandStatus.forNumber(commandStatus_);
return result == null ? sila2.org.silastandard.SiLAFramework.ExecutionInfo.CommandStatus.UNRECOGNIZED : result;
}
/**
* .sila2.org.silastandard.ExecutionInfo.CommandStatus commandStatus = 1;
* @param value The commandStatus to set.
* @return This builder for chaining.
*/
public Builder setCommandStatus(sila2.org.silastandard.SiLAFramework.ExecutionInfo.CommandStatus value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
commandStatus_ = value.getNumber();
onChanged();
return this;
}
/**
* .sila2.org.silastandard.ExecutionInfo.CommandStatus commandStatus = 1;
* @return This builder for chaining.
*/
public Builder clearCommandStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
commandStatus_ = 0;
onChanged();
return this;
}
private sila2.org.silastandard.SiLAFramework.Real progressInfo_;
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;
* @return Whether the progressInfo field is set.
*/
public boolean hasProgressInfo() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* .sila2.org.silastandard.Real progressInfo = 2;
* @return The progressInfo.
*/
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;
} else {
progressInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* .sila2.org.silastandard.Real progressInfo = 2;
*/
public Builder setProgressInfo(
sila2.org.silastandard.SiLAFramework.Real.Builder builderForValue) {
if (progressInfoBuilder_ == null) {
progressInfo_ = builderForValue.build();
} else {
progressInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* .sila2.org.silastandard.Real progressInfo = 2;
*/
public Builder mergeProgressInfo(sila2.org.silastandard.SiLAFramework.Real value) {
if (progressInfoBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
progressInfo_ != null &&
progressInfo_ != sila2.org.silastandard.SiLAFramework.Real.getDefaultInstance()) {
getProgressInfoBuilder().mergeFrom(value);
} else {
progressInfo_ = value;
}
} else {
progressInfoBuilder_.mergeFrom(value);
}
if (progressInfo_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* .sila2.org.silastandard.Real progressInfo = 2;
*/
public Builder clearProgressInfo() {
bitField0_ = (bitField0_ & ~0x00000002);
progressInfo_ = null;
if (progressInfoBuilder_ != null) {
progressInfoBuilder_.dispose();
progressInfoBuilder_ = null;
}
onChanged();
return this;
}
/**
* .sila2.org.silastandard.Real progressInfo = 2;
*/
public sila2.org.silastandard.SiLAFramework.Real.Builder getProgressInfoBuilder() {
bitField0_ |= 0x00000002;
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_;
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;
* @return Whether the estimatedRemainingTime field is set.
*/
public boolean hasEstimatedRemainingTime() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* .sila2.org.silastandard.Duration estimatedRemainingTime = 3;
* @return The estimatedRemainingTime.
*/
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;
} else {
estimatedRemainingTimeBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* .sila2.org.silastandard.Duration estimatedRemainingTime = 3;
*/
public Builder setEstimatedRemainingTime(
sila2.org.silastandard.SiLAFramework.Duration.Builder builderForValue) {
if (estimatedRemainingTimeBuilder_ == null) {
estimatedRemainingTime_ = builderForValue.build();
} else {
estimatedRemainingTimeBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* .sila2.org.silastandard.Duration estimatedRemainingTime = 3;
*/
public Builder mergeEstimatedRemainingTime(sila2.org.silastandard.SiLAFramework.Duration value) {
if (estimatedRemainingTimeBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
estimatedRemainingTime_ != null &&
estimatedRemainingTime_ != sila2.org.silastandard.SiLAFramework.Duration.getDefaultInstance()) {
getEstimatedRemainingTimeBuilder().mergeFrom(value);
} else {
estimatedRemainingTime_ = value;
}
} else {
estimatedRemainingTimeBuilder_.mergeFrom(value);
}
if (estimatedRemainingTime_ != null) {
bitField0_ |= 0x00000004;
onChanged();
}
return this;
}
/**
* .sila2.org.silastandard.Duration estimatedRemainingTime = 3;
*/
public Builder clearEstimatedRemainingTime() {
bitField0_ = (bitField0_ & ~0x00000004);
estimatedRemainingTime_ = null;
if (estimatedRemainingTimeBuilder_ != null) {
estimatedRemainingTimeBuilder_.dispose();
estimatedRemainingTimeBuilder_ = null;
}
onChanged();
return this;
}
/**
* .sila2.org.silastandard.Duration estimatedRemainingTime = 3;
*/
public sila2.org.silastandard.SiLAFramework.Duration.Builder getEstimatedRemainingTimeBuilder() {
bitField0_ |= 0x00000004;
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_;
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;
* @return Whether the updatedLifetimeOfExecution field is set.
*/
public boolean hasUpdatedLifetimeOfExecution() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* .sila2.org.silastandard.Duration updatedLifetimeOfExecution = 4;
* @return The updatedLifetimeOfExecution.
*/
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;
} else {
updatedLifetimeOfExecutionBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* .sila2.org.silastandard.Duration updatedLifetimeOfExecution = 4;
*/
public Builder setUpdatedLifetimeOfExecution(
sila2.org.silastandard.SiLAFramework.Duration.Builder builderForValue) {
if (updatedLifetimeOfExecutionBuilder_ == null) {
updatedLifetimeOfExecution_ = builderForValue.build();
} else {
updatedLifetimeOfExecutionBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* .sila2.org.silastandard.Duration updatedLifetimeOfExecution = 4;
*/
public Builder mergeUpdatedLifetimeOfExecution(sila2.org.silastandard.SiLAFramework.Duration value) {
if (updatedLifetimeOfExecutionBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
updatedLifetimeOfExecution_ != null &&
updatedLifetimeOfExecution_ != sila2.org.silastandard.SiLAFramework.Duration.getDefaultInstance()) {
getUpdatedLifetimeOfExecutionBuilder().mergeFrom(value);
} else {
updatedLifetimeOfExecution_ = value;
}
} else {
updatedLifetimeOfExecutionBuilder_.mergeFrom(value);
}
if (updatedLifetimeOfExecution_ != null) {
bitField0_ |= 0x00000008;
onChanged();
}
return this;
}
/**
* .sila2.org.silastandard.Duration updatedLifetimeOfExecution = 4;
*/
public Builder clearUpdatedLifetimeOfExecution() {
bitField0_ = (bitField0_ & ~0x00000008);
updatedLifetimeOfExecution_ = null;
if (updatedLifetimeOfExecutionBuilder_ != null) {
updatedLifetimeOfExecutionBuilder_.dispose();
updatedLifetimeOfExecutionBuilder_ = null;
}
onChanged();
return this;
}
/**
* .sila2.org.silastandard.Duration updatedLifetimeOfExecution = 4;
*/
public sila2.org.silastandard.SiLAFramework.Duration.Builder getUpdatedLifetimeOfExecutionBuilder() {
bitField0_ |= 0x00000008;
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_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope: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() {
@java.lang.Override
public ExecutionInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
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;
* @return Whether the validationError field is set.
*/
boolean hasValidationError();
/**
* .sila2.org.silastandard.ValidationError validationError = 1;
* @return The validationError.
*/
sila2.org.silastandard.SiLAFramework.ValidationError getValidationError();
/**
* .sila2.org.silastandard.ValidationError validationError = 1;
*/
sila2.org.silastandard.SiLAFramework.ValidationErrorOrBuilder getValidationErrorOrBuilder();
/**
* .sila2.org.silastandard.DefinedExecutionError definedExecutionError = 2;
* @return Whether the definedExecutionError field is set.
*/
boolean hasDefinedExecutionError();
/**
* .sila2.org.silastandard.DefinedExecutionError definedExecutionError = 2;
* @return The definedExecutionError.
*/
sila2.org.silastandard.SiLAFramework.DefinedExecutionError getDefinedExecutionError();
/**
* .sila2.org.silastandard.DefinedExecutionError definedExecutionError = 2;
*/
sila2.org.silastandard.SiLAFramework.DefinedExecutionErrorOrBuilder getDefinedExecutionErrorOrBuilder();
/**
* .sila2.org.silastandard.UndefinedExecutionError undefinedExecutionError = 3;
* @return Whether the undefinedExecutionError field is set.
*/
boolean hasUndefinedExecutionError();
/**
* .sila2.org.silastandard.UndefinedExecutionError undefinedExecutionError = 3;
* @return The undefinedExecutionError.
*/
sila2.org.silastandard.SiLAFramework.UndefinedExecutionError getUndefinedExecutionError();
/**
* .sila2.org.silastandard.UndefinedExecutionError undefinedExecutionError = 3;
*/
sila2.org.silastandard.SiLAFramework.UndefinedExecutionErrorOrBuilder getUndefinedExecutionErrorOrBuilder();
/**
* .sila2.org.silastandard.FrameworkError frameworkError = 4;
* @return Whether the frameworkError field is set.
*/
boolean hasFrameworkError();
/**
* .sila2.org.silastandard.FrameworkError frameworkError = 4;
* @return The frameworkError.
*/
sila2.org.silastandard.SiLAFramework.FrameworkError getFrameworkError();
/**
* .sila2.org.silastandard.FrameworkError frameworkError = 4;
*/
sila2.org.silastandard.SiLAFramework.FrameworkErrorOrBuilder getFrameworkErrorOrBuilder();
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
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SiLAError();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_SiLAError_descriptor;
}
@java.lang.Override
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;
@SuppressWarnings("serial")
private java.lang.Object error_;
public enum ErrorCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
VALIDATIONERROR(1),
DEFINEDEXECUTIONERROR(2),
UNDEFINEDEXECUTIONERROR(3),
FRAMEWORKERROR(4),
ERROR_NOT_SET(0);
private final int value;
private ErrorCase(int value) {
this.value = value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @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 DEFINEDEXECUTIONERROR;
case 3: return UNDEFINEDEXECUTIONERROR;
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;
* @return Whether the validationError field is set.
*/
@java.lang.Override
public boolean hasValidationError() {
return errorCase_ == 1;
}
/**
* .sila2.org.silastandard.ValidationError validationError = 1;
* @return The validationError.
*/
@java.lang.Override
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;
*/
@java.lang.Override
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 DEFINEDEXECUTIONERROR_FIELD_NUMBER = 2;
/**
* .sila2.org.silastandard.DefinedExecutionError definedExecutionError = 2;
* @return Whether the definedExecutionError field is set.
*/
@java.lang.Override
public boolean hasDefinedExecutionError() {
return errorCase_ == 2;
}
/**
* .sila2.org.silastandard.DefinedExecutionError definedExecutionError = 2;
* @return The definedExecutionError.
*/
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.DefinedExecutionError getDefinedExecutionError() {
if (errorCase_ == 2) {
return (sila2.org.silastandard.SiLAFramework.DefinedExecutionError) error_;
}
return sila2.org.silastandard.SiLAFramework.DefinedExecutionError.getDefaultInstance();
}
/**
* .sila2.org.silastandard.DefinedExecutionError definedExecutionError = 2;
*/
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.DefinedExecutionErrorOrBuilder getDefinedExecutionErrorOrBuilder() {
if (errorCase_ == 2) {
return (sila2.org.silastandard.SiLAFramework.DefinedExecutionError) error_;
}
return sila2.org.silastandard.SiLAFramework.DefinedExecutionError.getDefaultInstance();
}
public static final int UNDEFINEDEXECUTIONERROR_FIELD_NUMBER = 3;
/**
* .sila2.org.silastandard.UndefinedExecutionError undefinedExecutionError = 3;
* @return Whether the undefinedExecutionError field is set.
*/
@java.lang.Override
public boolean hasUndefinedExecutionError() {
return errorCase_ == 3;
}
/**
* .sila2.org.silastandard.UndefinedExecutionError undefinedExecutionError = 3;
* @return The undefinedExecutionError.
*/
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.UndefinedExecutionError getUndefinedExecutionError() {
if (errorCase_ == 3) {
return (sila2.org.silastandard.SiLAFramework.UndefinedExecutionError) error_;
}
return sila2.org.silastandard.SiLAFramework.UndefinedExecutionError.getDefaultInstance();
}
/**
* .sila2.org.silastandard.UndefinedExecutionError undefinedExecutionError = 3;
*/
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.UndefinedExecutionErrorOrBuilder getUndefinedExecutionErrorOrBuilder() {
if (errorCase_ == 3) {
return (sila2.org.silastandard.SiLAFramework.UndefinedExecutionError) error_;
}
return sila2.org.silastandard.SiLAFramework.UndefinedExecutionError.getDefaultInstance();
}
public static final int FRAMEWORKERROR_FIELD_NUMBER = 4;
/**
* .sila2.org.silastandard.FrameworkError frameworkError = 4;
* @return Whether the frameworkError field is set.
*/
@java.lang.Override
public boolean hasFrameworkError() {
return errorCase_ == 4;
}
/**
* .sila2.org.silastandard.FrameworkError frameworkError = 4;
* @return The frameworkError.
*/
@java.lang.Override
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;
*/
@java.lang.Override
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;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (errorCase_ == 1) {
output.writeMessage(1, (sila2.org.silastandard.SiLAFramework.ValidationError) error_);
}
if (errorCase_ == 2) {
output.writeMessage(2, (sila2.org.silastandard.SiLAFramework.DefinedExecutionError) error_);
}
if (errorCase_ == 3) {
output.writeMessage(3, (sila2.org.silastandard.SiLAFramework.UndefinedExecutionError) error_);
}
if (errorCase_ == 4) {
output.writeMessage(4, (sila2.org.silastandard.SiLAFramework.FrameworkError) error_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
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.DefinedExecutionError) error_);
}
if (errorCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (sila2.org.silastandard.SiLAFramework.UndefinedExecutionError) error_);
}
if (errorCase_ == 4) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, (sila2.org.silastandard.SiLAFramework.FrameworkError) error_);
}
size += getUnknownFields().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;
if (!getErrorCase().equals(other.getErrorCase())) return false;
switch (errorCase_) {
case 1:
if (!getValidationError()
.equals(other.getValidationError())) return false;
break;
case 2:
if (!getDefinedExecutionError()
.equals(other.getDefinedExecutionError())) return false;
break;
case 3:
if (!getUndefinedExecutionError()
.equals(other.getUndefinedExecutionError())) return false;
break;
case 4:
if (!getFrameworkError()
.equals(other.getFrameworkError())) return false;
break;
case 0:
default:
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@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) + DEFINEDEXECUTIONERROR_FIELD_NUMBER;
hash = (53 * hash) + getDefinedExecutionError().hashCode();
break;
case 3:
hash = (37 * hash) + UNDEFINEDEXECUTIONERROR_FIELD_NUMBER;
hash = (53 * hash) + getUndefinedExecutionError().hashCode();
break;
case 4:
hash = (37 * hash) + FRAMEWORKERROR_FIELD_NUMBER;
hash = (53 * hash) + getFrameworkError().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + getUnknownFields().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);
}
@java.lang.Override
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);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* -------- 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;
}
@java.lang.Override
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() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
if (validationErrorBuilder_ != null) {
validationErrorBuilder_.clear();
}
if (definedExecutionErrorBuilder_ != null) {
definedExecutionErrorBuilder_.clear();
}
if (undefinedExecutionErrorBuilder_ != null) {
undefinedExecutionErrorBuilder_.clear();
}
if (frameworkErrorBuilder_ != null) {
frameworkErrorBuilder_.clear();
}
errorCase_ = 0;
error_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_SiLAError_descriptor;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.SiLAError getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.SiLAError.getDefaultInstance();
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.SiLAError build() {
sila2.org.silastandard.SiLAFramework.SiLAError result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.SiLAError buildPartial() {
sila2.org.silastandard.SiLAFramework.SiLAError result = new sila2.org.silastandard.SiLAFramework.SiLAError(this);
if (bitField0_ != 0) { buildPartial0(result); }
buildPartialOneofs(result);
onBuilt();
return result;
}
private void buildPartial0(sila2.org.silastandard.SiLAFramework.SiLAError result) {
int from_bitField0_ = bitField0_;
}
private void buildPartialOneofs(sila2.org.silastandard.SiLAFramework.SiLAError result) {
result.errorCase_ = errorCase_;
result.error_ = this.error_;
if (errorCase_ == 1 &&
validationErrorBuilder_ != null) {
result.error_ = validationErrorBuilder_.build();
}
if (errorCase_ == 2 &&
definedExecutionErrorBuilder_ != null) {
result.error_ = definedExecutionErrorBuilder_.build();
}
if (errorCase_ == 3 &&
undefinedExecutionErrorBuilder_ != null) {
result.error_ = undefinedExecutionErrorBuilder_.build();
}
if (errorCase_ == 4 &&
frameworkErrorBuilder_ != null) {
result.error_ = frameworkErrorBuilder_.build();
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof 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 DEFINEDEXECUTIONERROR: {
mergeDefinedExecutionError(other.getDefinedExecutionError());
break;
}
case UNDEFINEDEXECUTIONERROR: {
mergeUndefinedExecutionError(other.getUndefinedExecutionError());
break;
}
case FRAMEWORKERROR: {
mergeFrameworkError(other.getFrameworkError());
break;
}
case ERROR_NOT_SET: {
break;
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getValidationErrorFieldBuilder().getBuilder(),
extensionRegistry);
errorCase_ = 1;
break;
} // case 10
case 18: {
input.readMessage(
getDefinedExecutionErrorFieldBuilder().getBuilder(),
extensionRegistry);
errorCase_ = 2;
break;
} // case 18
case 26: {
input.readMessage(
getUndefinedExecutionErrorFieldBuilder().getBuilder(),
extensionRegistry);
errorCase_ = 3;
break;
} // case 26
case 34: {
input.readMessage(
getFrameworkErrorFieldBuilder().getBuilder(),
extensionRegistry);
errorCase_ = 4;
break;
} // case 34
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
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 int bitField0_;
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;
* @return Whether the validationError field is set.
*/
@java.lang.Override
public boolean hasValidationError() {
return errorCase_ == 1;
}
/**
* .sila2.org.silastandard.ValidationError validationError = 1;
* @return The validationError.
*/
@java.lang.Override
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);
} else {
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;
*/
@java.lang.Override
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.DefinedExecutionError, sila2.org.silastandard.SiLAFramework.DefinedExecutionError.Builder, sila2.org.silastandard.SiLAFramework.DefinedExecutionErrorOrBuilder> definedExecutionErrorBuilder_;
/**
* .sila2.org.silastandard.DefinedExecutionError definedExecutionError = 2;
* @return Whether the definedExecutionError field is set.
*/
@java.lang.Override
public boolean hasDefinedExecutionError() {
return errorCase_ == 2;
}
/**
* .sila2.org.silastandard.DefinedExecutionError definedExecutionError = 2;
* @return The definedExecutionError.
*/
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.DefinedExecutionError getDefinedExecutionError() {
if (definedExecutionErrorBuilder_ == null) {
if (errorCase_ == 2) {
return (sila2.org.silastandard.SiLAFramework.DefinedExecutionError) error_;
}
return sila2.org.silastandard.SiLAFramework.DefinedExecutionError.getDefaultInstance();
} else {
if (errorCase_ == 2) {
return definedExecutionErrorBuilder_.getMessage();
}
return sila2.org.silastandard.SiLAFramework.DefinedExecutionError.getDefaultInstance();
}
}
/**
* .sila2.org.silastandard.DefinedExecutionError definedExecutionError = 2;
*/
public Builder setDefinedExecutionError(sila2.org.silastandard.SiLAFramework.DefinedExecutionError value) {
if (definedExecutionErrorBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
error_ = value;
onChanged();
} else {
definedExecutionErrorBuilder_.setMessage(value);
}
errorCase_ = 2;
return this;
}
/**
* .sila2.org.silastandard.DefinedExecutionError definedExecutionError = 2;
*/
public Builder setDefinedExecutionError(
sila2.org.silastandard.SiLAFramework.DefinedExecutionError.Builder builderForValue) {
if (definedExecutionErrorBuilder_ == null) {
error_ = builderForValue.build();
onChanged();
} else {
definedExecutionErrorBuilder_.setMessage(builderForValue.build());
}
errorCase_ = 2;
return this;
}
/**
* .sila2.org.silastandard.DefinedExecutionError definedExecutionError = 2;
*/
public Builder mergeDefinedExecutionError(sila2.org.silastandard.SiLAFramework.DefinedExecutionError value) {
if (definedExecutionErrorBuilder_ == null) {
if (errorCase_ == 2 &&
error_ != sila2.org.silastandard.SiLAFramework.DefinedExecutionError.getDefaultInstance()) {
error_ = sila2.org.silastandard.SiLAFramework.DefinedExecutionError.newBuilder((sila2.org.silastandard.SiLAFramework.DefinedExecutionError) error_)
.mergeFrom(value).buildPartial();
} else {
error_ = value;
}
onChanged();
} else {
if (errorCase_ == 2) {
definedExecutionErrorBuilder_.mergeFrom(value);
} else {
definedExecutionErrorBuilder_.setMessage(value);
}
}
errorCase_ = 2;
return this;
}
/**
* .sila2.org.silastandard.DefinedExecutionError definedExecutionError = 2;
*/
public Builder clearDefinedExecutionError() {
if (definedExecutionErrorBuilder_ == null) {
if (errorCase_ == 2) {
errorCase_ = 0;
error_ = null;
onChanged();
}
} else {
if (errorCase_ == 2) {
errorCase_ = 0;
error_ = null;
}
definedExecutionErrorBuilder_.clear();
}
return this;
}
/**
* .sila2.org.silastandard.DefinedExecutionError definedExecutionError = 2;
*/
public sila2.org.silastandard.SiLAFramework.DefinedExecutionError.Builder getDefinedExecutionErrorBuilder() {
return getDefinedExecutionErrorFieldBuilder().getBuilder();
}
/**
* .sila2.org.silastandard.DefinedExecutionError definedExecutionError = 2;
*/
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.DefinedExecutionErrorOrBuilder getDefinedExecutionErrorOrBuilder() {
if ((errorCase_ == 2) && (definedExecutionErrorBuilder_ != null)) {
return definedExecutionErrorBuilder_.getMessageOrBuilder();
} else {
if (errorCase_ == 2) {
return (sila2.org.silastandard.SiLAFramework.DefinedExecutionError) error_;
}
return sila2.org.silastandard.SiLAFramework.DefinedExecutionError.getDefaultInstance();
}
}
/**
* .sila2.org.silastandard.DefinedExecutionError definedExecutionError = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.DefinedExecutionError, sila2.org.silastandard.SiLAFramework.DefinedExecutionError.Builder, sila2.org.silastandard.SiLAFramework.DefinedExecutionErrorOrBuilder>
getDefinedExecutionErrorFieldBuilder() {
if (definedExecutionErrorBuilder_ == null) {
if (!(errorCase_ == 2)) {
error_ = sila2.org.silastandard.SiLAFramework.DefinedExecutionError.getDefaultInstance();
}
definedExecutionErrorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.DefinedExecutionError, sila2.org.silastandard.SiLAFramework.DefinedExecutionError.Builder, sila2.org.silastandard.SiLAFramework.DefinedExecutionErrorOrBuilder>(
(sila2.org.silastandard.SiLAFramework.DefinedExecutionError) error_,
getParentForChildren(),
isClean());
error_ = null;
}
errorCase_ = 2;
onChanged();
return definedExecutionErrorBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.UndefinedExecutionError, sila2.org.silastandard.SiLAFramework.UndefinedExecutionError.Builder, sila2.org.silastandard.SiLAFramework.UndefinedExecutionErrorOrBuilder> undefinedExecutionErrorBuilder_;
/**
* .sila2.org.silastandard.UndefinedExecutionError undefinedExecutionError = 3;
* @return Whether the undefinedExecutionError field is set.
*/
@java.lang.Override
public boolean hasUndefinedExecutionError() {
return errorCase_ == 3;
}
/**
* .sila2.org.silastandard.UndefinedExecutionError undefinedExecutionError = 3;
* @return The undefinedExecutionError.
*/
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.UndefinedExecutionError getUndefinedExecutionError() {
if (undefinedExecutionErrorBuilder_ == null) {
if (errorCase_ == 3) {
return (sila2.org.silastandard.SiLAFramework.UndefinedExecutionError) error_;
}
return sila2.org.silastandard.SiLAFramework.UndefinedExecutionError.getDefaultInstance();
} else {
if (errorCase_ == 3) {
return undefinedExecutionErrorBuilder_.getMessage();
}
return sila2.org.silastandard.SiLAFramework.UndefinedExecutionError.getDefaultInstance();
}
}
/**
* .sila2.org.silastandard.UndefinedExecutionError undefinedExecutionError = 3;
*/
public Builder setUndefinedExecutionError(sila2.org.silastandard.SiLAFramework.UndefinedExecutionError value) {
if (undefinedExecutionErrorBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
error_ = value;
onChanged();
} else {
undefinedExecutionErrorBuilder_.setMessage(value);
}
errorCase_ = 3;
return this;
}
/**
* .sila2.org.silastandard.UndefinedExecutionError undefinedExecutionError = 3;
*/
public Builder setUndefinedExecutionError(
sila2.org.silastandard.SiLAFramework.UndefinedExecutionError.Builder builderForValue) {
if (undefinedExecutionErrorBuilder_ == null) {
error_ = builderForValue.build();
onChanged();
} else {
undefinedExecutionErrorBuilder_.setMessage(builderForValue.build());
}
errorCase_ = 3;
return this;
}
/**
* .sila2.org.silastandard.UndefinedExecutionError undefinedExecutionError = 3;
*/
public Builder mergeUndefinedExecutionError(sila2.org.silastandard.SiLAFramework.UndefinedExecutionError value) {
if (undefinedExecutionErrorBuilder_ == null) {
if (errorCase_ == 3 &&
error_ != sila2.org.silastandard.SiLAFramework.UndefinedExecutionError.getDefaultInstance()) {
error_ = sila2.org.silastandard.SiLAFramework.UndefinedExecutionError.newBuilder((sila2.org.silastandard.SiLAFramework.UndefinedExecutionError) error_)
.mergeFrom(value).buildPartial();
} else {
error_ = value;
}
onChanged();
} else {
if (errorCase_ == 3) {
undefinedExecutionErrorBuilder_.mergeFrom(value);
} else {
undefinedExecutionErrorBuilder_.setMessage(value);
}
}
errorCase_ = 3;
return this;
}
/**
* .sila2.org.silastandard.UndefinedExecutionError undefinedExecutionError = 3;
*/
public Builder clearUndefinedExecutionError() {
if (undefinedExecutionErrorBuilder_ == null) {
if (errorCase_ == 3) {
errorCase_ = 0;
error_ = null;
onChanged();
}
} else {
if (errorCase_ == 3) {
errorCase_ = 0;
error_ = null;
}
undefinedExecutionErrorBuilder_.clear();
}
return this;
}
/**
* .sila2.org.silastandard.UndefinedExecutionError undefinedExecutionError = 3;
*/
public sila2.org.silastandard.SiLAFramework.UndefinedExecutionError.Builder getUndefinedExecutionErrorBuilder() {
return getUndefinedExecutionErrorFieldBuilder().getBuilder();
}
/**
* .sila2.org.silastandard.UndefinedExecutionError undefinedExecutionError = 3;
*/
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.UndefinedExecutionErrorOrBuilder getUndefinedExecutionErrorOrBuilder() {
if ((errorCase_ == 3) && (undefinedExecutionErrorBuilder_ != null)) {
return undefinedExecutionErrorBuilder_.getMessageOrBuilder();
} else {
if (errorCase_ == 3) {
return (sila2.org.silastandard.SiLAFramework.UndefinedExecutionError) error_;
}
return sila2.org.silastandard.SiLAFramework.UndefinedExecutionError.getDefaultInstance();
}
}
/**
* .sila2.org.silastandard.UndefinedExecutionError undefinedExecutionError = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.UndefinedExecutionError, sila2.org.silastandard.SiLAFramework.UndefinedExecutionError.Builder, sila2.org.silastandard.SiLAFramework.UndefinedExecutionErrorOrBuilder>
getUndefinedExecutionErrorFieldBuilder() {
if (undefinedExecutionErrorBuilder_ == null) {
if (!(errorCase_ == 3)) {
error_ = sila2.org.silastandard.SiLAFramework.UndefinedExecutionError.getDefaultInstance();
}
undefinedExecutionErrorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
sila2.org.silastandard.SiLAFramework.UndefinedExecutionError, sila2.org.silastandard.SiLAFramework.UndefinedExecutionError.Builder, sila2.org.silastandard.SiLAFramework.UndefinedExecutionErrorOrBuilder>(
(sila2.org.silastandard.SiLAFramework.UndefinedExecutionError) error_,
getParentForChildren(),
isClean());
error_ = null;
}
errorCase_ = 3;
onChanged();
return undefinedExecutionErrorBuilder_;
}
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;
* @return Whether the frameworkError field is set.
*/
@java.lang.Override
public boolean hasFrameworkError() {
return errorCase_ == 4;
}
/**
* .sila2.org.silastandard.FrameworkError frameworkError = 4;
* @return The frameworkError.
*/
@java.lang.Override
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);
} else {
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;
*/
@java.lang.Override
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_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope: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() {
@java.lang.Override
public SiLAError parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
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 {
/**
*
* fully qualified parameter identifier
*
*
* string parameter = 1;
* @return The parameter.
*/
java.lang.String getParameter();
/**
*
* fully qualified parameter identifier
*
*
* string parameter = 1;
* @return The bytes for parameter.
*/
com.google.protobuf.ByteString
getParameterBytes();
/**
* string message = 2;
* @return The message.
*/
java.lang.String getMessage();
/**
* string message = 2;
* @return The bytes for message.
*/
com.google.protobuf.ByteString
getMessageBytes();
}
/**
* 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_ = "";
message_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ValidationError();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_ValidationError_descriptor;
}
@java.lang.Override
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;
@SuppressWarnings("serial")
private volatile java.lang.Object parameter_ = "";
/**
*
* fully qualified parameter identifier
*
*
* string parameter = 1;
* @return The parameter.
*/
@java.lang.Override
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;
}
}
/**
*
* fully qualified parameter identifier
*
*
* string parameter = 1;
* @return The bytes for parameter.
*/
@java.lang.Override
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 MESSAGE_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object message_ = "";
/**
* string message = 2;
* @return The message.
*/
@java.lang.Override
public java.lang.String getMessage() {
java.lang.Object ref = message_;
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();
message_ = s;
return s;
}
}
/**
* string message = 2;
* @return The bytes for message.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMessageBytes() {
java.lang.Object ref = message_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
message_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parameter_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parameter_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, message_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parameter_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parameter_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_);
}
size += getUnknownFields().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;
if (!getParameter()
.equals(other.getParameter())) return false;
if (!getMessage()
.equals(other.getMessage())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + PARAMETER_FIELD_NUMBER;
hash = (53 * hash) + getParameter().hashCode();
hash = (37 * hash) + MESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getMessage().hashCode();
hash = (29 * hash) + getUnknownFields().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);
}
@java.lang.Override
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);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* 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;
}
@java.lang.Override
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() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
parameter_ = "";
message_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_ValidationError_descriptor;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.ValidationError getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.ValidationError.getDefaultInstance();
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.ValidationError build() {
sila2.org.silastandard.SiLAFramework.ValidationError result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.ValidationError buildPartial() {
sila2.org.silastandard.SiLAFramework.ValidationError result = new sila2.org.silastandard.SiLAFramework.ValidationError(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(sila2.org.silastandard.SiLAFramework.ValidationError result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.parameter_ = parameter_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.message_ = message_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof 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_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getMessage().isEmpty()) {
message_ = other.message_;
bitField0_ |= 0x00000002;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
parameter_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
message_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object parameter_ = "";
/**
*
* fully qualified parameter identifier
*
*
* string parameter = 1;
* @return The parameter.
*/
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;
}
}
/**
*
* fully qualified parameter identifier
*
*
* string parameter = 1;
* @return The bytes for parameter.
*/
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;
}
}
/**
*
* fully qualified parameter identifier
*
*
* string parameter = 1;
* @param value The parameter to set.
* @return This builder for chaining.
*/
public Builder setParameter(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
parameter_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* fully qualified parameter identifier
*
*
* string parameter = 1;
* @return This builder for chaining.
*/
public Builder clearParameter() {
parameter_ = getDefaultInstance().getParameter();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
*
* fully qualified parameter identifier
*
*
* string parameter = 1;
* @param value The bytes for parameter to set.
* @return This builder for chaining.
*/
public Builder setParameterBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
parameter_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object message_ = "";
/**
* string message = 2;
* @return The message.
*/
public java.lang.String getMessage() {
java.lang.Object ref = message_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
message_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string message = 2;
* @return The bytes for message.
*/
public com.google.protobuf.ByteString
getMessageBytes() {
java.lang.Object ref = message_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
message_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string message = 2;
* @param value The message to set.
* @return This builder for chaining.
*/
public Builder setMessage(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
message_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* string message = 2;
* @return This builder for chaining.
*/
public Builder clearMessage() {
message_ = getDefaultInstance().getMessage();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* string message = 2;
* @param value The bytes for message to set.
* @return This builder for chaining.
*/
public Builder setMessageBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
message_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope: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() {
@java.lang.Override
public ValidationError parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.ValidationError getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DefinedExecutionErrorOrBuilder extends
// @@protoc_insertion_point(interface_extends:sila2.org.silastandard.DefinedExecutionError)
com.google.protobuf.MessageOrBuilder {
/**
*
* fully qualified defined execution error identifier
*
*
* string errorIdentifier = 1;
* @return The errorIdentifier.
*/
java.lang.String getErrorIdentifier();
/**
*
* fully qualified defined execution error identifier
*
*
* string errorIdentifier = 1;
* @return The bytes for errorIdentifier.
*/
com.google.protobuf.ByteString
getErrorIdentifierBytes();
/**
* string message = 2;
* @return The message.
*/
java.lang.String getMessage();
/**
* string message = 2;
* @return The bytes for message.
*/
com.google.protobuf.ByteString
getMessageBytes();
}
/**
* Protobuf type {@code sila2.org.silastandard.DefinedExecutionError}
*/
public static final class DefinedExecutionError extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:sila2.org.silastandard.DefinedExecutionError)
DefinedExecutionErrorOrBuilder {
private static final long serialVersionUID = 0L;
// Use DefinedExecutionError.newBuilder() to construct.
private DefinedExecutionError(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DefinedExecutionError() {
errorIdentifier_ = "";
message_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DefinedExecutionError();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_DefinedExecutionError_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_DefinedExecutionError_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.DefinedExecutionError.class, sila2.org.silastandard.SiLAFramework.DefinedExecutionError.Builder.class);
}
public static final int ERRORIDENTIFIER_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object errorIdentifier_ = "";
/**
*
* fully qualified defined execution error identifier
*
*
* string errorIdentifier = 1;
* @return The errorIdentifier.
*/
@java.lang.Override
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;
}
}
/**
*
* fully qualified defined execution error identifier
*
*
* string errorIdentifier = 1;
* @return The bytes for errorIdentifier.
*/
@java.lang.Override
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 MESSAGE_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object message_ = "";
/**
* string message = 2;
* @return The message.
*/
@java.lang.Override
public java.lang.String getMessage() {
java.lang.Object ref = message_;
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();
message_ = s;
return s;
}
}
/**
* string message = 2;
* @return The bytes for message.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMessageBytes() {
java.lang.Object ref = message_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
message_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorIdentifier_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, errorIdentifier_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, message_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorIdentifier_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, errorIdentifier_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_);
}
size += getUnknownFields().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.DefinedExecutionError)) {
return super.equals(obj);
}
sila2.org.silastandard.SiLAFramework.DefinedExecutionError other = (sila2.org.silastandard.SiLAFramework.DefinedExecutionError) obj;
if (!getErrorIdentifier()
.equals(other.getErrorIdentifier())) return false;
if (!getMessage()
.equals(other.getMessage())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ERRORIDENTIFIER_FIELD_NUMBER;
hash = (53 * hash) + getErrorIdentifier().hashCode();
hash = (37 * hash) + MESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getMessage().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static sila2.org.silastandard.SiLAFramework.DefinedExecutionError parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.DefinedExecutionError 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.DefinedExecutionError parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.DefinedExecutionError 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.DefinedExecutionError parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.DefinedExecutionError parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.DefinedExecutionError parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.DefinedExecutionError 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.DefinedExecutionError parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.DefinedExecutionError 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.DefinedExecutionError parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.DefinedExecutionError parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(sila2.org.silastandard.SiLAFramework.DefinedExecutionError prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code sila2.org.silastandard.DefinedExecutionError}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:sila2.org.silastandard.DefinedExecutionError)
sila2.org.silastandard.SiLAFramework.DefinedExecutionErrorOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_DefinedExecutionError_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_DefinedExecutionError_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.DefinedExecutionError.class, sila2.org.silastandard.SiLAFramework.DefinedExecutionError.Builder.class);
}
// Construct using sila2.org.silastandard.SiLAFramework.DefinedExecutionError.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
errorIdentifier_ = "";
message_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_DefinedExecutionError_descriptor;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.DefinedExecutionError getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.DefinedExecutionError.getDefaultInstance();
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.DefinedExecutionError build() {
sila2.org.silastandard.SiLAFramework.DefinedExecutionError result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.DefinedExecutionError buildPartial() {
sila2.org.silastandard.SiLAFramework.DefinedExecutionError result = new sila2.org.silastandard.SiLAFramework.DefinedExecutionError(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(sila2.org.silastandard.SiLAFramework.DefinedExecutionError result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.errorIdentifier_ = errorIdentifier_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.message_ = message_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof sila2.org.silastandard.SiLAFramework.DefinedExecutionError) {
return mergeFrom((sila2.org.silastandard.SiLAFramework.DefinedExecutionError)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(sila2.org.silastandard.SiLAFramework.DefinedExecutionError other) {
if (other == sila2.org.silastandard.SiLAFramework.DefinedExecutionError.getDefaultInstance()) return this;
if (!other.getErrorIdentifier().isEmpty()) {
errorIdentifier_ = other.errorIdentifier_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getMessage().isEmpty()) {
message_ = other.message_;
bitField0_ |= 0x00000002;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
errorIdentifier_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
message_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object errorIdentifier_ = "";
/**
*
* fully qualified defined execution error identifier
*
*
* string errorIdentifier = 1;
* @return The errorIdentifier.
*/
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;
}
}
/**
*
* fully qualified defined execution error identifier
*
*
* string errorIdentifier = 1;
* @return The bytes for errorIdentifier.
*/
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;
}
}
/**
*
* fully qualified defined execution error identifier
*
*
* string errorIdentifier = 1;
* @param value The errorIdentifier to set.
* @return This builder for chaining.
*/
public Builder setErrorIdentifier(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
errorIdentifier_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* fully qualified defined execution error identifier
*
*
* string errorIdentifier = 1;
* @return This builder for chaining.
*/
public Builder clearErrorIdentifier() {
errorIdentifier_ = getDefaultInstance().getErrorIdentifier();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
*
* fully qualified defined execution error identifier
*
*
* string errorIdentifier = 1;
* @param value The bytes for errorIdentifier to set.
* @return This builder for chaining.
*/
public Builder setErrorIdentifierBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
errorIdentifier_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object message_ = "";
/**
* string message = 2;
* @return The message.
*/
public java.lang.String getMessage() {
java.lang.Object ref = message_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
message_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string message = 2;
* @return The bytes for message.
*/
public com.google.protobuf.ByteString
getMessageBytes() {
java.lang.Object ref = message_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
message_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string message = 2;
* @param value The message to set.
* @return This builder for chaining.
*/
public Builder setMessage(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
message_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* string message = 2;
* @return This builder for chaining.
*/
public Builder clearMessage() {
message_ = getDefaultInstance().getMessage();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* string message = 2;
* @param value The bytes for message to set.
* @return This builder for chaining.
*/
public Builder setMessageBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
message_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:sila2.org.silastandard.DefinedExecutionError)
}
// @@protoc_insertion_point(class_scope:sila2.org.silastandard.DefinedExecutionError)
private static final sila2.org.silastandard.SiLAFramework.DefinedExecutionError DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new sila2.org.silastandard.SiLAFramework.DefinedExecutionError();
}
public static sila2.org.silastandard.SiLAFramework.DefinedExecutionError getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DefinedExecutionError parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.DefinedExecutionError getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface UndefinedExecutionErrorOrBuilder extends
// @@protoc_insertion_point(interface_extends:sila2.org.silastandard.UndefinedExecutionError)
com.google.protobuf.MessageOrBuilder {
/**
* string message = 1;
* @return The message.
*/
java.lang.String getMessage();
/**
* string message = 1;
* @return The bytes for message.
*/
com.google.protobuf.ByteString
getMessageBytes();
}
/**
* Protobuf type {@code sila2.org.silastandard.UndefinedExecutionError}
*/
public static final class UndefinedExecutionError extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:sila2.org.silastandard.UndefinedExecutionError)
UndefinedExecutionErrorOrBuilder {
private static final long serialVersionUID = 0L;
// Use UndefinedExecutionError.newBuilder() to construct.
private UndefinedExecutionError(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private UndefinedExecutionError() {
message_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new UndefinedExecutionError();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_UndefinedExecutionError_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_UndefinedExecutionError_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.UndefinedExecutionError.class, sila2.org.silastandard.SiLAFramework.UndefinedExecutionError.Builder.class);
}
public static final int MESSAGE_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object message_ = "";
/**
* string message = 1;
* @return The message.
*/
@java.lang.Override
public java.lang.String getMessage() {
java.lang.Object ref = message_;
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();
message_ = s;
return s;
}
}
/**
* string message = 1;
* @return The bytes for message.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMessageBytes() {
java.lang.Object ref = message_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
message_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, message_);
}
size += getUnknownFields().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.UndefinedExecutionError)) {
return super.equals(obj);
}
sila2.org.silastandard.SiLAFramework.UndefinedExecutionError other = (sila2.org.silastandard.SiLAFramework.UndefinedExecutionError) obj;
if (!getMessage()
.equals(other.getMessage())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + MESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getMessage().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static sila2.org.silastandard.SiLAFramework.UndefinedExecutionError parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.UndefinedExecutionError 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.UndefinedExecutionError parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.UndefinedExecutionError 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.UndefinedExecutionError parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static sila2.org.silastandard.SiLAFramework.UndefinedExecutionError parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static sila2.org.silastandard.SiLAFramework.UndefinedExecutionError parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.UndefinedExecutionError 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.UndefinedExecutionError parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.UndefinedExecutionError 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.UndefinedExecutionError parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static sila2.org.silastandard.SiLAFramework.UndefinedExecutionError parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(sila2.org.silastandard.SiLAFramework.UndefinedExecutionError prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code sila2.org.silastandard.UndefinedExecutionError}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:sila2.org.silastandard.UndefinedExecutionError)
sila2.org.silastandard.SiLAFramework.UndefinedExecutionErrorOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_UndefinedExecutionError_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_UndefinedExecutionError_fieldAccessorTable
.ensureFieldAccessorsInitialized(
sila2.org.silastandard.SiLAFramework.UndefinedExecutionError.class, sila2.org.silastandard.SiLAFramework.UndefinedExecutionError.Builder.class);
}
// Construct using sila2.org.silastandard.SiLAFramework.UndefinedExecutionError.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
message_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_UndefinedExecutionError_descriptor;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.UndefinedExecutionError getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.UndefinedExecutionError.getDefaultInstance();
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.UndefinedExecutionError build() {
sila2.org.silastandard.SiLAFramework.UndefinedExecutionError result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.UndefinedExecutionError buildPartial() {
sila2.org.silastandard.SiLAFramework.UndefinedExecutionError result = new sila2.org.silastandard.SiLAFramework.UndefinedExecutionError(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(sila2.org.silastandard.SiLAFramework.UndefinedExecutionError result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.message_ = message_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof sila2.org.silastandard.SiLAFramework.UndefinedExecutionError) {
return mergeFrom((sila2.org.silastandard.SiLAFramework.UndefinedExecutionError)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(sila2.org.silastandard.SiLAFramework.UndefinedExecutionError other) {
if (other == sila2.org.silastandard.SiLAFramework.UndefinedExecutionError.getDefaultInstance()) return this;
if (!other.getMessage().isEmpty()) {
message_ = other.message_;
bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
message_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object message_ = "";
/**
* string message = 1;
* @return The message.
*/
public java.lang.String getMessage() {
java.lang.Object ref = message_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
message_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string message = 1;
* @return The bytes for message.
*/
public com.google.protobuf.ByteString
getMessageBytes() {
java.lang.Object ref = message_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
message_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string message = 1;
* @param value The message to set.
* @return This builder for chaining.
*/
public Builder setMessage(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
message_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* string message = 1;
* @return This builder for chaining.
*/
public Builder clearMessage() {
message_ = getDefaultInstance().getMessage();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* string message = 1;
* @param value The bytes for message to set.
* @return This builder for chaining.
*/
public Builder setMessageBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
message_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:sila2.org.silastandard.UndefinedExecutionError)
}
// @@protoc_insertion_point(class_scope:sila2.org.silastandard.UndefinedExecutionError)
private static final sila2.org.silastandard.SiLAFramework.UndefinedExecutionError DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new sila2.org.silastandard.SiLAFramework.UndefinedExecutionError();
}
public static sila2.org.silastandard.SiLAFramework.UndefinedExecutionError getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public UndefinedExecutionError parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.UndefinedExecutionError 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;
* @return The enum numeric value on the wire for errorType.
*/
int getErrorTypeValue();
/**
* .sila2.org.silastandard.FrameworkError.ErrorType errorType = 1;
* @return The errorType.
*/
sila2.org.silastandard.SiLAFramework.FrameworkError.ErrorType getErrorType();
/**
* string message = 2;
* @return The message.
*/
java.lang.String getMessage();
/**
* string message = 2;
* @return The bytes for message.
*/
com.google.protobuf.ByteString
getMessageBytes();
}
/**
* 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;
message_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FrameworkError();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_FrameworkError_descriptor;
}
@java.lang.Override
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 {
/**
* COMMAND_EXECUTION_NOT_ACCEPTED = 0;
*/
COMMAND_EXECUTION_NOT_ACCEPTED(0),
/**
* INVALID_COMMAND_EXECUTION_UUID = 1;
*/
INVALID_COMMAND_EXECUTION_UUID(1),
/**
* COMMAND_EXECUTION_NOT_FINISHED = 2;
*/
COMMAND_EXECUTION_NOT_FINISHED(2),
/**
* INVALID_METADATA = 3;
*/
INVALID_METADATA(3),
/**
* NO_METADATA_ALLOWED = 4;
*/
NO_METADATA_ALLOWED(4),
UNRECOGNIZED(-1),
;
/**
* COMMAND_EXECUTION_NOT_ACCEPTED = 0;
*/
public static final int COMMAND_EXECUTION_NOT_ACCEPTED_VALUE = 0;
/**
* INVALID_COMMAND_EXECUTION_UUID = 1;
*/
public static final int INVALID_COMMAND_EXECUTION_UUID_VALUE = 1;
/**
* COMMAND_EXECUTION_NOT_FINISHED = 2;
*/
public static final int COMMAND_EXECUTION_NOT_FINISHED_VALUE = 2;
/**
* INVALID_METADATA = 3;
*/
public static final int INVALID_METADATA_VALUE = 3;
/**
* NO_METADATA_ALLOWED = 4;
*/
public static final int NO_METADATA_ALLOWED_VALUE = 4;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ErrorType valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static ErrorType forNumber(int value) {
switch (value) {
case 0: return COMMAND_EXECUTION_NOT_ACCEPTED;
case 1: return INVALID_COMMAND_EXECUTION_UUID;
case 2: return COMMAND_EXECUTION_NOT_FINISHED;
case 3: return INVALID_METADATA;
case 4: return NO_METADATA_ALLOWED;
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() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
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_ = 0;
/**
* .sila2.org.silastandard.FrameworkError.ErrorType errorType = 1;
* @return The enum numeric value on the wire for errorType.
*/
@java.lang.Override public int getErrorTypeValue() {
return errorType_;
}
/**
* .sila2.org.silastandard.FrameworkError.ErrorType errorType = 1;
* @return The errorType.
*/
@java.lang.Override public sila2.org.silastandard.SiLAFramework.FrameworkError.ErrorType getErrorType() {
sila2.org.silastandard.SiLAFramework.FrameworkError.ErrorType result = sila2.org.silastandard.SiLAFramework.FrameworkError.ErrorType.forNumber(errorType_);
return result == null ? sila2.org.silastandard.SiLAFramework.FrameworkError.ErrorType.UNRECOGNIZED : result;
}
public static final int MESSAGE_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object message_ = "";
/**
* string message = 2;
* @return The message.
*/
@java.lang.Override
public java.lang.String getMessage() {
java.lang.Object ref = message_;
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();
message_ = s;
return s;
}
}
/**
* string message = 2;
* @return The bytes for message.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMessageBytes() {
java.lang.Object ref = message_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
message_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (errorType_ != sila2.org.silastandard.SiLAFramework.FrameworkError.ErrorType.COMMAND_EXECUTION_NOT_ACCEPTED.getNumber()) {
output.writeEnum(1, errorType_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, message_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (errorType_ != sila2.org.silastandard.SiLAFramework.FrameworkError.ErrorType.COMMAND_EXECUTION_NOT_ACCEPTED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, errorType_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_);
}
size += getUnknownFields().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;
if (errorType_ != other.errorType_) return false;
if (!getMessage()
.equals(other.getMessage())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ERRORTYPE_FIELD_NUMBER;
hash = (53 * hash) + errorType_;
hash = (37 * hash) + MESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getMessage().hashCode();
hash = (29 * hash) + getUnknownFields().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);
}
@java.lang.Override
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);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* 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;
}
@java.lang.Override
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() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
errorType_ = 0;
message_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return sila2.org.silastandard.SiLAFramework.internal_static_sila2_org_silastandard_FrameworkError_descriptor;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.FrameworkError getDefaultInstanceForType() {
return sila2.org.silastandard.SiLAFramework.FrameworkError.getDefaultInstance();
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.FrameworkError build() {
sila2.org.silastandard.SiLAFramework.FrameworkError result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.FrameworkError buildPartial() {
sila2.org.silastandard.SiLAFramework.FrameworkError result = new sila2.org.silastandard.SiLAFramework.FrameworkError(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(sila2.org.silastandard.SiLAFramework.FrameworkError result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.errorType_ = errorType_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.message_ = message_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof 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());
}
if (!other.getMessage().isEmpty()) {
message_ = other.message_;
bitField0_ |= 0x00000002;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
errorType_ = input.readEnum();
bitField0_ |= 0x00000001;
break;
} // case 8
case 18: {
message_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int errorType_ = 0;
/**
* .sila2.org.silastandard.FrameworkError.ErrorType errorType = 1;
* @return The enum numeric value on the wire for errorType.
*/
@java.lang.Override public int getErrorTypeValue() {
return errorType_;
}
/**
* .sila2.org.silastandard.FrameworkError.ErrorType errorType = 1;
* @param value The enum numeric value on the wire for errorType to set.
* @return This builder for chaining.
*/
public Builder setErrorTypeValue(int value) {
errorType_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .sila2.org.silastandard.FrameworkError.ErrorType errorType = 1;
* @return The errorType.
*/
@java.lang.Override
public sila2.org.silastandard.SiLAFramework.FrameworkError.ErrorType getErrorType() {
sila2.org.silastandard.SiLAFramework.FrameworkError.ErrorType result = sila2.org.silastandard.SiLAFramework.FrameworkError.ErrorType.forNumber(errorType_);
return result == null ? sila2.org.silastandard.SiLAFramework.FrameworkError.ErrorType.UNRECOGNIZED : result;
}
/**
* .sila2.org.silastandard.FrameworkError.ErrorType errorType = 1;
* @param value The errorType to set.
* @return This builder for chaining.
*/
public Builder setErrorType(sila2.org.silastandard.SiLAFramework.FrameworkError.ErrorType value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
errorType_ = value.getNumber();
onChanged();
return this;
}
/**
* .sila2.org.silastandard.FrameworkError.ErrorType errorType = 1;
* @return This builder for chaining.
*/
public Builder clearErrorType() {
bitField0_ = (bitField0_ & ~0x00000001);
errorType_ = 0;
onChanged();
return this;
}
private java.lang.Object message_ = "";
/**
* string message = 2;
* @return The message.
*/
public java.lang.String getMessage() {
java.lang.Object ref = message_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
message_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string message = 2;
* @return The bytes for message.
*/
public com.google.protobuf.ByteString
getMessageBytes() {
java.lang.Object ref = message_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
message_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string message = 2;
* @param value The message to set.
* @return This builder for chaining.
*/
public Builder setMessage(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
message_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* string message = 2;
* @return This builder for chaining.
*/
public Builder clearMessage() {
message_ = getDefaultInstance().getMessage();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* string message = 2;
* @param value The bytes for message to set.
* @return This builder for chaining.
*/
public Builder setMessageBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
message_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope: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() {
@java.lang.Override
public FrameworkError parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
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_Binary_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_sila2_org_silastandard_Binary_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_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_DefinedExecutionError_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_sila2_org_silastandard_DefinedExecutionError_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_sila2_org_silastandard_UndefinedExecutionError_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_sila2_org_silastandard_UndefinedExecutionError_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\"@\n\006Binary\022\017\n\005v" +
"alue\030\001 \001(\014H\000\022\034\n\022binaryTransferUUID\030\002 \001(\t" +
"H\000B\007\n\005union\"d\n\004Date\022\013\n\003day\030\001 \001(\r\022\r\n\005mont" +
"h\030\002 \001(\r\022\014\n\004year\030\003 \001(\r\0222\n\010timezone\030\004 \001(\0132" +
" .sila2.org.silastandard.Timezone\"}\n\004Tim" +
"e\022\016\n\006second\030\001 \001(\r\022\016\n\006minute\030\002 \001(\r\022\014\n\004hou" +
"r\030\003 \001(\r\0222\n\010timezone\030\004 \001(\0132 .sila2.org.si" +
"lastandard.Timezone\022\023\n\013millisecond\030\005 \001(\r" +
"\"\254\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\005mon" +
"th\030\005 \001(\r\022\014\n\004year\030\006 \001(\r\0222\n\010timezone\030\007 \001(\013" +
"2 .sila2.org.silastandard.Timezone\022\023\n\013mi" +
"llisecond\030\010 \001(\r\"*\n\010Timezone\022\r\n\005hours\030\001 \001" +
"(\005\022\017\n\007minutes\030\002 \001(\r\"$\n\003Any\022\014\n\004type\030\001 \001(\t" +
"\022\017\n\007payload\030\002 \001(\014\"*\n\010Duration\022\017\n\007seconds" +
"\030\001 \001(\003\022\r\n\005nanos\030\002 \001(\005\"%\n\024CommandExecutio" +
"nUUID\022\r\n\005value\030\001 \001(\t\"\240\001\n\023CommandConfirma" +
"tion\022J\n\024commandExecutionUUID\030\001 \001(\0132,.sil" +
"a2.org.silastandard.CommandExecutionUUID" +
"\022=\n\023lifetimeOfExecution\030\002 \001(\0132 .sila2.or" +
"g.silastandard.Duration\"\363\002\n\rExecutionInf" +
"o\022J\n\rcommandStatus\030\001 \001(\01623.sila2.org.sil" +
"astandard.ExecutionInfo.CommandStatus\0222\n" +
"\014progressInfo\030\002 \001(\0132\034.sila2.org.silastan" +
"dard.Real\022@\n\026estimatedRemainingTime\030\003 \001(" +
"\0132 .sila2.org.silastandard.Duration\022D\n\032u" +
"pdatedLifetimeOfExecution\030\004 \001(\0132 .sila2." +
"org.silastandard.Duration\"Z\n\rCommandStat" +
"us\022\013\n\007waiting\020\000\022\013\n\007running\020\001\022\030\n\024finished" +
"Successfully\020\002\022\025\n\021finishedWithError\020\003\"\276\002" +
"\n\tSiLAError\022B\n\017validationError\030\001 \001(\0132\'.s" +
"ila2.org.silastandard.ValidationErrorH\000\022" +
"N\n\025definedExecutionError\030\002 \001(\0132-.sila2.o" +
"rg.silastandard.DefinedExecutionErrorH\000\022" +
"R\n\027undefinedExecutionError\030\003 \001(\0132/.sila2" +
".org.silastandard.UndefinedExecutionErro" +
"rH\000\022@\n\016frameworkError\030\004 \001(\0132&.sila2.org." +
"silastandard.FrameworkErrorH\000B\007\n\005error\"5" +
"\n\017ValidationError\022\021\n\tparameter\030\001 \001(\t\022\017\n\007" +
"message\030\002 \001(\t\"A\n\025DefinedExecutionError\022\027" +
"\n\017errorIdentifier\030\001 \001(\t\022\017\n\007message\030\002 \001(\t" +
"\"*\n\027UndefinedExecutionError\022\017\n\007message\030\001" +
" \001(\t\"\217\002\n\016FrameworkError\022C\n\terrorType\030\001 \001" +
"(\01620.sila2.org.silastandard.FrameworkErr" +
"or.ErrorType\022\017\n\007message\030\002 \001(\t\"\246\001\n\tErrorT" +
"ype\022\"\n\036COMMAND_EXECUTION_NOT_ACCEPTED\020\000\022" +
"\"\n\036INVALID_COMMAND_EXECUTION_UUID\020\001\022\"\n\036C" +
"OMMAND_EXECUTION_NOT_FINISHED\020\002\022\024\n\020INVAL" +
"ID_METADATA\020\003\022\027\n\023NO_METADATA_ALLOWED\020\004B\017" +
"B\rSiLAFrameworkb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
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_Binary_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_sila2_org_silastandard_Binary_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_sila2_org_silastandard_Binary_descriptor,
new java.lang.String[] { "Value", "BinaryTransferUUID", "Union", });
internal_static_sila2_org_silastandard_Date_descriptor =
getDescriptor().getMessageTypes().get(5);
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(6);
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", "Millisecond", });
internal_static_sila2_org_silastandard_Timestamp_descriptor =
getDescriptor().getMessageTypes().get(7);
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", "Millisecond", });
internal_static_sila2_org_silastandard_Timezone_descriptor =
getDescriptor().getMessageTypes().get(8);
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(9);
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_Duration_descriptor =
getDescriptor().getMessageTypes().get(10);
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(11);
internal_static_sila2_org_silastandard_CommandExecutionUUID_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_sila2_org_silastandard_CommandExecutionUUID_descriptor,
new java.lang.String[] { "Value", });
internal_static_sila2_org_silastandard_CommandConfirmation_descriptor =
getDescriptor().getMessageTypes().get(12);
internal_static_sila2_org_silastandard_CommandConfirmation_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_sila2_org_silastandard_CommandConfirmation_descriptor,
new java.lang.String[] { "CommandExecutionUUID", "LifetimeOfExecution", });
internal_static_sila2_org_silastandard_ExecutionInfo_descriptor =
getDescriptor().getMessageTypes().get(13);
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(14);
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", "DefinedExecutionError", "UndefinedExecutionError", "FrameworkError", "Error", });
internal_static_sila2_org_silastandard_ValidationError_descriptor =
getDescriptor().getMessageTypes().get(15);
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", "Message", });
internal_static_sila2_org_silastandard_DefinedExecutionError_descriptor =
getDescriptor().getMessageTypes().get(16);
internal_static_sila2_org_silastandard_DefinedExecutionError_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_sila2_org_silastandard_DefinedExecutionError_descriptor,
new java.lang.String[] { "ErrorIdentifier", "Message", });
internal_static_sila2_org_silastandard_UndefinedExecutionError_descriptor =
getDescriptor().getMessageTypes().get(17);
internal_static_sila2_org_silastandard_UndefinedExecutionError_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_sila2_org_silastandard_UndefinedExecutionError_descriptor,
new java.lang.String[] { "Message", });
internal_static_sila2_org_silastandard_FrameworkError_descriptor =
getDescriptor().getMessageTypes().get(18);
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", "Message", });
}
// @@protoc_insertion_point(outer_class_scope)
}