Class PatchJobs.PatchJobInstanceDetails (2.36.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
TypeDescription
int

FAILURE_REASON_FIELD_NUMBER

public static final int FAILURE_REASON_FIELD_NUMBER
Field Value
TypeDescription
int

INSTANCE_SYSTEM_ID_FIELD_NUMBER

public static final int INSTANCE_SYSTEM_ID_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PatchJobs.PatchJobInstanceDetails getDefaultInstance()
Returns
TypeDescription
PatchJobs.PatchJobInstanceDetails

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static PatchJobs.PatchJobInstanceDetails.Builder newBuilder()
Returns
TypeDescription
PatchJobs.PatchJobInstanceDetails.Builder

newBuilder(PatchJobs.PatchJobInstanceDetails prototype)

public static PatchJobs.PatchJobInstanceDetails.Builder newBuilder(PatchJobs.PatchJobInstanceDetails prototype)
Parameter
NameDescription
prototypePatchJobs.PatchJobInstanceDetails
Returns
TypeDescription
PatchJobs.PatchJobInstanceDetails.Builder

parseDelimitedFrom(InputStream input)

public static PatchJobs.PatchJobInstanceDetails parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PatchJobs.PatchJobInstanceDetails
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PatchJobs.PatchJobInstanceDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchJobs.PatchJobInstanceDetails
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PatchJobs.PatchJobInstanceDetails parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PatchJobs.PatchJobInstanceDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PatchJobs.PatchJobInstanceDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchJobs.PatchJobInstanceDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PatchJobs.PatchJobInstanceDetails parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PatchJobs.PatchJobInstanceDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PatchJobs.PatchJobInstanceDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchJobs.PatchJobInstanceDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PatchJobs.PatchJobInstanceDetails parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PatchJobs.PatchJobInstanceDetails
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PatchJobs.PatchJobInstanceDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchJobs.PatchJobInstanceDetails
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PatchJobs.PatchJobInstanceDetails parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PatchJobs.PatchJobInstanceDetails
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PatchJobs.PatchJobInstanceDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchJobs.PatchJobInstanceDetails
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PatchJobs.PatchJobInstanceDetails parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PatchJobs.PatchJobInstanceDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PatchJobs.PatchJobInstanceDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchJobs.PatchJobInstanceDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
long

The attemptCount.

getDefaultInstanceForType()

public PatchJobs.PatchJobInstanceDetails getDefaultInstanceForType()
Returns
TypeDescription
PatchJobs.PatchJobInstanceDetails

getFailureReason()

public String getFailureReason()

If the patch fails, this field provides the reason.

string failure_reason = 4;

Returns
TypeDescription
String

The failureReason.

getFailureReasonBytes()

public ByteString getFailureReasonBytes()

If the patch fails, this field provides the reason.

string failure_reason = 4;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for instanceSystemId.

getName()

public String getName()

The instance name in the form projects/*/zones/*/instances/*

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The instance name in the form projects/*/zones/*/instances/*

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getState()

public PatchJobs.Instance.PatchState getState()

Current state of instance patch.

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

Returns
TypeDescription
PatchJobs.Instance.PatchState

The state.

getStateValue()

public int getStateValue()

Current state of instance patch.

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

Returns
TypeDescription
int

The enum numeric value on the wire for state.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PatchJobs.PatchJobInstanceDetails.Builder newBuilderForType()
Returns
TypeDescription
PatchJobs.PatchJobInstanceDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PatchJobs.PatchJobInstanceDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PatchJobs.PatchJobInstanceDetails.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PatchJobs.PatchJobInstanceDetails.Builder toBuilder()
Returns
TypeDescription
PatchJobs.PatchJobInstanceDetails.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException