Class PerInstanceConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.PerInstanceConfig
All Implemented Interfaces:
PerInstanceConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class PerInstanceConfig extends com.google.protobuf.GeneratedMessage implements PerInstanceConfigOrBuilder
 
Protobuf type google.cloud.compute.v1.PerInstanceConfig
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    static enum 
    The status of applying this per-instance configuration on the corresponding managed instance.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage

    com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage

    com.google.protobuf.AbstractMessage.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    Fingerprint of this per-instance config.
    com.google.protobuf.ByteString
    Fingerprint of this per-instance config.
    The name of a per-instance configuration and its corresponding instance.
    com.google.protobuf.ByteString
    The name of a per-instance configuration and its corresponding instance.
    com.google.protobuf.Parser<PerInstanceConfig>
     
    The intended preserved state for the given instance.
    The intended preserved state for the given instance.
    int
     
    The status of applying this per-instance configuration on the corresponding managed instance.
    com.google.protobuf.ByteString
    The status of applying this per-instance configuration on the corresponding managed instance.
    boolean
    Fingerprint of this per-instance config.
    int
     
    boolean
    The name of a per-instance configuration and its corresponding instance.
    boolean
    The intended preserved state for the given instance.
    boolean
    The status of applying this per-instance configuration on the corresponding managed instance.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<PerInstanceConfig>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessage

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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.
    • 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
       configuration 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
       configuration 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
       configuration 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.
    • 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.
    • getPreservedStateOrBuilder

      public PreservedStateOrBuilder getPreservedStateOrBuilder()
       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:
      getPreservedStateOrBuilder in interface PerInstanceConfigOrBuilder
    • 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.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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 PerInstanceConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static PerInstanceConfig parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PerInstanceConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PerInstanceConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PerInstanceConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PerInstanceConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PerInstanceConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static PerInstanceConfig.Builder newBuilder()
    • newBuilder

      public static PerInstanceConfig.Builder newBuilder(PerInstanceConfig prototype)
    • toBuilder

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

      protected PerInstanceConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static PerInstanceConfig getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<PerInstanceConfig> parser()
    • getParserForType

      public com.google.protobuf.Parser<PerInstanceConfig> 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.GeneratedMessage
    • getDefaultInstanceForType

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