Class 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 type tracdap.api.PlatformInfoResponse
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<PlatformInfoResponse.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<PlatformInfoResponse.Builder>
      • internalGetFieldAccessorTable

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

        public 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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public PlatformInfoResponse.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<PlatformInfoResponse.Builder>
      • setField

        public PlatformInfoResponse.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     java.lang.Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<PlatformInfoResponse.Builder>
      • clearField

        public PlatformInfoResponse.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<PlatformInfoResponse.Builder>
      • clearOneof

        public PlatformInfoResponse.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.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:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PlatformInfoResponse.Builder>
      • addRepeatedField

        public PlatformInfoResponse.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                             java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PlatformInfoResponse.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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:
        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:
        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:
        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​(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:
        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​(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:
        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​(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:
        containsDeploymentInfo in interface PlatformInfoResponseOrBuilder
      • 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:
        getDeploymentInfoMap in interface PlatformInfoResponseOrBuilder
      • 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:
        getDeploymentInfoOrDefault in interface PlatformInfoResponseOrBuilder
      • 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:
        getDeploymentInfoOrThrow in interface PlatformInfoResponseOrBuilder
      • 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:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PlatformInfoResponse.Builder>
      • mergeUnknownFields

        public final PlatformInfoResponse.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PlatformInfoResponse.Builder>