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

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

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

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

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

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

        public BackendServiceGroupHealth.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<BackendServiceGroupHealth.Builder>
      • isInitialized

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

        public BackendServiceGroupHealth.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<BackendServiceGroupHealth.Builder>
        Throws:
        IOException
      • removeAnnotations

        public BackendServiceGroupHealth.Builder removeAnnotations​(String key)
         Metadata defined as annotations on the network endpoint group.
         
        map<string, string> annotations = 112032548;
      • getMutableAnnotations

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

        public List<HealthStatus> getHealthStatusList()
         Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.
         
        repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
        Specified by:
        getHealthStatusList in interface BackendServiceGroupHealthOrBuilder
      • getHealthStatusCount

        public int getHealthStatusCount()
         Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.
         
        repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
        Specified by:
        getHealthStatusCount in interface BackendServiceGroupHealthOrBuilder
      • getHealthStatus

        public HealthStatus getHealthStatus​(int index)
         Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.
         
        repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
        Specified by:
        getHealthStatus in interface BackendServiceGroupHealthOrBuilder
      • setHealthStatus

        public BackendServiceGroupHealth.Builder setHealthStatus​(int index,
                                                                 HealthStatus value)
         Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.
         
        repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
      • setHealthStatus

        public BackendServiceGroupHealth.Builder setHealthStatus​(int index,
                                                                 HealthStatus.Builder builderForValue)
         Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.
         
        repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
      • addHealthStatus

        public BackendServiceGroupHealth.Builder addHealthStatus​(HealthStatus value)
         Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.
         
        repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
      • addHealthStatus

        public BackendServiceGroupHealth.Builder addHealthStatus​(int index,
                                                                 HealthStatus value)
         Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.
         
        repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
      • addHealthStatus

        public BackendServiceGroupHealth.Builder addHealthStatus​(HealthStatus.Builder builderForValue)
         Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.
         
        repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
      • addHealthStatus

        public BackendServiceGroupHealth.Builder addHealthStatus​(int index,
                                                                 HealthStatus.Builder builderForValue)
         Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.
         
        repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
      • addAllHealthStatus

        public BackendServiceGroupHealth.Builder addAllHealthStatus​(Iterable<? extends HealthStatus> values)
         Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.
         
        repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
      • clearHealthStatus

        public BackendServiceGroupHealth.Builder clearHealthStatus()
         Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.
         
        repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
      • removeHealthStatus

        public BackendServiceGroupHealth.Builder removeHealthStatus​(int index)
         Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.
         
        repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
      • getHealthStatusBuilder

        public HealthStatus.Builder getHealthStatusBuilder​(int index)
         Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.
         
        repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
      • getHealthStatusOrBuilder

        public HealthStatusOrBuilder getHealthStatusOrBuilder​(int index)
         Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.
         
        repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
        Specified by:
        getHealthStatusOrBuilder in interface BackendServiceGroupHealthOrBuilder
      • addHealthStatusBuilder

        public HealthStatus.Builder addHealthStatusBuilder()
         Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.
         
        repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
      • addHealthStatusBuilder

        public HealthStatus.Builder addHealthStatusBuilder​(int index)
         Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.
         
        repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
      • getHealthStatusBuilderList

        public List<HealthStatus.Builder> getHealthStatusBuilderList()
         Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.
         
        repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
      • hasKind

        public boolean hasKind()
         [Output Only] Type of resource. Always compute#backendServiceGroupHealth for the health of backend services.
         
        optional string kind = 3292052;
        Specified by:
        hasKind in interface BackendServiceGroupHealthOrBuilder
        Returns:
        Whether the kind field is set.
      • getKind

        public String getKind()
         [Output Only] Type of resource. Always compute#backendServiceGroupHealth for the health of backend services.
         
        optional string kind = 3292052;
        Specified by:
        getKind in interface BackendServiceGroupHealthOrBuilder
        Returns:
        The kind.
      • getKindBytes

        public com.google.protobuf.ByteString getKindBytes()
         [Output Only] Type of resource. Always compute#backendServiceGroupHealth for the health of backend services.
         
        optional string kind = 3292052;
        Specified by:
        getKindBytes in interface BackendServiceGroupHealthOrBuilder
        Returns:
        The bytes for kind.
      • setKind

        public BackendServiceGroupHealth.Builder setKind​(String value)
         [Output Only] Type of resource. Always compute#backendServiceGroupHealth for the health of backend services.
         
        optional string kind = 3292052;
        Parameters:
        value - The kind to set.
        Returns:
        This builder for chaining.
      • clearKind

        public BackendServiceGroupHealth.Builder clearKind()
         [Output Only] Type of resource. Always compute#backendServiceGroupHealth for the health of backend services.
         
        optional string kind = 3292052;
        Returns:
        This builder for chaining.
      • setKindBytes

        public BackendServiceGroupHealth.Builder setKindBytes​(com.google.protobuf.ByteString value)
         [Output Only] Type of resource. Always compute#backendServiceGroupHealth for the health of backend services.
         
        optional string kind = 3292052;
        Parameters:
        value - The bytes for kind to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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