Package org.finos.tracdap.api
Class PlatformInfoResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.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,java.lang.Cloneable,PlatformInfoResponseOrBuilder
- Enclosing class:
- PlatformInfoResponse
public static final class PlatformInfoResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PlatformInfoResponse.Builder> implements PlatformInfoResponseOrBuilder
Response object for the platformInfo() API call. Contains some general information about the TRAC platform.
Protobuf typetracdap.api.PlatformInfoResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description PlatformInfoResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)PlatformInfoResponsebuild()PlatformInfoResponsebuildPartial()PlatformInfoResponse.Builderclear()PlatformInfoResponse.BuilderclearDeploymentInfo()PlatformInfoResponse.BuilderclearEnvironment()Name of the current TRAC environment.PlatformInfoResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)PlatformInfoResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)PlatformInfoResponse.BuilderclearProduction()Flag indicating whether the current environment is a production environment or not.PlatformInfoResponse.BuilderclearTracVersion()Version string for the version of TRAC currently deployed in the platform.PlatformInfoResponse.Builderclone()booleancontainsDeploymentInfo(java.lang.String key)Additional information about the current TRAC environment.PlatformInfoResponsegetDefaultInstanceForType()java.util.Map<java.lang.String,java.lang.String>getDeploymentInfo()Deprecated.intgetDeploymentInfoCount()Additional information about the current TRAC environment.java.util.Map<java.lang.String,java.lang.String>getDeploymentInfoMap()Additional information about the current TRAC environment.java.lang.StringgetDeploymentInfoOrDefault(java.lang.String key, java.lang.String defaultValue)Additional information about the current TRAC environment.java.lang.StringgetDeploymentInfoOrThrow(java.lang.String key)Additional information about the current TRAC environment.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetEnvironment()Name of the current TRAC environment.com.google.protobuf.ByteStringgetEnvironmentBytes()Name of the current TRAC environment.java.util.Map<java.lang.String,java.lang.String>getMutableDeploymentInfo()Deprecated.booleangetProduction()Flag indicating whether the current environment is a production environment or not.java.lang.StringgetTracVersion()Version string for the version of TRAC currently deployed in the platform.com.google.protobuf.ByteStringgetTracVersionBytes()Version string for the version of TRAC currently deployed in the platform.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()PlatformInfoResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)PlatformInfoResponse.BuildermergeFrom(com.google.protobuf.Message other)PlatformInfoResponse.BuildermergeFrom(PlatformInfoResponse other)PlatformInfoResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)PlatformInfoResponse.BuilderputAllDeploymentInfo(java.util.Map<java.lang.String,java.lang.String> values)Additional information about the current TRAC environment.PlatformInfoResponse.BuilderputDeploymentInfo(java.lang.String key, java.lang.String value)Additional information about the current TRAC environment.PlatformInfoResponse.BuilderremoveDeploymentInfo(java.lang.String key)Additional information about the current TRAC environment.PlatformInfoResponse.BuildersetEnvironment(java.lang.String value)Name of the current TRAC environment.PlatformInfoResponse.BuildersetEnvironmentBytes(com.google.protobuf.ByteString value)Name of the current TRAC environment.PlatformInfoResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)PlatformInfoResponse.BuildersetProduction(boolean value)Flag indicating whether the current environment is a production environment or not.PlatformInfoResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)PlatformInfoResponse.BuildersetTracVersion(java.lang.String value)Version string for the version of TRAC currently deployed in the platform.PlatformInfoResponse.BuildersetTracVersionBytes(com.google.protobuf.ByteString value)Version string for the version of TRAC currently deployed in the platform.PlatformInfoResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PlatformInfoResponse.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PlatformInfoResponse.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<PlatformInfoResponse.Builder>
-
clear
public PlatformInfoResponse.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<PlatformInfoResponse.Builder>
-
getDefaultInstanceForType
public PlatformInfoResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public PlatformInfoResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PlatformInfoResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PlatformInfoResponse.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<PlatformInfoResponse.Builder>
-
setField
public PlatformInfoResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PlatformInfoResponse.Builder>
-
clearField
public PlatformInfoResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PlatformInfoResponse.Builder>
-
clearOneof
public PlatformInfoResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<PlatformInfoResponse.Builder>
-
setRepeatedField
public PlatformInfoResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PlatformInfoResponse.Builder>
-
addRepeatedField
public PlatformInfoResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PlatformInfoResponse.Builder>
-
mergeFrom
public PlatformInfoResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PlatformInfoResponse.Builder>
-
mergeFrom
public PlatformInfoResponse.Builder mergeFrom(PlatformInfoResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<PlatformInfoResponse.Builder>
-
mergeFrom
public PlatformInfoResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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:
java.io.IOException
-
getTracVersion
public java.lang.String 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
public PlatformInfoResponse.Builder setTracVersion(java.lang.String value)
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
public PlatformInfoResponse.Builder clearTracVersion()
Version string for the version of TRAC currently deployed in the platform. *
string tracVersion = 1;- Returns:
- This builder for chaining.
-
setTracVersionBytes
public PlatformInfoResponse.Builder setTracVersionBytes(com.google.protobuf.ByteString value)
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
public java.lang.String 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
public PlatformInfoResponse.Builder setEnvironment(java.lang.String value)
Name of the current TRAC environment.
string environment = 2;- Parameters:
value- The environment to set.- Returns:
- This builder for chaining.
-
clearEnvironment
public PlatformInfoResponse.Builder clearEnvironment()
Name of the current TRAC environment.
string environment = 2;- Returns:
- This builder for chaining.
-
setEnvironmentBytes
public PlatformInfoResponse.Builder setEnvironmentBytes(com.google.protobuf.ByteString value)
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
public PlatformInfoResponse.Builder setProduction(boolean value)
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
public PlatformInfoResponse.Builder 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:PlatformInfoResponseOrBuilderAdditional 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
public boolean containsDeploymentInfo(java.lang.String key)
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 public java.util.Map<java.lang.String,java.lang.String> getDeploymentInfo()
Deprecated.UsegetDeploymentInfoMap()instead.- Specified by:
getDeploymentInfoin interfacePlatformInfoResponseOrBuilder
-
getDeploymentInfoMap
public java.util.Map<java.lang.String,java.lang.String> 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
public java.lang.String getDeploymentInfoOrDefault(java.lang.String key, java.lang.String defaultValue)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
public java.lang.String getDeploymentInfoOrThrow(java.lang.String key)
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
public PlatformInfoResponse.Builder clearDeploymentInfo()
-
removeDeploymentInfo
public PlatformInfoResponse.Builder removeDeploymentInfo(java.lang.String key)
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 public java.util.Map<java.lang.String,java.lang.String> getMutableDeploymentInfo()
Deprecated.Use alternate mutation accessors instead.
-
putDeploymentInfo
public PlatformInfoResponse.Builder putDeploymentInfo(java.lang.String key, java.lang.String value)
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
public PlatformInfoResponse.Builder putAllDeploymentInfo(java.util.Map<java.lang.String,java.lang.String> values)
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;
-
setUnknownFields
public final PlatformInfoResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PlatformInfoResponse.Builder>
-
mergeUnknownFields
public final PlatformInfoResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PlatformInfoResponse.Builder>
-
-