Interface PatchJobs.PatchJobInstanceDetailsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
PatchJobs.PatchJobInstanceDetails, PatchJobs.PatchJobInstanceDetails.Builder
Enclosing class:
PatchJobs

public static interface PatchJobs.PatchJobInstanceDetailsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    The number of times the agent that the agent attempts to apply the patch.
    If the patch fails, this field provides the reason.
    com.google.protobuf.ByteString
    If the patch fails, this field provides the reason.
    The unique identifier for the instance.
    com.google.protobuf.ByteString
    The unique identifier for the instance.
    The instance name in the form `projects/*/zones/*/instances/*`
    com.google.protobuf.ByteString
    The instance name in the form `projects/*/zones/*/instances/*`
    Current state of instance patch.
    int
    Current state of instance patch.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

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

    • getName

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

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

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

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

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

       Current state of instance patch.
       
      .google.cloud.osconfig.v1beta.Instance.PatchState state = 3;
      Returns:
      The state.
    • getFailureReason

      String getFailureReason()
       If the patch fails, this field provides the reason.
       
      string failure_reason = 4;
      Returns:
      The failureReason.
    • getFailureReasonBytes

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

      long getAttemptCount()
       The number of times the agent that the agent attempts to apply the patch.
       
      int64 attempt_count = 5;
      Returns:
      The attemptCount.