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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<PlatformInfoResponse.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<PlatformInfoResponse.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<PlatformInfoResponse.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<PlatformInfoResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<PlatformInfoResponse.Builder>
    • getDefaultInstanceForType

      public PlatformInfoResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public PlatformInfoResponse build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public PlatformInfoResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public PlatformInfoResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PlatformInfoResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PlatformInfoResponse.Builder>
      Throws:
      IOException
    • getTracVersion

      public String getTracVersion()
       / Version string for the version of TRAC currently deployed in the platform.
       
      string tracVersion = 1;
      Specified by:
      getTracVersion in interface PlatformInfoResponseOrBuilder
      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:
      getTracVersionBytes in interface PlatformInfoResponseOrBuilder
      Returns:
      The bytes for tracVersion.
    • setTracVersion

      public PlatformInfoResponse.Builder setTracVersion(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 String getEnvironment()
       / Name of the current TRAC environment.
       
      string environment = 2;
      Specified by:
      getEnvironment in interface PlatformInfoResponseOrBuilder
      Returns:
      The environment.
    • getEnvironmentBytes

      public com.google.protobuf.ByteString getEnvironmentBytes()
       / Name of the current TRAC environment.
       
      string environment = 2;
      Specified by:
      getEnvironmentBytes in interface PlatformInfoResponseOrBuilder
      Returns:
      The bytes for environment.
    • setEnvironment

      public PlatformInfoResponse.Builder setEnvironment(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:
      getProduction in interface PlatformInfoResponseOrBuilder
      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: 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:
      getDeploymentInfoCount in interface PlatformInfoResponseOrBuilder
    • containsDeploymentInfo

      public boolean containsDeploymentInfo(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:
      containsDeploymentInfo in interface PlatformInfoResponseOrBuilder
    • getDeploymentInfo

      @Deprecated public Map<String,String> getDeploymentInfo()
      Deprecated.
      Specified by:
      getDeploymentInfo in interface PlatformInfoResponseOrBuilder
    • getDeploymentInfoMap

      public Map<String,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:
      getDeploymentInfoMap in interface PlatformInfoResponseOrBuilder
    • getDeploymentInfoOrDefault

      public String getDeploymentInfoOrDefault(String key, 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:
      getDeploymentInfoOrDefault in interface PlatformInfoResponseOrBuilder
    • getDeploymentInfoOrThrow

      public String getDeploymentInfoOrThrow(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:
      getDeploymentInfoOrThrow in interface PlatformInfoResponseOrBuilder
    • clearDeploymentInfo

      public PlatformInfoResponse.Builder clearDeploymentInfo()
    • removeDeploymentInfo

      public PlatformInfoResponse.Builder removeDeploymentInfo(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 Map<String,String> getMutableDeploymentInfo()
      Deprecated.
      Use alternate mutation accessors instead.
    • putDeploymentInfo

      public PlatformInfoResponse.Builder putDeploymentInfo(String key, 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(Map<String,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;