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

sila2.org.silastandard.SiLAFramework Maven / Gradle / Ivy

The newest version!
// 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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy