com.sandpolis.core.soi.Build Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sandpolis-core-soi Show documentation
Show all versions of sandpolis-core-soi Show documentation
The serial object injection library module
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: com/sandpolis/core/soi/Build.proto
package com.sandpolis.core.soi;
public final class Build {
private Build() {}
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 SO_BuildOrBuilder extends
// @@protoc_insertion_point(interface_extends:soi.SO_Build)
com.google.protobuf.MessageOrBuilder {
/**
*
* The version string in a.b.c format.
*
*
* string version = 1;
* @return The version.
*/
java.lang.String getVersion();
/**
*
* The version string in a.b.c format.
*
*
* string version = 1;
* @return The bytes for version.
*/
com.google.protobuf.ByteString
getVersionBytes();
/**
*
* The build number which uniquely identifies this build.
*
*
* int32 number = 2;
* @return The number.
*/
int getNumber();
/**
*
* The build time
*
*
* int64 time = 3;
* @return The time.
*/
long getTime();
/**
*
* Whether this build is a debug or release build
*
*
* bool debug = 4;
* @return The debug.
*/
boolean getDebug();
/**
*
* The build platform's name
*
*
* string platform = 5;
* @return The platform.
*/
java.lang.String getPlatform();
/**
*
* The build platform's name
*
*
* string platform = 5;
* @return The bytes for platform.
*/
com.google.protobuf.ByteString
getPlatformBytes();
/**
*
* The build platform's Java version
*
*
* string java_version = 6;
* @return The javaVersion.
*/
java.lang.String getJavaVersion();
/**
*
* The build platform's Java version
*
*
* string java_version = 6;
* @return The bytes for javaVersion.
*/
com.google.protobuf.ByteString
getJavaVersionBytes();
/**
*
* The build platform's Gradle version
*
*
* string gradle_version = 7;
* @return The gradleVersion.
*/
java.lang.String getGradleVersion();
/**
*
* The build platform's Gradle version
*
*
* string gradle_version = 7;
* @return The bytes for gradleVersion.
*/
com.google.protobuf.ByteString
getGradleVersionBytes();
}
/**
*
**
* The SO_Build object contains information about the build process.
*
*
* Protobuf type {@code soi.SO_Build}
*/
public static final class SO_Build extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:soi.SO_Build)
SO_BuildOrBuilder {
private static final long serialVersionUID = 0L;
// Use SO_Build.newBuilder() to construct.
private SO_Build(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SO_Build() {
version_ = "";
platform_ = "";
javaVersion_ = "";
gradleVersion_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SO_Build();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SO_Build(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
version_ = s;
break;
}
case 16: {
number_ = input.readInt32();
break;
}
case 24: {
time_ = input.readInt64();
break;
}
case 32: {
debug_ = input.readBool();
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
platform_ = s;
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
javaVersion_ = s;
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
gradleVersion_ = s;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sandpolis.core.soi.Build.internal_static_soi_SO_Build_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sandpolis.core.soi.Build.internal_static_soi_SO_Build_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sandpolis.core.soi.Build.SO_Build.class, com.sandpolis.core.soi.Build.SO_Build.Builder.class);
}
public static final int VERSION_FIELD_NUMBER = 1;
private volatile java.lang.Object version_;
/**
*
* The version string in a.b.c format.
*
*
* string version = 1;
* @return The version.
*/
public java.lang.String getVersion() {
java.lang.Object ref = version_;
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();
version_ = s;
return s;
}
}
/**
*
* The version string in a.b.c format.
*
*
* string version = 1;
* @return The bytes for version.
*/
public com.google.protobuf.ByteString
getVersionBytes() {
java.lang.Object ref = version_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
version_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NUMBER_FIELD_NUMBER = 2;
private int number_;
/**
*
* The build number which uniquely identifies this build.
*
*
* int32 number = 2;
* @return The number.
*/
public int getNumber() {
return number_;
}
public static final int TIME_FIELD_NUMBER = 3;
private long time_;
/**
*
* The build time
*
*
* int64 time = 3;
* @return The time.
*/
public long getTime() {
return time_;
}
public static final int DEBUG_FIELD_NUMBER = 4;
private boolean debug_;
/**
*
* Whether this build is a debug or release build
*
*
* bool debug = 4;
* @return The debug.
*/
public boolean getDebug() {
return debug_;
}
public static final int PLATFORM_FIELD_NUMBER = 5;
private volatile java.lang.Object platform_;
/**
*
* The build platform's name
*
*
* string platform = 5;
* @return The platform.
*/
public java.lang.String getPlatform() {
java.lang.Object ref = platform_;
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();
platform_ = s;
return s;
}
}
/**
*
* The build platform's name
*
*
* string platform = 5;
* @return The bytes for platform.
*/
public com.google.protobuf.ByteString
getPlatformBytes() {
java.lang.Object ref = platform_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
platform_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int JAVA_VERSION_FIELD_NUMBER = 6;
private volatile java.lang.Object javaVersion_;
/**
*
* The build platform's Java version
*
*
* string java_version = 6;
* @return The javaVersion.
*/
public java.lang.String getJavaVersion() {
java.lang.Object ref = javaVersion_;
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();
javaVersion_ = s;
return s;
}
}
/**
*
* The build platform's Java version
*
*
* string java_version = 6;
* @return The bytes for javaVersion.
*/
public com.google.protobuf.ByteString
getJavaVersionBytes() {
java.lang.Object ref = javaVersion_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
javaVersion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int GRADLE_VERSION_FIELD_NUMBER = 7;
private volatile java.lang.Object gradleVersion_;
/**
*
* The build platform's Gradle version
*
*
* string gradle_version = 7;
* @return The gradleVersion.
*/
public java.lang.String getGradleVersion() {
java.lang.Object ref = gradleVersion_;
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();
gradleVersion_ = s;
return s;
}
}
/**
*
* The build platform's Gradle version
*
*
* string gradle_version = 7;
* @return The bytes for gradleVersion.
*/
public com.google.protobuf.ByteString
getGradleVersionBytes() {
java.lang.Object ref = gradleVersion_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
gradleVersion_ = 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 (!getVersionBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_);
}
if (number_ != 0) {
output.writeInt32(2, number_);
}
if (time_ != 0L) {
output.writeInt64(3, time_);
}
if (debug_ != false) {
output.writeBool(4, debug_);
}
if (!getPlatformBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, platform_);
}
if (!getJavaVersionBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, javaVersion_);
}
if (!getGradleVersionBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, gradleVersion_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getVersionBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, version_);
}
if (number_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, number_);
}
if (time_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, time_);
}
if (debug_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(4, debug_);
}
if (!getPlatformBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, platform_);
}
if (!getJavaVersionBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, javaVersion_);
}
if (!getGradleVersionBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, gradleVersion_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.sandpolis.core.soi.Build.SO_Build)) {
return super.equals(obj);
}
com.sandpolis.core.soi.Build.SO_Build other = (com.sandpolis.core.soi.Build.SO_Build) obj;
if (!getVersion()
.equals(other.getVersion())) return false;
if (getNumber()
!= other.getNumber()) return false;
if (getTime()
!= other.getTime()) return false;
if (getDebug()
!= other.getDebug()) return false;
if (!getPlatform()
.equals(other.getPlatform())) return false;
if (!getJavaVersion()
.equals(other.getJavaVersion())) return false;
if (!getGradleVersion()
.equals(other.getGradleVersion())) return false;
if (!unknownFields.equals(other.unknownFields)) 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) + VERSION_FIELD_NUMBER;
hash = (53 * hash) + getVersion().hashCode();
hash = (37 * hash) + NUMBER_FIELD_NUMBER;
hash = (53 * hash) + getNumber();
hash = (37 * hash) + TIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTime());
hash = (37 * hash) + DEBUG_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getDebug());
hash = (37 * hash) + PLATFORM_FIELD_NUMBER;
hash = (53 * hash) + getPlatform().hashCode();
hash = (37 * hash) + JAVA_VERSION_FIELD_NUMBER;
hash = (53 * hash) + getJavaVersion().hashCode();
hash = (37 * hash) + GRADLE_VERSION_FIELD_NUMBER;
hash = (53 * hash) + getGradleVersion().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sandpolis.core.soi.Build.SO_Build parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sandpolis.core.soi.Build.SO_Build parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sandpolis.core.soi.Build.SO_Build parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sandpolis.core.soi.Build.SO_Build parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sandpolis.core.soi.Build.SO_Build parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sandpolis.core.soi.Build.SO_Build parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sandpolis.core.soi.Build.SO_Build parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sandpolis.core.soi.Build.SO_Build 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 com.sandpolis.core.soi.Build.SO_Build parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sandpolis.core.soi.Build.SO_Build 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 com.sandpolis.core.soi.Build.SO_Build parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sandpolis.core.soi.Build.SO_Build 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(com.sandpolis.core.soi.Build.SO_Build 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;
}
/**
*
**
* The SO_Build object contains information about the build process.
*
*
* Protobuf type {@code soi.SO_Build}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:soi.SO_Build)
com.sandpolis.core.soi.Build.SO_BuildOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sandpolis.core.soi.Build.internal_static_soi_SO_Build_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sandpolis.core.soi.Build.internal_static_soi_SO_Build_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sandpolis.core.soi.Build.SO_Build.class, com.sandpolis.core.soi.Build.SO_Build.Builder.class);
}
// Construct using com.sandpolis.core.soi.Build.SO_Build.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
version_ = "";
number_ = 0;
time_ = 0L;
debug_ = false;
platform_ = "";
javaVersion_ = "";
gradleVersion_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sandpolis.core.soi.Build.internal_static_soi_SO_Build_descriptor;
}
@java.lang.Override
public com.sandpolis.core.soi.Build.SO_Build getDefaultInstanceForType() {
return com.sandpolis.core.soi.Build.SO_Build.getDefaultInstance();
}
@java.lang.Override
public com.sandpolis.core.soi.Build.SO_Build build() {
com.sandpolis.core.soi.Build.SO_Build result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.sandpolis.core.soi.Build.SO_Build buildPartial() {
com.sandpolis.core.soi.Build.SO_Build result = new com.sandpolis.core.soi.Build.SO_Build(this);
result.version_ = version_;
result.number_ = number_;
result.time_ = time_;
result.debug_ = debug_;
result.platform_ = platform_;
result.javaVersion_ = javaVersion_;
result.gradleVersion_ = gradleVersion_;
onBuilt();
return result;
}
@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 com.sandpolis.core.soi.Build.SO_Build) {
return mergeFrom((com.sandpolis.core.soi.Build.SO_Build)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sandpolis.core.soi.Build.SO_Build other) {
if (other == com.sandpolis.core.soi.Build.SO_Build.getDefaultInstance()) return this;
if (!other.getVersion().isEmpty()) {
version_ = other.version_;
onChanged();
}
if (other.getNumber() != 0) {
setNumber(other.getNumber());
}
if (other.getTime() != 0L) {
setTime(other.getTime());
}
if (other.getDebug() != false) {
setDebug(other.getDebug());
}
if (!other.getPlatform().isEmpty()) {
platform_ = other.platform_;
onChanged();
}
if (!other.getJavaVersion().isEmpty()) {
javaVersion_ = other.javaVersion_;
onChanged();
}
if (!other.getGradleVersion().isEmpty()) {
gradleVersion_ = other.gradleVersion_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
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 {
com.sandpolis.core.soi.Build.SO_Build parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sandpolis.core.soi.Build.SO_Build) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object version_ = "";
/**
*
* The version string in a.b.c format.
*
*
* string version = 1;
* @return The version.
*/
public java.lang.String getVersion() {
java.lang.Object ref = version_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
version_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The version string in a.b.c format.
*
*
* string version = 1;
* @return The bytes for version.
*/
public com.google.protobuf.ByteString
getVersionBytes() {
java.lang.Object ref = version_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
version_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The version string in a.b.c format.
*
*
* string version = 1;
* @param value The version to set.
* @return This builder for chaining.
*/
public Builder setVersion(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
version_ = value;
onChanged();
return this;
}
/**
*
* The version string in a.b.c format.
*
*
* string version = 1;
* @return This builder for chaining.
*/
public Builder clearVersion() {
version_ = getDefaultInstance().getVersion();
onChanged();
return this;
}
/**
*
* The version string in a.b.c format.
*
*
* string version = 1;
* @param value The bytes for version to set.
* @return This builder for chaining.
*/
public Builder setVersionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
version_ = value;
onChanged();
return this;
}
private int number_ ;
/**
*
* The build number which uniquely identifies this build.
*
*
* int32 number = 2;
* @return The number.
*/
public int getNumber() {
return number_;
}
/**
*
* The build number which uniquely identifies this build.
*
*
* int32 number = 2;
* @param value The number to set.
* @return This builder for chaining.
*/
public Builder setNumber(int value) {
number_ = value;
onChanged();
return this;
}
/**
*
* The build number which uniquely identifies this build.
*
*
* int32 number = 2;
* @return This builder for chaining.
*/
public Builder clearNumber() {
number_ = 0;
onChanged();
return this;
}
private long time_ ;
/**
*
* The build time
*
*
* int64 time = 3;
* @return The time.
*/
public long getTime() {
return time_;
}
/**
*
* The build time
*
*
* int64 time = 3;
* @param value The time to set.
* @return This builder for chaining.
*/
public Builder setTime(long value) {
time_ = value;
onChanged();
return this;
}
/**
*
* The build time
*
*
* int64 time = 3;
* @return This builder for chaining.
*/
public Builder clearTime() {
time_ = 0L;
onChanged();
return this;
}
private boolean debug_ ;
/**
*
* Whether this build is a debug or release build
*
*
* bool debug = 4;
* @return The debug.
*/
public boolean getDebug() {
return debug_;
}
/**
*
* Whether this build is a debug or release build
*
*
* bool debug = 4;
* @param value The debug to set.
* @return This builder for chaining.
*/
public Builder setDebug(boolean value) {
debug_ = value;
onChanged();
return this;
}
/**
*
* Whether this build is a debug or release build
*
*
* bool debug = 4;
* @return This builder for chaining.
*/
public Builder clearDebug() {
debug_ = false;
onChanged();
return this;
}
private java.lang.Object platform_ = "";
/**
*
* The build platform's name
*
*
* string platform = 5;
* @return The platform.
*/
public java.lang.String getPlatform() {
java.lang.Object ref = platform_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
platform_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The build platform's name
*
*
* string platform = 5;
* @return The bytes for platform.
*/
public com.google.protobuf.ByteString
getPlatformBytes() {
java.lang.Object ref = platform_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
platform_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The build platform's name
*
*
* string platform = 5;
* @param value The platform to set.
* @return This builder for chaining.
*/
public Builder setPlatform(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
platform_ = value;
onChanged();
return this;
}
/**
*
* The build platform's name
*
*
* string platform = 5;
* @return This builder for chaining.
*/
public Builder clearPlatform() {
platform_ = getDefaultInstance().getPlatform();
onChanged();
return this;
}
/**
*
* The build platform's name
*
*
* string platform = 5;
* @param value The bytes for platform to set.
* @return This builder for chaining.
*/
public Builder setPlatformBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
platform_ = value;
onChanged();
return this;
}
private java.lang.Object javaVersion_ = "";
/**
*
* The build platform's Java version
*
*
* string java_version = 6;
* @return The javaVersion.
*/
public java.lang.String getJavaVersion() {
java.lang.Object ref = javaVersion_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
javaVersion_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The build platform's Java version
*
*
* string java_version = 6;
* @return The bytes for javaVersion.
*/
public com.google.protobuf.ByteString
getJavaVersionBytes() {
java.lang.Object ref = javaVersion_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
javaVersion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The build platform's Java version
*
*
* string java_version = 6;
* @param value The javaVersion to set.
* @return This builder for chaining.
*/
public Builder setJavaVersion(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
javaVersion_ = value;
onChanged();
return this;
}
/**
*
* The build platform's Java version
*
*
* string java_version = 6;
* @return This builder for chaining.
*/
public Builder clearJavaVersion() {
javaVersion_ = getDefaultInstance().getJavaVersion();
onChanged();
return this;
}
/**
*
* The build platform's Java version
*
*
* string java_version = 6;
* @param value The bytes for javaVersion to set.
* @return This builder for chaining.
*/
public Builder setJavaVersionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
javaVersion_ = value;
onChanged();
return this;
}
private java.lang.Object gradleVersion_ = "";
/**
*
* The build platform's Gradle version
*
*
* string gradle_version = 7;
* @return The gradleVersion.
*/
public java.lang.String getGradleVersion() {
java.lang.Object ref = gradleVersion_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
gradleVersion_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The build platform's Gradle version
*
*
* string gradle_version = 7;
* @return The bytes for gradleVersion.
*/
public com.google.protobuf.ByteString
getGradleVersionBytes() {
java.lang.Object ref = gradleVersion_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
gradleVersion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The build platform's Gradle version
*
*
* string gradle_version = 7;
* @param value The gradleVersion to set.
* @return This builder for chaining.
*/
public Builder setGradleVersion(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
gradleVersion_ = value;
onChanged();
return this;
}
/**
*
* The build platform's Gradle version
*
*
* string gradle_version = 7;
* @return This builder for chaining.
*/
public Builder clearGradleVersion() {
gradleVersion_ = getDefaultInstance().getGradleVersion();
onChanged();
return this;
}
/**
*
* The build platform's Gradle version
*
*
* string gradle_version = 7;
* @param value The bytes for gradleVersion to set.
* @return This builder for chaining.
*/
public Builder setGradleVersionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
gradleVersion_ = 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:soi.SO_Build)
}
// @@protoc_insertion_point(class_scope:soi.SO_Build)
private static final com.sandpolis.core.soi.Build.SO_Build DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sandpolis.core.soi.Build.SO_Build();
}
public static com.sandpolis.core.soi.Build.SO_Build getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SO_Build parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SO_Build(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.sandpolis.core.soi.Build.SO_Build getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_soi_SO_Build_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_soi_SO_Build_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\"com/sandpolis/core/soi/Build.proto\022\003so" +
"i\"\210\001\n\010SO_Build\022\017\n\007version\030\001 \001(\t\022\016\n\006numbe" +
"r\030\002 \001(\005\022\014\n\004time\030\003 \001(\003\022\r\n\005debug\030\004 \001(\010\022\020\n\010" +
"platform\030\005 \001(\t\022\024\n\014java_version\030\006 \001(\t\022\026\n\016" +
"gradle_version\030\007 \001(\tB\030\n\026com.sandpolis.co" +
"re.soib\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_soi_SO_Build_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_soi_SO_Build_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_soi_SO_Build_descriptor,
new java.lang.String[] { "Version", "Number", "Time", "Debug", "Platform", "JavaVersion", "GradleVersion", });
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy