Class InstanceGroupManagersApplyUpdatesRequest

    • Field Detail

      • ALL_INSTANCES_FIELD_NUMBER

        public static final int ALL_INSTANCES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MINIMAL_ACTION_FIELD_NUMBER

        public static final int MINIMAL_ACTION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MOST_DISRUPTIVE_ALLOWED_ACTION_FIELD_NUMBER

        public static final int MOST_DISRUPTIVE_ALLOWED_ACTION_FIELD_NUMBER
        See Also:
        Constant Field Values
    • 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
      • hasAllInstances

        public boolean hasAllInstances()
         Flag to update all instances instead of specified list of “instances”. If the flag is set to true then the instances may not be specified in the request.
         
        optional bool all_instances = 403676512;
        Specified by:
        hasAllInstances in interface InstanceGroupManagersApplyUpdatesRequestOrBuilder
        Returns:
        Whether the allInstances field is set.
      • getAllInstances

        public boolean getAllInstances()
         Flag to update all instances instead of specified list of “instances”. If the flag is set to true then the instances may not be specified in the request.
         
        optional bool all_instances = 403676512;
        Specified by:
        getAllInstances in interface InstanceGroupManagersApplyUpdatesRequestOrBuilder
        Returns:
        The allInstances.
      • getInstancesList

        public com.google.protobuf.ProtocolStringList getInstancesList()
         The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
         
        repeated string instances = 29097598;
        Specified by:
        getInstancesList in interface InstanceGroupManagersApplyUpdatesRequestOrBuilder
        Returns:
        A list containing the instances.
      • getInstancesCount

        public int getInstancesCount()
         The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
         
        repeated string instances = 29097598;
        Specified by:
        getInstancesCount in interface InstanceGroupManagersApplyUpdatesRequestOrBuilder
        Returns:
        The count of instances.
      • getInstances

        public String getInstances​(int index)
         The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
         
        repeated string instances = 29097598;
        Specified by:
        getInstances in interface InstanceGroupManagersApplyUpdatesRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The instances at the given index.
      • getInstancesBytes

        public com.google.protobuf.ByteString getInstancesBytes​(int index)
         The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
         
        repeated string instances = 29097598;
        Specified by:
        getInstancesBytes in interface InstanceGroupManagersApplyUpdatesRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the instances at the given index.
      • hasMinimalAction

        public boolean hasMinimalAction()
         The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update.
         Check the MinimalAction enum for the list of possible values.
         
        optional string minimal_action = 270567060;
        Specified by:
        hasMinimalAction in interface InstanceGroupManagersApplyUpdatesRequestOrBuilder
        Returns:
        Whether the minimalAction field is set.
      • getMinimalAction

        public String getMinimalAction()
         The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update.
         Check the MinimalAction enum for the list of possible values.
         
        optional string minimal_action = 270567060;
        Specified by:
        getMinimalAction in interface InstanceGroupManagersApplyUpdatesRequestOrBuilder
        Returns:
        The minimalAction.
      • getMinimalActionBytes

        public com.google.protobuf.ByteString getMinimalActionBytes()
         The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update.
         Check the MinimalAction enum for the list of possible values.
         
        optional string minimal_action = 270567060;
        Specified by:
        getMinimalActionBytes in interface InstanceGroupManagersApplyUpdatesRequestOrBuilder
        Returns:
        The bytes for minimalAction.
      • hasMostDisruptiveAllowedAction

        public boolean hasMostDisruptiveAllowedAction()
         The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail.
         Check the MostDisruptiveAllowedAction enum for the list of possible values.
         
        optional string most_disruptive_allowed_action = 66103053;
        Specified by:
        hasMostDisruptiveAllowedAction in interface InstanceGroupManagersApplyUpdatesRequestOrBuilder
        Returns:
        Whether the mostDisruptiveAllowedAction field is set.
      • getMostDisruptiveAllowedAction

        public String getMostDisruptiveAllowedAction()
         The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail.
         Check the MostDisruptiveAllowedAction enum for the list of possible values.
         
        optional string most_disruptive_allowed_action = 66103053;
        Specified by:
        getMostDisruptiveAllowedAction in interface InstanceGroupManagersApplyUpdatesRequestOrBuilder
        Returns:
        The mostDisruptiveAllowedAction.
      • getMostDisruptiveAllowedActionBytes

        public com.google.protobuf.ByteString getMostDisruptiveAllowedActionBytes()
         The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail.
         Check the MostDisruptiveAllowedAction enum for the list of possible values.
         
        optional string most_disruptive_allowed_action = 66103053;
        Specified by:
        getMostDisruptiveAllowedActionBytes in interface InstanceGroupManagersApplyUpdatesRequestOrBuilder
        Returns:
        The bytes for mostDisruptiveAllowedAction.
      • 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 InstanceGroupManagersApplyUpdatesRequest parseFrom​(ByteBuffer data,
                                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

        public com.google.protobuf.Parser<InstanceGroupManagersApplyUpdatesRequest> 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 InstanceGroupManagersApplyUpdatesRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder