public static final class PatchJobs.PatchJobInstanceDetails extends GeneratedMessageV3 implements PatchJobs.PatchJobInstanceDetailsOrBuilder
Static Fields
ATTEMPT_COUNT_FIELD_NUMBER
public static final int ATTEMPT_COUNT_FIELD_NUMBER
Field Value
FAILURE_REASON_FIELD_NUMBER
public static final int FAILURE_REASON_FIELD_NUMBER
Field Value
INSTANCE_SYSTEM_ID_FIELD_NUMBER
public static final int INSTANCE_SYSTEM_ID_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static PatchJobs.PatchJobInstanceDetails getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static PatchJobs.PatchJobInstanceDetails.Builder newBuilder()
Returns
newBuilder(PatchJobs.PatchJobInstanceDetails prototype)
public static PatchJobs.PatchJobInstanceDetails.Builder newBuilder(PatchJobs.PatchJobInstanceDetails prototype)
Parameter
Returns
public static PatchJobs.PatchJobInstanceDetails parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static PatchJobs.PatchJobInstanceDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static PatchJobs.PatchJobInstanceDetails parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PatchJobs.PatchJobInstanceDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static PatchJobs.PatchJobInstanceDetails parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PatchJobs.PatchJobInstanceDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PatchJobs.PatchJobInstanceDetails parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static PatchJobs.PatchJobInstanceDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PatchJobs.PatchJobInstanceDetails parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static PatchJobs.PatchJobInstanceDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static PatchJobs.PatchJobInstanceDetails parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PatchJobs.PatchJobInstanceDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<PatchJobs.PatchJobInstanceDetails> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAttemptCount()
public long getAttemptCount()
The number of times the agent that the agent attempts to apply the patch.
int64 attempt_count = 5;
Returns
Type | Description |
long | The attemptCount.
|
getDefaultInstanceForType()
public PatchJobs.PatchJobInstanceDetails getDefaultInstanceForType()
Returns
getFailureReason()
public String getFailureReason()
If the patch fails, this field provides the reason.
string failure_reason = 4;
Returns
Type | Description |
String | The failureReason.
|
getFailureReasonBytes()
public ByteString getFailureReasonBytes()
If the patch fails, this field provides the reason.
string failure_reason = 4;
Returns
Type | Description |
ByteString | The bytes for failureReason.
|
getInstanceSystemId()
public String getInstanceSystemId()
The unique identifier for the instance. This identifier is
defined by the server.
string instance_system_id = 2;
Returns
Type | Description |
String | The instanceSystemId.
|
getInstanceSystemIdBytes()
public ByteString getInstanceSystemIdBytes()
The unique identifier for the instance. This identifier is
defined by the server.
string instance_system_id = 2;
Returns
Type | Description |
ByteString | The bytes for instanceSystemId.
|
getName()
The instance name in the form projects/*/zones/*/instances/*
string name = 1;
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
The instance name in the form projects/*/zones/*/instances/*
string name = 1;
Returns
getParserForType()
public Parser<PatchJobs.PatchJobInstanceDetails> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getState()
public PatchJobs.Instance.PatchState getState()
Current state of instance patch.
.google.cloud.osconfig.v1beta.Instance.PatchState state = 3;
Returns
getStateValue()
public int getStateValue()
Current state of instance patch.
.google.cloud.osconfig.v1beta.Instance.PatchState state = 3;
Returns
Type | Description |
int | The enum numeric value on the wire for state.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public PatchJobs.PatchJobInstanceDetails.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PatchJobs.PatchJobInstanceDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public PatchJobs.PatchJobInstanceDetails.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions