Class PatchJobs.PatchJobInstanceDetails (2.51.0)

public static final class PatchJobs.PatchJobInstanceDetails extends GeneratedMessageV3 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.

Protobuf type google.cloud.osconfig.v1beta.PatchJobInstanceDetails

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PatchJobs.PatchJobInstanceDetails

Static Fields

ATTEMPT_COUNT_FIELD_NUMBER

public static final int ATTEMPT_COUNT_FIELD_NUMBER
Field Value
Type Description
int

FAILURE_REASON_FIELD_NUMBER

public static final int FAILURE_REASON_FIELD_NUMBER
Field Value
Type Description
int

INSTANCE_SYSTEM_ID_FIELD_NUMBER

public static final int INSTANCE_SYSTEM_ID_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PatchJobs.PatchJobInstanceDetails getDefaultInstance()
Returns
Type Description
PatchJobs.PatchJobInstanceDetails

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static PatchJobs.PatchJobInstanceDetails.Builder newBuilder()
Returns
Type Description
PatchJobs.PatchJobInstanceDetails.Builder

newBuilder(PatchJobs.PatchJobInstanceDetails prototype)

public static PatchJobs.PatchJobInstanceDetails.Builder newBuilder(PatchJobs.PatchJobInstanceDetails prototype)
Parameter
Name Description
prototype PatchJobs.PatchJobInstanceDetails
Returns
Type Description
PatchJobs.PatchJobInstanceDetails.Builder

parseDelimitedFrom(InputStream input)

public static PatchJobs.PatchJobInstanceDetails parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PatchJobs.PatchJobInstanceDetails
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PatchJobs.PatchJobInstanceDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PatchJobs.PatchJobInstanceDetails
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PatchJobs.PatchJobInstanceDetails parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PatchJobs.PatchJobInstanceDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PatchJobs.PatchJobInstanceDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PatchJobs.PatchJobInstanceDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PatchJobs.PatchJobInstanceDetails parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PatchJobs.PatchJobInstanceDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PatchJobs.PatchJobInstanceDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PatchJobs.PatchJobInstanceDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PatchJobs.PatchJobInstanceDetails parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PatchJobs.PatchJobInstanceDetails
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PatchJobs.PatchJobInstanceDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PatchJobs.PatchJobInstanceDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PatchJobs.PatchJobInstanceDetails parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PatchJobs.PatchJobInstanceDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PatchJobs.PatchJobInstanceDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PatchJobs.PatchJobInstanceDetails
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PatchJobs.PatchJobInstanceDetails parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PatchJobs.PatchJobInstanceDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PatchJobs.PatchJobInstanceDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PatchJobs.PatchJobInstanceDetails
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PatchJobs.PatchJobInstanceDetails> parser()
Returns
Type Description
Parser<PatchJobInstanceDetails>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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
Type Description
PatchJobs.PatchJobInstanceDetails

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()

public String 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
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<PatchJobs.PatchJobInstanceDetails> getParserForType()
Returns
Type Description
Parser<PatchJobInstanceDetails>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public PatchJobs.Instance.PatchState getState()

Current state of instance patch.

.google.cloud.osconfig.v1beta.Instance.PatchState state = 3;

Returns
Type Description
PatchJobs.Instance.PatchState

The state.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PatchJobs.PatchJobInstanceDetails.Builder newBuilderForType()
Returns
Type Description
PatchJobs.PatchJobInstanceDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PatchJobs.PatchJobInstanceDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PatchJobs.PatchJobInstanceDetails.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PatchJobs.PatchJobInstanceDetails.Builder toBuilder()
Returns
Type Description
PatchJobs.PatchJobInstanceDetails.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException