Class Generated.ReplicationControllerStatus

    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • hasReplicas

        public boolean hasReplicas()
         Replicas is the most recently observed number of replicas.
         More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller
         
        optional int32 replicas = 1;
        Specified by:
        hasReplicas in interface Generated.ReplicationControllerStatusOrBuilder
        Returns:
        Whether the replicas field is set.
      • getReplicas

        public int getReplicas()
         Replicas is the most recently observed number of replicas.
         More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller
         
        optional int32 replicas = 1;
        Specified by:
        getReplicas in interface Generated.ReplicationControllerStatusOrBuilder
        Returns:
        The replicas.
      • hasFullyLabeledReplicas

        public boolean hasFullyLabeledReplicas()
         The number of pods that have labels matching the labels of the pod template of the replication controller.
         +optional
         
        optional int32 fullyLabeledReplicas = 2;
        Specified by:
        hasFullyLabeledReplicas in interface Generated.ReplicationControllerStatusOrBuilder
        Returns:
        Whether the fullyLabeledReplicas field is set.
      • getFullyLabeledReplicas

        public int getFullyLabeledReplicas()
         The number of pods that have labels matching the labels of the pod template of the replication controller.
         +optional
         
        optional int32 fullyLabeledReplicas = 2;
        Specified by:
        getFullyLabeledReplicas in interface Generated.ReplicationControllerStatusOrBuilder
        Returns:
        The fullyLabeledReplicas.
      • hasAvailableReplicas

        public boolean hasAvailableReplicas()
         The number of available replicas (ready for at least minReadySeconds) for this replication controller.
         +optional
         
        optional int32 availableReplicas = 5;
        Specified by:
        hasAvailableReplicas in interface Generated.ReplicationControllerStatusOrBuilder
        Returns:
        Whether the availableReplicas field is set.
      • getAvailableReplicas

        public int getAvailableReplicas()
         The number of available replicas (ready for at least minReadySeconds) for this replication controller.
         +optional
         
        optional int32 availableReplicas = 5;
        Specified by:
        getAvailableReplicas in interface Generated.ReplicationControllerStatusOrBuilder
        Returns:
        The availableReplicas.
      • hasObservedGeneration

        public boolean hasObservedGeneration()
         ObservedGeneration reflects the generation of the most recently observed replication controller.
         +optional
         
        optional int64 observedGeneration = 3;
        Specified by:
        hasObservedGeneration in interface Generated.ReplicationControllerStatusOrBuilder
        Returns:
        Whether the observedGeneration field is set.
      • getObservedGeneration

        public long getObservedGeneration()
         ObservedGeneration reflects the generation of the most recently observed replication controller.
         +optional
         
        optional int64 observedGeneration = 3;
        Specified by:
        getObservedGeneration in interface Generated.ReplicationControllerStatusOrBuilder
        Returns:
        The observedGeneration.
      • getConditionsCount

        public int getConditionsCount()
         Represents the latest available observations of a replication controller's current state.
         +optional
         +patchMergeKey=type
         +patchStrategy=merge
         +listType=map
         +listMapKey=type
         
        repeated .k8s.io.api.core.v1.ReplicationControllerCondition conditions = 6;
        Specified by:
        getConditionsCount in interface Generated.ReplicationControllerStatusOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Generated.ReplicationControllerStatus parseFrom​(ByteBuffer data,
                                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.ReplicationControllerStatus parseFrom​(com.google.protobuf.ByteString data)
                                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.ReplicationControllerStatus parseFrom​(com.google.protobuf.ByteString data,
                                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.ReplicationControllerStatus parseFrom​(byte[] data)
                                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.ReplicationControllerStatus parseFrom​(byte[] data,
                                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

        public Generated.ReplicationControllerStatus.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Generated.ReplicationControllerStatus.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<Generated.ReplicationControllerStatus> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public Generated.ReplicationControllerStatus getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder