Class PatchJobs.PatchJobInstanceDetails

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.osconfig.v1beta.PatchJobs.PatchJobInstanceDetails
All Implemented Interfaces:
PatchJobs.PatchJobInstanceDetailsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
PatchJobs

public static final class PatchJobs.PatchJobInstanceDetails extends com.google.protobuf.GeneratedMessage implements PatchJobs.PatchJobInstanceDetailsOrBuilder
 Patch details for a VM instance. For more information about reviewing VM
 instance details, see
 [Listing all VM instance details for a specific patch
 job](https://cloud.google.com/compute/docs/os-patch-management/manage-patch-jobs#list-instance-details).
 
Protobuf type google.cloud.osconfig.v1beta.PatchJobInstanceDetails
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • INSTANCE_SYSTEM_ID_FIELD_NUMBER

      public static final int INSTANCE_SYSTEM_ID_FIELD_NUMBER
      See Also:
    • STATE_FIELD_NUMBER

      public static final int STATE_FIELD_NUMBER
      See Also:
    • FAILURE_REASON_FIELD_NUMBER

      public static final int FAILURE_REASON_FIELD_NUMBER
      See Also:
    • ATTEMPT_COUNT_FIELD_NUMBER

      public static final int ATTEMPT_COUNT_FIELD_NUMBER
      See Also:
  • 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
    • getName

      public String getName()
       The instance name in the form `projects/*/zones/*/instances/*`
       
      string name = 1;
      Specified by:
      getName in interface PatchJobs.PatchJobInstanceDetailsOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The instance name in the form `projects/*/zones/*/instances/*`
       
      string name = 1;
      Specified by:
      getNameBytes in interface PatchJobs.PatchJobInstanceDetailsOrBuilder
      Returns:
      The bytes for name.
    • getInstanceSystemId

      public String getInstanceSystemId()
       The unique identifier for the instance. This identifier is
       defined by the server.
       
      string instance_system_id = 2;
      Specified by:
      getInstanceSystemId in interface PatchJobs.PatchJobInstanceDetailsOrBuilder
      Returns:
      The instanceSystemId.
    • getInstanceSystemIdBytes

      public com.google.protobuf.ByteString getInstanceSystemIdBytes()
       The unique identifier for the instance. This identifier is
       defined by the server.
       
      string instance_system_id = 2;
      Specified by:
      getInstanceSystemIdBytes in interface PatchJobs.PatchJobInstanceDetailsOrBuilder
      Returns:
      The bytes for instanceSystemId.
    • getStateValue

      public int getStateValue()
       Current state of instance patch.
       
      .google.cloud.osconfig.v1beta.Instance.PatchState state = 3;
      Specified by:
      getStateValue in interface PatchJobs.PatchJobInstanceDetailsOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • getState

      public PatchJobs.Instance.PatchState getState()
       Current state of instance patch.
       
      .google.cloud.osconfig.v1beta.Instance.PatchState state = 3;
      Specified by:
      getState in interface PatchJobs.PatchJobInstanceDetailsOrBuilder
      Returns:
      The state.
    • getFailureReason

      public String getFailureReason()
       If the patch fails, this field provides the reason.
       
      string failure_reason = 4;
      Specified by:
      getFailureReason in interface PatchJobs.PatchJobInstanceDetailsOrBuilder
      Returns:
      The failureReason.
    • getFailureReasonBytes

      public com.google.protobuf.ByteString getFailureReasonBytes()
       If the patch fails, this field provides the reason.
       
      string failure_reason = 4;
      Specified by:
      getFailureReasonBytes in interface PatchJobs.PatchJobInstanceDetailsOrBuilder
      Returns:
      The bytes for failureReason.
    • getAttemptCount

      public long getAttemptCount()
       The number of times the agent that the agent attempts to apply the patch.
       
      int64 attempt_count = 5;
      Specified by:
      getAttemptCount in interface PatchJobs.PatchJobInstanceDetailsOrBuilder
      Returns:
      The attemptCount.
    • 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 PatchJobs.PatchJobInstanceDetails parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static PatchJobs.PatchJobInstanceDetails parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static PatchJobs.PatchJobInstanceDetails parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static PatchJobs.PatchJobInstanceDetails.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static PatchJobs.PatchJobInstanceDetails getDefaultInstance()
    • parser

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

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