Package com.google.cloud.osconfig.v1
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getAttemptCount()
The number of times the agent that the agent attempts to apply the patch.String
getFailureReason()
If the patch fails, this field provides the reason.com.google.protobuf.ByteString
getFailureReasonBytes()
If the patch fails, this field provides the reason.String
getInstanceSystemId()
The unique identifier for the instance.com.google.protobuf.ByteString
getInstanceSystemIdBytes()
The unique identifier for the instance.String
getName()
The instance name in the form `projects/*/zones/*/instances/*`com.google.protobuf.ByteString
getNameBytes()
The instance name in the form `projects/*/zones/*/instances/*`PatchJobs.Instance.PatchState
getState()
Current state of instance patch.int
getStateValue()
Current state of instance patch.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
The instance name in the form `projects/*/zones/*/instances/*`
string name = 1 [(.google.api.resource_reference) = { ... }
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The instance name in the form `projects/*/zones/*/instances/*`
string name = 1 [(.google.api.resource_reference) = { ... }
- 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.v1.Instance.PatchState state = 3;
- Returns:
- The enum numeric value on the wire for state.
-
getState
PatchJobs.Instance.PatchState getState()
Current state of instance patch.
.google.cloud.osconfig.v1.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.
-
-