Package org.finos.tracdap.api
Class PlatformInfoResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<PlatformInfoResponse.Builder>
com.google.protobuf.GeneratedMessage.Builder<PlatformInfoResponse.Builder>
org.finos.tracdap.api.PlatformInfoResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,PlatformInfoResponseOrBuilder
- Enclosing class:
PlatformInfoResponse
public static final class PlatformInfoResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<PlatformInfoResponse.Builder>
implements PlatformInfoResponseOrBuilder
* Response object for the platformInfo() API call. Contains some general information about the TRAC platform.Protobuf type
tracdap.api.PlatformInfoResponse-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()/ Name of the current TRAC environment./ Flag indicating whether the current environment is a production environment or not./ Version string for the version of TRAC currently deployed in the platform.boolean* Additional information about the current TRAC environment.Deprecated.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.Descriptorcom.google.protobuf.Descriptors.Descriptor/ Name of the current TRAC environment.com.google.protobuf.ByteString/ Name of the current TRAC environment.Deprecated.boolean/ Flag indicating whether the current environment is a production environment or not./ 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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(PlatformInfoResponse other) putAllDeploymentInfo(Map<String, String> values) * Additional information about the current TRAC environment.putDeploymentInfo(String key, String value) * Additional information about the current TRAC environment.* Additional information about the current TRAC environment.setEnvironment(String value) / Name of the current TRAC environment.setEnvironmentBytes(com.google.protobuf.ByteString value) / Name of the current TRAC environment.setProduction(boolean value) / Flag indicating whether the current environment is a production environment or not.setTracVersion(String value) / Version string for the version of TRAC currently deployed in the platform.setTracVersionBytes(com.google.protobuf.ByteString value) / Version string for the version of TRAC currently deployed in the platform.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<PlatformInfoResponse.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<PlatformInfoResponse.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<PlatformInfoResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<PlatformInfoResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<PlatformInfoResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PlatformInfoResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PlatformInfoResponse.Builder>
-
mergeFrom
public PlatformInfoResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PlatformInfoResponse.Builder>- Throws:
IOException
-
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.
-
setTracVersion
/ Version string for the version of TRAC currently deployed in the platform.
string tracVersion = 1;- Parameters:
value- The tracVersion to set.- Returns:
- This builder for chaining.
-
clearTracVersion
/ Version string for the version of TRAC currently deployed in the platform.
string tracVersion = 1;- Returns:
- This builder for chaining.
-
setTracVersionBytes
/ Version string for the version of TRAC currently deployed in the platform.
string tracVersion = 1;- Parameters:
value- The bytes for tracVersion to set.- Returns:
- This builder for chaining.
-
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.
-
setEnvironment
/ Name of the current TRAC environment.
string environment = 2;- Parameters:
value- The environment to set.- Returns:
- This builder for chaining.
-
clearEnvironment
/ Name of the current TRAC environment.
string environment = 2;- Returns:
- This builder for chaining.
-
setEnvironmentBytes
/ Name of the current TRAC environment.
string environment = 2;- Parameters:
value- The bytes for environment to set.- Returns:
- This builder for chaining.
-
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.
-
setProduction
/ Flag indicating whether the current environment is a production environment or not.
bool production = 3;- Parameters:
value- The production to set.- Returns:
- This builder for chaining.
-
clearProduction
/ Flag indicating whether the current environment is a production environment or not.
bool production = 3;- Returns:
- This builder for chaining.
-
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
-
clearDeploymentInfo
-
removeDeploymentInfo
* 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; -
getMutableDeploymentInfo
Deprecated.Use alternate mutation accessors instead. -
putDeploymentInfo
* 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; -
putAllDeploymentInfo
* 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;
-