Class PerInstanceConfig.Builder

    • Method Detail

      • 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.Builder<PerInstanceConfig.Builder>
      • clear

        public PerInstanceConfig.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<PerInstanceConfig.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<PerInstanceConfig.Builder>
      • getDefaultInstanceForType

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

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

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

        public PerInstanceConfig.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<PerInstanceConfig.Builder>
      • setField

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

        public PerInstanceConfig.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<PerInstanceConfig.Builder>
      • clearOneof

        public PerInstanceConfig.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<PerInstanceConfig.Builder>
      • setRepeatedField

        public PerInstanceConfig.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<PerInstanceConfig.Builder>
      • addRepeatedField

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

        public PerInstanceConfig.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PerInstanceConfig.Builder>
      • isInitialized

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

        public PerInstanceConfig.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<PerInstanceConfig.Builder>
        Throws:
        IOException
      • hasFingerprint

        public boolean hasFingerprint()
         Fingerprint of this per-instance config. This field can be used in optimistic locking. It is ignored when inserting a per-instance config. An up-to-date fingerprint must be provided in order to update an existing per-instance configuration or the field needs to be unset.
         
        optional string fingerprint = 234678500;
        Specified by:
        hasFingerprint in interface PerInstanceConfigOrBuilder
        Returns:
        Whether the fingerprint field is set.
      • getFingerprint

        public String getFingerprint()
         Fingerprint of this per-instance config. This field can be used in optimistic locking. It is ignored when inserting a per-instance config. An up-to-date fingerprint must be provided in order to update an existing per-instance configuration or the field needs to be unset.
         
        optional string fingerprint = 234678500;
        Specified by:
        getFingerprint in interface PerInstanceConfigOrBuilder
        Returns:
        The fingerprint.
      • getFingerprintBytes

        public com.google.protobuf.ByteString getFingerprintBytes()
         Fingerprint of this per-instance config. This field can be used in optimistic locking. It is ignored when inserting a per-instance config. An up-to-date fingerprint must be provided in order to update an existing per-instance configuration or the field needs to be unset.
         
        optional string fingerprint = 234678500;
        Specified by:
        getFingerprintBytes in interface PerInstanceConfigOrBuilder
        Returns:
        The bytes for fingerprint.
      • setFingerprint

        public PerInstanceConfig.Builder setFingerprint​(String value)
         Fingerprint of this per-instance config. This field can be used in optimistic locking. It is ignored when inserting a per-instance config. An up-to-date fingerprint must be provided in order to update an existing per-instance configuration or the field needs to be unset.
         
        optional string fingerprint = 234678500;
        Parameters:
        value - The fingerprint to set.
        Returns:
        This builder for chaining.
      • clearFingerprint

        public PerInstanceConfig.Builder clearFingerprint()
         Fingerprint of this per-instance config. This field can be used in optimistic locking. It is ignored when inserting a per-instance config. An up-to-date fingerprint must be provided in order to update an existing per-instance configuration or the field needs to be unset.
         
        optional string fingerprint = 234678500;
        Returns:
        This builder for chaining.
      • setFingerprintBytes

        public PerInstanceConfig.Builder setFingerprintBytes​(com.google.protobuf.ByteString value)
         Fingerprint of this per-instance config. This field can be used in optimistic locking. It is ignored when inserting a per-instance config. An up-to-date fingerprint must be provided in order to update an existing per-instance configuration or the field needs to be unset.
         
        optional string fingerprint = 234678500;
        Parameters:
        value - The bytes for fingerprint to set.
        Returns:
        This builder for chaining.
      • hasName

        public boolean hasName()
         The name of a per-instance configuration and its corresponding instance. Serves as a merge key during UpdatePerInstanceConfigs operations, that is, if a per-instance configuration with the same name exists then it will be updated, otherwise a new one will be created for the VM instance with the same name. An attempt to create a per-instance configconfiguration for a VM instance that either doesn't exist or is not part of the group will result in an error.
         
        optional string name = 3373707;
        Specified by:
        hasName in interface PerInstanceConfigOrBuilder
        Returns:
        Whether the name field is set.
      • getName

        public String getName()
         The name of a per-instance configuration and its corresponding instance. Serves as a merge key during UpdatePerInstanceConfigs operations, that is, if a per-instance configuration with the same name exists then it will be updated, otherwise a new one will be created for the VM instance with the same name. An attempt to create a per-instance configconfiguration for a VM instance that either doesn't exist or is not part of the group will result in an error.
         
        optional string name = 3373707;
        Specified by:
        getName in interface PerInstanceConfigOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         The name of a per-instance configuration and its corresponding instance. Serves as a merge key during UpdatePerInstanceConfigs operations, that is, if a per-instance configuration with the same name exists then it will be updated, otherwise a new one will be created for the VM instance with the same name. An attempt to create a per-instance configconfiguration for a VM instance that either doesn't exist or is not part of the group will result in an error.
         
        optional string name = 3373707;
        Specified by:
        getNameBytes in interface PerInstanceConfigOrBuilder
        Returns:
        The bytes for name.
      • setName

        public PerInstanceConfig.Builder setName​(String value)
         The name of a per-instance configuration and its corresponding instance. Serves as a merge key during UpdatePerInstanceConfigs operations, that is, if a per-instance configuration with the same name exists then it will be updated, otherwise a new one will be created for the VM instance with the same name. An attempt to create a per-instance configconfiguration for a VM instance that either doesn't exist or is not part of the group will result in an error.
         
        optional string name = 3373707;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public PerInstanceConfig.Builder clearName()
         The name of a per-instance configuration and its corresponding instance. Serves as a merge key during UpdatePerInstanceConfigs operations, that is, if a per-instance configuration with the same name exists then it will be updated, otherwise a new one will be created for the VM instance with the same name. An attempt to create a per-instance configconfiguration for a VM instance that either doesn't exist or is not part of the group will result in an error.
         
        optional string name = 3373707;
        Returns:
        This builder for chaining.
      • setNameBytes

        public PerInstanceConfig.Builder setNameBytes​(com.google.protobuf.ByteString value)
         The name of a per-instance configuration and its corresponding instance. Serves as a merge key during UpdatePerInstanceConfigs operations, that is, if a per-instance configuration with the same name exists then it will be updated, otherwise a new one will be created for the VM instance with the same name. An attempt to create a per-instance configconfiguration for a VM instance that either doesn't exist or is not part of the group will result in an error.
         
        optional string name = 3373707;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasPreservedState

        public boolean hasPreservedState()
         The intended preserved state for the given instance. Does not contain preserved state generated from a stateful policy.
         
        optional .google.cloud.compute.v1.PreservedState preserved_state = 2634026;
        Specified by:
        hasPreservedState in interface PerInstanceConfigOrBuilder
        Returns:
        Whether the preservedState field is set.
      • getPreservedState

        public PreservedState getPreservedState()
         The intended preserved state for the given instance. Does not contain preserved state generated from a stateful policy.
         
        optional .google.cloud.compute.v1.PreservedState preserved_state = 2634026;
        Specified by:
        getPreservedState in interface PerInstanceConfigOrBuilder
        Returns:
        The preservedState.
      • setPreservedState

        public PerInstanceConfig.Builder setPreservedState​(PreservedState value)
         The intended preserved state for the given instance. Does not contain preserved state generated from a stateful policy.
         
        optional .google.cloud.compute.v1.PreservedState preserved_state = 2634026;
      • setPreservedState

        public PerInstanceConfig.Builder setPreservedState​(PreservedState.Builder builderForValue)
         The intended preserved state for the given instance. Does not contain preserved state generated from a stateful policy.
         
        optional .google.cloud.compute.v1.PreservedState preserved_state = 2634026;
      • mergePreservedState

        public PerInstanceConfig.Builder mergePreservedState​(PreservedState value)
         The intended preserved state for the given instance. Does not contain preserved state generated from a stateful policy.
         
        optional .google.cloud.compute.v1.PreservedState preserved_state = 2634026;
      • clearPreservedState

        public PerInstanceConfig.Builder clearPreservedState()
         The intended preserved state for the given instance. Does not contain preserved state generated from a stateful policy.
         
        optional .google.cloud.compute.v1.PreservedState preserved_state = 2634026;
      • getPreservedStateBuilder

        public PreservedState.Builder getPreservedStateBuilder()
         The intended preserved state for the given instance. Does not contain preserved state generated from a stateful policy.
         
        optional .google.cloud.compute.v1.PreservedState preserved_state = 2634026;
      • hasStatus

        public boolean hasStatus()
         The status of applying this per-instance configuration on the corresponding managed instance.
         Check the Status enum for the list of possible values.
         
        optional string status = 181260274;
        Specified by:
        hasStatus in interface PerInstanceConfigOrBuilder
        Returns:
        Whether the status field is set.
      • getStatus

        public String getStatus()
         The status of applying this per-instance configuration on the corresponding managed instance.
         Check the Status enum for the list of possible values.
         
        optional string status = 181260274;
        Specified by:
        getStatus in interface PerInstanceConfigOrBuilder
        Returns:
        The status.
      • getStatusBytes

        public com.google.protobuf.ByteString getStatusBytes()
         The status of applying this per-instance configuration on the corresponding managed instance.
         Check the Status enum for the list of possible values.
         
        optional string status = 181260274;
        Specified by:
        getStatusBytes in interface PerInstanceConfigOrBuilder
        Returns:
        The bytes for status.
      • setStatus

        public PerInstanceConfig.Builder setStatus​(String value)
         The status of applying this per-instance configuration on the corresponding managed instance.
         Check the Status enum for the list of possible values.
         
        optional string status = 181260274;
        Parameters:
        value - The status to set.
        Returns:
        This builder for chaining.
      • clearStatus

        public PerInstanceConfig.Builder clearStatus()
         The status of applying this per-instance configuration on the corresponding managed instance.
         Check the Status enum for the list of possible values.
         
        optional string status = 181260274;
        Returns:
        This builder for chaining.
      • setStatusBytes

        public PerInstanceConfig.Builder setStatusBytes​(com.google.protobuf.ByteString value)
         The status of applying this per-instance configuration on the corresponding managed instance.
         Check the Status enum for the list of possible values.
         
        optional string status = 181260274;
        Parameters:
        value - The bytes for status to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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