public static final class PatchJobs.PatchJobInstanceDetails.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJobInstanceDetails.Builder> 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](https://cloud.google.com/compute/docs/os-patch-management/manage-patch-jobs#list-instance-details).Protobuf type
google.cloud.osconfig.v1.PatchJobInstanceDetails| Modifier and Type | Method and Description |
|---|---|
PatchJobs.PatchJobInstanceDetails.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PatchJobs.PatchJobInstanceDetails |
build() |
PatchJobs.PatchJobInstanceDetails |
buildPartial() |
PatchJobs.PatchJobInstanceDetails.Builder |
clear() |
PatchJobs.PatchJobInstanceDetails.Builder |
clearAttemptCount()
The number of times the agent that the agent attempts to apply the patch.
|
PatchJobs.PatchJobInstanceDetails.Builder |
clearFailureReason()
If the patch fails, this field provides the reason.
|
PatchJobs.PatchJobInstanceDetails.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PatchJobs.PatchJobInstanceDetails.Builder |
clearInstanceSystemId()
The unique identifier for the instance.
|
PatchJobs.PatchJobInstanceDetails.Builder |
clearName()
The instance name in the form `projects/*/zones/*/instances/*`
|
PatchJobs.PatchJobInstanceDetails.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PatchJobs.PatchJobInstanceDetails.Builder |
clearState()
Current state of instance patch.
|
PatchJobs.PatchJobInstanceDetails.Builder |
clone() |
long |
getAttemptCount()
The number of times the agent that the agent attempts to apply the patch.
|
PatchJobs.PatchJobInstanceDetails |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PatchJobs.PatchJobInstanceDetails.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PatchJobs.PatchJobInstanceDetails.Builder |
mergeFrom(com.google.protobuf.Message other) |
PatchJobs.PatchJobInstanceDetails.Builder |
mergeFrom(PatchJobs.PatchJobInstanceDetails other) |
PatchJobs.PatchJobInstanceDetails.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PatchJobs.PatchJobInstanceDetails.Builder |
setAttemptCount(long value)
The number of times the agent that the agent attempts to apply the patch.
|
PatchJobs.PatchJobInstanceDetails.Builder |
setFailureReason(String value)
If the patch fails, this field provides the reason.
|
PatchJobs.PatchJobInstanceDetails.Builder |
setFailureReasonBytes(com.google.protobuf.ByteString value)
If the patch fails, this field provides the reason.
|
PatchJobs.PatchJobInstanceDetails.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PatchJobs.PatchJobInstanceDetails.Builder |
setInstanceSystemId(String value)
The unique identifier for the instance.
|
PatchJobs.PatchJobInstanceDetails.Builder |
setInstanceSystemIdBytes(com.google.protobuf.ByteString value)
The unique identifier for the instance.
|
PatchJobs.PatchJobInstanceDetails.Builder |
setName(String value)
The instance name in the form `projects/*/zones/*/instances/*`
|
PatchJobs.PatchJobInstanceDetails.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The instance name in the form `projects/*/zones/*/instances/*`
|
PatchJobs.PatchJobInstanceDetails.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
PatchJobs.PatchJobInstanceDetails.Builder |
setState(PatchJobs.Instance.PatchState value)
Current state of instance patch.
|
PatchJobs.PatchJobInstanceDetails.Builder |
setStateValue(int value)
Current state of instance patch.
|
PatchJobs.PatchJobInstanceDetails.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJobInstanceDetails.Builder>public PatchJobs.PatchJobInstanceDetails.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJobInstanceDetails.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJobInstanceDetails.Builder>public PatchJobs.PatchJobInstanceDetails getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PatchJobs.PatchJobInstanceDetails build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PatchJobs.PatchJobInstanceDetails buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PatchJobs.PatchJobInstanceDetails.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJobInstanceDetails.Builder>public PatchJobs.PatchJobInstanceDetails.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJobInstanceDetails.Builder>public PatchJobs.PatchJobInstanceDetails.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJobInstanceDetails.Builder>public PatchJobs.PatchJobInstanceDetails.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJobInstanceDetails.Builder>public PatchJobs.PatchJobInstanceDetails.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJobInstanceDetails.Builder>public PatchJobs.PatchJobInstanceDetails.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJobInstanceDetails.Builder>public PatchJobs.PatchJobInstanceDetails.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PatchJobs.PatchJobInstanceDetails.Builder>public PatchJobs.PatchJobInstanceDetails.Builder mergeFrom(PatchJobs.PatchJobInstanceDetails other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJobInstanceDetails.Builder>public PatchJobs.PatchJobInstanceDetails.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PatchJobs.PatchJobInstanceDetails.Builder>IOExceptionpublic String getName()
The instance name in the form `projects/*/zones/*/instances/*`
string name = 1 [(.google.api.resource_reference) = { ... }getName in interface PatchJobs.PatchJobInstanceDetailsOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The instance name in the form `projects/*/zones/*/instances/*`
string name = 1 [(.google.api.resource_reference) = { ... }getNameBytes in interface PatchJobs.PatchJobInstanceDetailsOrBuilderpublic PatchJobs.PatchJobInstanceDetails.Builder setName(String value)
The instance name in the form `projects/*/zones/*/instances/*`
string name = 1 [(.google.api.resource_reference) = { ... }value - The name to set.public PatchJobs.PatchJobInstanceDetails.Builder clearName()
The instance name in the form `projects/*/zones/*/instances/*`
string name = 1 [(.google.api.resource_reference) = { ... }public PatchJobs.PatchJobInstanceDetails.Builder setNameBytes(com.google.protobuf.ByteString value)
The instance name in the form `projects/*/zones/*/instances/*`
string name = 1 [(.google.api.resource_reference) = { ... }value - The bytes for name to set.public String getInstanceSystemId()
The unique identifier for the instance. This identifier is defined by the server.
string instance_system_id = 2;getInstanceSystemId in interface PatchJobs.PatchJobInstanceDetailsOrBuilderpublic com.google.protobuf.ByteString getInstanceSystemIdBytes()
The unique identifier for the instance. This identifier is defined by the server.
string instance_system_id = 2;getInstanceSystemIdBytes in interface PatchJobs.PatchJobInstanceDetailsOrBuilderpublic PatchJobs.PatchJobInstanceDetails.Builder setInstanceSystemId(String value)
The unique identifier for the instance. This identifier is defined by the server.
string instance_system_id = 2;value - The instanceSystemId to set.public PatchJobs.PatchJobInstanceDetails.Builder clearInstanceSystemId()
The unique identifier for the instance. This identifier is defined by the server.
string instance_system_id = 2;public PatchJobs.PatchJobInstanceDetails.Builder setInstanceSystemIdBytes(com.google.protobuf.ByteString value)
The unique identifier for the instance. This identifier is defined by the server.
string instance_system_id = 2;value - The bytes for instanceSystemId to set.public int getStateValue()
Current state of instance patch.
.google.cloud.osconfig.v1.Instance.PatchState state = 3;getStateValue in interface PatchJobs.PatchJobInstanceDetailsOrBuilderpublic PatchJobs.PatchJobInstanceDetails.Builder setStateValue(int value)
Current state of instance patch.
.google.cloud.osconfig.v1.Instance.PatchState state = 3;value - The enum numeric value on the wire for state to set.public PatchJobs.Instance.PatchState getState()
Current state of instance patch.
.google.cloud.osconfig.v1.Instance.PatchState state = 3;getState in interface PatchJobs.PatchJobInstanceDetailsOrBuilderpublic PatchJobs.PatchJobInstanceDetails.Builder setState(PatchJobs.Instance.PatchState value)
Current state of instance patch.
.google.cloud.osconfig.v1.Instance.PatchState state = 3;value - The state to set.public PatchJobs.PatchJobInstanceDetails.Builder clearState()
Current state of instance patch.
.google.cloud.osconfig.v1.Instance.PatchState state = 3;public String getFailureReason()
If the patch fails, this field provides the reason.
string failure_reason = 4;getFailureReason in interface PatchJobs.PatchJobInstanceDetailsOrBuilderpublic com.google.protobuf.ByteString getFailureReasonBytes()
If the patch fails, this field provides the reason.
string failure_reason = 4;getFailureReasonBytes in interface PatchJobs.PatchJobInstanceDetailsOrBuilderpublic PatchJobs.PatchJobInstanceDetails.Builder setFailureReason(String value)
If the patch fails, this field provides the reason.
string failure_reason = 4;value - The failureReason to set.public PatchJobs.PatchJobInstanceDetails.Builder clearFailureReason()
If the patch fails, this field provides the reason.
string failure_reason = 4;public PatchJobs.PatchJobInstanceDetails.Builder setFailureReasonBytes(com.google.protobuf.ByteString value)
If the patch fails, this field provides the reason.
string failure_reason = 4;value - The bytes for failureReason to set.public long getAttemptCount()
The number of times the agent that the agent attempts to apply the patch.
int64 attempt_count = 5;getAttemptCount in interface PatchJobs.PatchJobInstanceDetailsOrBuilderpublic PatchJobs.PatchJobInstanceDetails.Builder setAttemptCount(long value)
The number of times the agent that the agent attempts to apply the patch.
int64 attempt_count = 5;value - The attemptCount to set.public PatchJobs.PatchJobInstanceDetails.Builder clearAttemptCount()
The number of times the agent that the agent attempts to apply the patch.
int64 attempt_count = 5;public final PatchJobs.PatchJobInstanceDetails.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJobInstanceDetails.Builder>public final PatchJobs.PatchJobInstanceDetails.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchJobInstanceDetails.Builder>Copyright © 2024 Google LLC. All rights reserved.