Class GetInstanceHealthResponse.Builder

    • 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<GetInstanceHealthResponse.Builder>
      • internalGetMutableMapField

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<GetInstanceHealthResponse.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<GetInstanceHealthResponse.Builder>
      • getDefaultInstanceForType

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

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

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

        public GetInstanceHealthResponse.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                  int index,
                                                                  Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GetInstanceHealthResponse.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GetInstanceHealthResponse.Builder>
      • mergeFrom

        public GetInstanceHealthResponse.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<GetInstanceHealthResponse.Builder>
        Throws:
        IOException
      • getHealthStateValue

        public int getHealthStateValue()
         Output only. Runtime health_state.
         
        .google.cloud.notebooks.v1.GetInstanceHealthResponse.HealthState health_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getHealthStateValue in interface GetInstanceHealthResponseOrBuilder
        Returns:
        The enum numeric value on the wire for healthState.
      • setHealthStateValue

        public GetInstanceHealthResponse.Builder setHealthStateValue​(int value)
         Output only. Runtime health_state.
         
        .google.cloud.notebooks.v1.GetInstanceHealthResponse.HealthState health_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for healthState to set.
        Returns:
        This builder for chaining.
      • setHealthState

        public GetInstanceHealthResponse.Builder setHealthState​(GetInstanceHealthResponse.HealthState value)
         Output only. Runtime health_state.
         
        .google.cloud.notebooks.v1.GetInstanceHealthResponse.HealthState health_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The healthState to set.
        Returns:
        This builder for chaining.
      • clearHealthState

        public GetInstanceHealthResponse.Builder clearHealthState()
         Output only. Runtime health_state.
         
        .google.cloud.notebooks.v1.GetInstanceHealthResponse.HealthState health_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getHealthInfoCount

        public int getHealthInfoCount()
        Description copied from interface: GetInstanceHealthResponseOrBuilder
         Output only. Additional information about instance health.
         Example:
             healthInfo": {
               "docker_proxy_agent_status": "1",
               "docker_status": "1",
               "jupyterlab_api_status": "-1",
               "jupyterlab_status": "-1",
               "updated": "2020-10-18 09:40:03.573409"
             }
         
        map<string, string> health_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getHealthInfoCount in interface GetInstanceHealthResponseOrBuilder
      • containsHealthInfo

        public boolean containsHealthInfo​(String key)
         Output only. Additional information about instance health.
         Example:
             healthInfo": {
               "docker_proxy_agent_status": "1",
               "docker_status": "1",
               "jupyterlab_api_status": "-1",
               "jupyterlab_status": "-1",
               "updated": "2020-10-18 09:40:03.573409"
             }
         
        map<string, string> health_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        containsHealthInfo in interface GetInstanceHealthResponseOrBuilder
      • getHealthInfoMap

        public Map<String,​String> getHealthInfoMap()
         Output only. Additional information about instance health.
         Example:
             healthInfo": {
               "docker_proxy_agent_status": "1",
               "docker_status": "1",
               "jupyterlab_api_status": "-1",
               "jupyterlab_status": "-1",
               "updated": "2020-10-18 09:40:03.573409"
             }
         
        map<string, string> health_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getHealthInfoMap in interface GetInstanceHealthResponseOrBuilder
      • getHealthInfoOrDefault

        public String getHealthInfoOrDefault​(String key,
                                             String defaultValue)
         Output only. Additional information about instance health.
         Example:
             healthInfo": {
               "docker_proxy_agent_status": "1",
               "docker_status": "1",
               "jupyterlab_api_status": "-1",
               "jupyterlab_status": "-1",
               "updated": "2020-10-18 09:40:03.573409"
             }
         
        map<string, string> health_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getHealthInfoOrDefault in interface GetInstanceHealthResponseOrBuilder
      • getHealthInfoOrThrow

        public String getHealthInfoOrThrow​(String key)
         Output only. Additional information about instance health.
         Example:
             healthInfo": {
               "docker_proxy_agent_status": "1",
               "docker_status": "1",
               "jupyterlab_api_status": "-1",
               "jupyterlab_status": "-1",
               "updated": "2020-10-18 09:40:03.573409"
             }
         
        map<string, string> health_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getHealthInfoOrThrow in interface GetInstanceHealthResponseOrBuilder
      • removeHealthInfo

        public GetInstanceHealthResponse.Builder removeHealthInfo​(String key)
         Output only. Additional information about instance health.
         Example:
             healthInfo": {
               "docker_proxy_agent_status": "1",
               "docker_status": "1",
               "jupyterlab_api_status": "-1",
               "jupyterlab_status": "-1",
               "updated": "2020-10-18 09:40:03.573409"
             }
         
        map<string, string> health_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getMutableHealthInfo

        @Deprecated
        public Map<String,​String> getMutableHealthInfo()
        Deprecated.
        Use alternate mutation accessors instead.
      • putHealthInfo

        public GetInstanceHealthResponse.Builder putHealthInfo​(String key,
                                                               String value)
         Output only. Additional information about instance health.
         Example:
             healthInfo": {
               "docker_proxy_agent_status": "1",
               "docker_status": "1",
               "jupyterlab_api_status": "-1",
               "jupyterlab_status": "-1",
               "updated": "2020-10-18 09:40:03.573409"
             }
         
        map<string, string> health_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • putAllHealthInfo

        public GetInstanceHealthResponse.Builder putAllHealthInfo​(Map<String,​String> values)
         Output only. Additional information about instance health.
         Example:
             healthInfo": {
               "docker_proxy_agent_status": "1",
               "docker_status": "1",
               "jupyterlab_api_status": "-1",
               "jupyterlab_status": "-1",
               "updated": "2020-10-18 09:40:03.573409"
             }
         
        map<string, string> health_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setUnknownFields

        public final GetInstanceHealthResponse.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<GetInstanceHealthResponse.Builder>
      • mergeUnknownFields

        public final GetInstanceHealthResponse.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<GetInstanceHealthResponse.Builder>