Package org.finos.tracdap.api
Class PlatformInfoResponse
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
org.finos.tracdap.api.PlatformInfoResponse
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,PlatformInfoResponseOrBuilder
public final class PlatformInfoResponse
extends com.google.protobuf.GeneratedMessage
implements PlatformInfoResponseOrBuilder
* Response object for the platformInfo() API call. Contains some general information about the TRAC platform.Protobuf type
tracdap.api.PlatformInfoResponse- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* Response object for the platformInfo() API call.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionboolean* Additional information about the current TRAC environment.booleanstatic PlatformInfoResponseDeprecated.int* Additional information about the current TRAC environment.* Additional information about the current TRAC environment.getDeploymentInfoOrDefault(String key, String defaultValue) * Additional information about the current TRAC environment.* Additional information about the current TRAC environment.static final com.google.protobuf.Descriptors.Descriptor/ Name of the current TRAC environment.com.google.protobuf.ByteString/ Name of the current TRAC environment.com.google.protobuf.Parser<PlatformInfoResponse> boolean/ Flag indicating whether the current environment is a production environment or not.int/ Version string for the version of TRAC currently deployed in the platform.com.google.protobuf.ByteString/ Version string for the version of TRAC currently deployed in the platform.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic PlatformInfoResponse.Builderstatic PlatformInfoResponse.BuildernewBuilder(PlatformInfoResponse prototype) protected PlatformInfoResponse.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static PlatformInfoResponseparseDelimitedFrom(InputStream input) static PlatformInfoResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PlatformInfoResponseparseFrom(byte[] data) static PlatformInfoResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PlatformInfoResponseparseFrom(com.google.protobuf.ByteString data) static PlatformInfoResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PlatformInfoResponseparseFrom(com.google.protobuf.CodedInputStream input) static PlatformInfoResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PlatformInfoResponseparseFrom(InputStream input) static PlatformInfoResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PlatformInfoResponseparseFrom(ByteBuffer data) static PlatformInfoResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<PlatformInfoResponse> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TRACVERSION_FIELD_NUMBER
public static final int TRACVERSION_FIELD_NUMBER- See Also:
-
ENVIRONMENT_FIELD_NUMBER
public static final int ENVIRONMENT_FIELD_NUMBER- See Also:
-
PRODUCTION_FIELD_NUMBER
public static final int PRODUCTION_FIELD_NUMBER- See Also:
-
DEPLOYMENTINFO_FIELD_NUMBER
public static final int DEPLOYMENTINFO_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getTracVersion
/ Version string for the version of TRAC currently deployed in the platform.
string tracVersion = 1;- Specified by:
getTracVersionin interfacePlatformInfoResponseOrBuilder- Returns:
- The tracVersion.
-
getTracVersionBytes
public com.google.protobuf.ByteString getTracVersionBytes()/ Version string for the version of TRAC currently deployed in the platform.
string tracVersion = 1;- Specified by:
getTracVersionBytesin interfacePlatformInfoResponseOrBuilder- Returns:
- The bytes for tracVersion.
-
getEnvironment
/ Name of the current TRAC environment.
string environment = 2;- Specified by:
getEnvironmentin interfacePlatformInfoResponseOrBuilder- Returns:
- The environment.
-
getEnvironmentBytes
public com.google.protobuf.ByteString getEnvironmentBytes()/ Name of the current TRAC environment.
string environment = 2;- Specified by:
getEnvironmentBytesin interfacePlatformInfoResponseOrBuilder- Returns:
- The bytes for environment.
-
getProduction
public boolean getProduction()/ Flag indicating whether the current environment is a production environment or not.
bool production = 3;- Specified by:
getProductionin interfacePlatformInfoResponseOrBuilder- Returns:
- The production.
-
getDeploymentInfoCount
public int getDeploymentInfoCount()Description copied from interface:PlatformInfoResponseOrBuilder* Additional information about the current TRAC environment. The particular information relevant to a deployment of TRAC can vary between organizations. Useful information might include: region, business division, brand etc. This information is optional and may not be present for smaller deployments.
map<string, string> deploymentInfo = 4;- Specified by:
getDeploymentInfoCountin interfacePlatformInfoResponseOrBuilder
-
containsDeploymentInfo
* Additional information about the current TRAC environment. The particular information relevant to a deployment of TRAC can vary between organizations. Useful information might include: region, business division, brand etc. This information is optional and may not be present for smaller deployments.
map<string, string> deploymentInfo = 4;- Specified by:
containsDeploymentInfoin interfacePlatformInfoResponseOrBuilder
-
getDeploymentInfo
Deprecated.UsegetDeploymentInfoMap()instead.- Specified by:
getDeploymentInfoin interfacePlatformInfoResponseOrBuilder
-
getDeploymentInfoMap
* Additional information about the current TRAC environment. The particular information relevant to a deployment of TRAC can vary between organizations. Useful information might include: region, business division, brand etc. This information is optional and may not be present for smaller deployments.
map<string, string> deploymentInfo = 4;- Specified by:
getDeploymentInfoMapin interfacePlatformInfoResponseOrBuilder
-
getDeploymentInfoOrDefault
* Additional information about the current TRAC environment. The particular information relevant to a deployment of TRAC can vary between organizations. Useful information might include: region, business division, brand etc. This information is optional and may not be present for smaller deployments.
map<string, string> deploymentInfo = 4;- Specified by:
getDeploymentInfoOrDefaultin interfacePlatformInfoResponseOrBuilder
-
getDeploymentInfoOrThrow
* Additional information about the current TRAC environment. The particular information relevant to a deployment of TRAC can vary between organizations. Useful information might include: region, business division, brand etc. This information is optional and may not be present for smaller deployments.
map<string, string> deploymentInfo = 4;- Specified by:
getDeploymentInfoOrThrowin interfacePlatformInfoResponseOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static PlatformInfoResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PlatformInfoResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PlatformInfoResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PlatformInfoResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PlatformInfoResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PlatformInfoResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static PlatformInfoResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static PlatformInfoResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static PlatformInfoResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static PlatformInfoResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PlatformInfoResponse.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-