org.finos.tracdap.config.PlatformInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tracdap-api-config Show documentation
Show all versions of tracdap-api-config Show documentation
TRAC D.A.P. config library, contains data structures used for config files (and other config sources)
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: tracdap/config/common.proto
// Protobuf Java Version: 4.28.2
package org.finos.tracdap.config;
/**
* Protobuf type {@code tracdap.config.PlatformInfo}
*/
public final class PlatformInfo extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:tracdap.config.PlatformInfo)
PlatformInfoOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 2,
/* suffix= */ "",
PlatformInfo.class.getName());
}
// Use PlatformInfo.newBuilder() to construct.
private PlatformInfo(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private PlatformInfo() {
environment_ = "";
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.finos.tracdap.config.Common.internal_static_tracdap_config_PlatformInfo_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
int number) {
switch (number) {
case 3:
return internalGetDeploymentInfo();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.finos.tracdap.config.Common.internal_static_tracdap_config_PlatformInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.finos.tracdap.config.PlatformInfo.class, org.finos.tracdap.config.PlatformInfo.Builder.class);
}
public static final int ENVIRONMENT_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object environment_ = "";
/**
* string environment = 1;
* @return The environment.
*/
@java.lang.Override
public java.lang.String getEnvironment() {
java.lang.Object ref = environment_;
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();
environment_ = s;
return s;
}
}
/**
* string environment = 1;
* @return The bytes for environment.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEnvironmentBytes() {
java.lang.Object ref = environment_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
environment_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRODUCTION_FIELD_NUMBER = 2;
private boolean production_ = false;
/**
* bool production = 2;
* @return The production.
*/
@java.lang.Override
public boolean getProduction() {
return production_;
}
public static final int DEPLOYMENTINFO_FIELD_NUMBER = 3;
private static final class DeploymentInfoDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.String, java.lang.String> defaultEntry =
com.google.protobuf.MapEntry
.newDefaultInstance(
org.finos.tracdap.config.Common.internal_static_tracdap_config_PlatformInfo_DeploymentInfoEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.STRING,
"");
}
@SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> deploymentInfo_;
private com.google.protobuf.MapField
internalGetDeploymentInfo() {
if (deploymentInfo_ == null) {
return com.google.protobuf.MapField.emptyMapField(
DeploymentInfoDefaultEntryHolder.defaultEntry);
}
return deploymentInfo_;
}
public int getDeploymentInfoCount() {
return internalGetDeploymentInfo().getMap().size();
}
/**
* map<string, string> deploymentInfo = 3;
*/
@java.lang.Override
public boolean containsDeploymentInfo(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetDeploymentInfo().getMap().containsKey(key);
}
/**
* Use {@link #getDeploymentInfoMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getDeploymentInfo() {
return getDeploymentInfoMap();
}
/**
* map<string, string> deploymentInfo = 3;
*/
@java.lang.Override
public java.util.Map getDeploymentInfoMap() {
return internalGetDeploymentInfo().getMap();
}
/**
* map<string, string> deploymentInfo = 3;
*/
@java.lang.Override
public /* nullable */
java.lang.String getDeploymentInfoOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetDeploymentInfo().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, string> deploymentInfo = 3;
*/
@java.lang.Override
public java.lang.String getDeploymentInfoOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetDeploymentInfo().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
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.GeneratedMessage.isStringEmpty(environment_)) {
com.google.protobuf.GeneratedMessage.writeString(output, 1, environment_);
}
if (production_ != false) {
output.writeBool(2, production_);
}
com.google.protobuf.GeneratedMessage
.serializeStringMapTo(
output,
internalGetDeploymentInfo(),
DeploymentInfoDefaultEntryHolder.defaultEntry,
3);
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(environment_)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(1, environment_);
}
if (production_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, production_);
}
for (java.util.Map.Entry entry
: internalGetDeploymentInfo().getMap().entrySet()) {
com.google.protobuf.MapEntry
deploymentInfo__ = DeploymentInfoDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, deploymentInfo__);
}
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 org.finos.tracdap.config.PlatformInfo)) {
return super.equals(obj);
}
org.finos.tracdap.config.PlatformInfo other = (org.finos.tracdap.config.PlatformInfo) obj;
if (!getEnvironment()
.equals(other.getEnvironment())) return false;
if (getProduction()
!= other.getProduction()) return false;
if (!internalGetDeploymentInfo().equals(
other.internalGetDeploymentInfo())) 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) + ENVIRONMENT_FIELD_NUMBER;
hash = (53 * hash) + getEnvironment().hashCode();
hash = (37 * hash) + PRODUCTION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getProduction());
if (!internalGetDeploymentInfo().getMap().isEmpty()) {
hash = (37 * hash) + DEPLOYMENTINFO_FIELD_NUMBER;
hash = (53 * hash) + internalGetDeploymentInfo().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.finos.tracdap.config.PlatformInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.finos.tracdap.config.PlatformInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.finos.tracdap.config.PlatformInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.finos.tracdap.config.PlatformInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.finos.tracdap.config.PlatformInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.finos.tracdap.config.PlatformInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.finos.tracdap.config.PlatformInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static org.finos.tracdap.config.PlatformInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.finos.tracdap.config.PlatformInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static org.finos.tracdap.config.PlatformInfo parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.finos.tracdap.config.PlatformInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static org.finos.tracdap.config.PlatformInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.finos.tracdap.config.PlatformInfo 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.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code tracdap.config.PlatformInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:tracdap.config.PlatformInfo)
org.finos.tracdap.config.PlatformInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.finos.tracdap.config.Common.internal_static_tracdap_config_PlatformInfo_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
int number) {
switch (number) {
case 3:
return internalGetDeploymentInfo();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
int number) {
switch (number) {
case 3:
return internalGetMutableDeploymentInfo();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.finos.tracdap.config.Common.internal_static_tracdap_config_PlatformInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.finos.tracdap.config.PlatformInfo.class, org.finos.tracdap.config.PlatformInfo.Builder.class);
}
// Construct using org.finos.tracdap.config.PlatformInfo.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
environment_ = "";
production_ = false;
internalGetMutableDeploymentInfo().clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.finos.tracdap.config.Common.internal_static_tracdap_config_PlatformInfo_descriptor;
}
@java.lang.Override
public org.finos.tracdap.config.PlatformInfo getDefaultInstanceForType() {
return org.finos.tracdap.config.PlatformInfo.getDefaultInstance();
}
@java.lang.Override
public org.finos.tracdap.config.PlatformInfo build() {
org.finos.tracdap.config.PlatformInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.finos.tracdap.config.PlatformInfo buildPartial() {
org.finos.tracdap.config.PlatformInfo result = new org.finos.tracdap.config.PlatformInfo(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.finos.tracdap.config.PlatformInfo result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.environment_ = environment_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.production_ = production_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.deploymentInfo_ = internalGetDeploymentInfo();
result.deploymentInfo_.makeImmutable();
}
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.finos.tracdap.config.PlatformInfo) {
return mergeFrom((org.finos.tracdap.config.PlatformInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.finos.tracdap.config.PlatformInfo other) {
if (other == org.finos.tracdap.config.PlatformInfo.getDefaultInstance()) return this;
if (!other.getEnvironment().isEmpty()) {
environment_ = other.environment_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.getProduction() != false) {
setProduction(other.getProduction());
}
internalGetMutableDeploymentInfo().mergeFrom(
other.internalGetDeploymentInfo());
bitField0_ |= 0x00000004;
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: {
environment_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
production_ = input.readBool();
bitField0_ |= 0x00000002;
break;
} // case 16
case 26: {
com.google.protobuf.MapEntry
deploymentInfo__ = input.readMessage(
DeploymentInfoDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableDeploymentInfo().getMutableMap().put(
deploymentInfo__.getKey(), deploymentInfo__.getValue());
bitField0_ |= 0x00000004;
break;
} // case 26
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 environment_ = "";
/**
* string environment = 1;
* @return The environment.
*/
public java.lang.String getEnvironment() {
java.lang.Object ref = environment_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
environment_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string environment = 1;
* @return The bytes for environment.
*/
public com.google.protobuf.ByteString
getEnvironmentBytes() {
java.lang.Object ref = environment_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
environment_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string environment = 1;
* @param value The environment to set.
* @return This builder for chaining.
*/
public Builder setEnvironment(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
environment_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* string environment = 1;
* @return This builder for chaining.
*/
public Builder clearEnvironment() {
environment_ = getDefaultInstance().getEnvironment();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* string environment = 1;
* @param value The bytes for environment to set.
* @return This builder for chaining.
*/
public Builder setEnvironmentBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
environment_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private boolean production_ ;
/**
* bool production = 2;
* @return The production.
*/
@java.lang.Override
public boolean getProduction() {
return production_;
}
/**
* bool production = 2;
* @param value The production to set.
* @return This builder for chaining.
*/
public Builder setProduction(boolean value) {
production_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* bool production = 2;
* @return This builder for chaining.
*/
public Builder clearProduction() {
bitField0_ = (bitField0_ & ~0x00000002);
production_ = false;
onChanged();
return this;
}
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> deploymentInfo_;
private com.google.protobuf.MapField
internalGetDeploymentInfo() {
if (deploymentInfo_ == null) {
return com.google.protobuf.MapField.emptyMapField(
DeploymentInfoDefaultEntryHolder.defaultEntry);
}
return deploymentInfo_;
}
private com.google.protobuf.MapField
internalGetMutableDeploymentInfo() {
if (deploymentInfo_ == null) {
deploymentInfo_ = com.google.protobuf.MapField.newMapField(
DeploymentInfoDefaultEntryHolder.defaultEntry);
}
if (!deploymentInfo_.isMutable()) {
deploymentInfo_ = deploymentInfo_.copy();
}
bitField0_ |= 0x00000004;
onChanged();
return deploymentInfo_;
}
public int getDeploymentInfoCount() {
return internalGetDeploymentInfo().getMap().size();
}
/**
* map<string, string> deploymentInfo = 3;
*/
@java.lang.Override
public boolean containsDeploymentInfo(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetDeploymentInfo().getMap().containsKey(key);
}
/**
* Use {@link #getDeploymentInfoMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getDeploymentInfo() {
return getDeploymentInfoMap();
}
/**
* map<string, string> deploymentInfo = 3;
*/
@java.lang.Override
public java.util.Map getDeploymentInfoMap() {
return internalGetDeploymentInfo().getMap();
}
/**
* map<string, string> deploymentInfo = 3;
*/
@java.lang.Override
public /* nullable */
java.lang.String getDeploymentInfoOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetDeploymentInfo().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, string> deploymentInfo = 3;
*/
@java.lang.Override
public java.lang.String getDeploymentInfoOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetDeploymentInfo().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearDeploymentInfo() {
bitField0_ = (bitField0_ & ~0x00000004);
internalGetMutableDeploymentInfo().getMutableMap()
.clear();
return this;
}
/**
* map<string, string> deploymentInfo = 3;
*/
public Builder removeDeploymentInfo(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableDeploymentInfo().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map
getMutableDeploymentInfo() {
bitField0_ |= 0x00000004;
return internalGetMutableDeploymentInfo().getMutableMap();
}
/**
* map<string, string> deploymentInfo = 3;
*/
public Builder putDeploymentInfo(
java.lang.String key,
java.lang.String value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) { throw new NullPointerException("map value"); }
internalGetMutableDeploymentInfo().getMutableMap()
.put(key, value);
bitField0_ |= 0x00000004;
return this;
}
/**
* map<string, string> deploymentInfo = 3;
*/
public Builder putAllDeploymentInfo(
java.util.Map values) {
internalGetMutableDeploymentInfo().getMutableMap()
.putAll(values);
bitField0_ |= 0x00000004;
return this;
}
// @@protoc_insertion_point(builder_scope:tracdap.config.PlatformInfo)
}
// @@protoc_insertion_point(class_scope:tracdap.config.PlatformInfo)
private static final org.finos.tracdap.config.PlatformInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.finos.tracdap.config.PlatformInfo();
}
public static org.finos.tracdap.config.PlatformInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public PlatformInfo 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 org.finos.tracdap.config.PlatformInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}