- 2.80.0 (latest)
 - 2.78.0
 - 2.77.0
 - 2.76.0
 - 2.75.0
 - 2.74.0
 - 2.72.0
 - 2.70.0
 - 2.69.0
 - 2.66.0
 - 2.65.0
 - 2.64.0
 - 2.62.0
 - 2.61.0
 - 2.60.0
 - 2.59.0
 - 2.58.0
 - 2.57.0
 - 2.56.0
 - 2.55.0
 - 2.54.0
 - 2.53.0
 - 2.51.0
 - 2.50.0
 - 2.49.0
 - 2.48.0
 - 2.47.0
 - 2.46.0
 - 2.45.0
 - 2.44.0
 - 2.43.0
 - 2.42.0
 - 2.41.0
 - 2.39.0
 - 2.38.0
 - 2.37.0
 - 2.36.0
 - 2.35.0
 - 2.34.0
 - 2.33.0
 - 2.32.0
 - 2.31.0
 - 2.30.0
 - 2.29.0
 - 2.26.0
 - 2.25.0
 - 2.24.0
 - 2.23.0
 - 2.22.0
 - 2.21.0
 - 2.20.0
 - 2.19.0
 - 2.18.0
 - 2.17.0
 - 2.16.0
 - 2.15.0
 - 2.14.0
 - 2.13.0
 - 2.11.0
 - 2.10.0
 - 2.9.0
 - 2.8.0
 - 2.7.0
 - 2.6.0
 - 2.5.6
 - 2.4.3
 - 2.3.2
 
public static final class PatchJobs.PatchJobInstanceDetails.Builder extends GeneratedMessageV3.Builder<PatchJobs.PatchJobInstanceDetails.Builder> implements PatchJobs.PatchJobInstanceDetailsOrBuilderPatch 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.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PatchJobs.PatchJobInstanceDetails.BuilderImplements
PatchJobs.PatchJobInstanceDetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PatchJobs.PatchJobInstanceDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
PatchJobs.PatchJobInstanceDetails.Builder | 
        |
build()
public PatchJobs.PatchJobInstanceDetails build()| Returns | |
|---|---|
| Type | Description | 
PatchJobs.PatchJobInstanceDetails | 
        |
buildPartial()
public PatchJobs.PatchJobInstanceDetails buildPartial()| Returns | |
|---|---|
| Type | Description | 
PatchJobs.PatchJobInstanceDetails | 
        |
clear()
public PatchJobs.PatchJobInstanceDetails.Builder clear()| Returns | |
|---|---|
| Type | Description | 
PatchJobs.PatchJobInstanceDetails.Builder | 
        |
clearAttemptCount()
public PatchJobs.PatchJobInstanceDetails.Builder clearAttemptCount()The number of times the agent that the agent attempts to apply the patch.
 int64 attempt_count = 5;
| Returns | |
|---|---|
| Type | Description | 
PatchJobs.PatchJobInstanceDetails.Builder | 
        This builder for chaining.  | 
      
clearFailureReason()
public PatchJobs.PatchJobInstanceDetails.Builder clearFailureReason()If the patch fails, this field provides the reason.
 string failure_reason = 4;
| Returns | |
|---|---|
| Type | Description | 
PatchJobs.PatchJobInstanceDetails.Builder | 
        This builder for chaining.  | 
      
clearField(Descriptors.FieldDescriptor field)
public PatchJobs.PatchJobInstanceDetails.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
PatchJobs.PatchJobInstanceDetails.Builder | 
        |
clearInstanceSystemId()
public PatchJobs.PatchJobInstanceDetails.Builder clearInstanceSystemId()The unique identifier for the instance. This identifier is defined by the server.
 string instance_system_id = 2;
| Returns | |
|---|---|
| Type | Description | 
PatchJobs.PatchJobInstanceDetails.Builder | 
        This builder for chaining.  | 
      
clearName()
public PatchJobs.PatchJobInstanceDetails.Builder clearName() The instance name in the form projects/*/zones/*/instances/*
 string name = 1;
| Returns | |
|---|---|
| Type | Description | 
PatchJobs.PatchJobInstanceDetails.Builder | 
        This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public PatchJobs.PatchJobInstanceDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
PatchJobs.PatchJobInstanceDetails.Builder | 
        |
clearState()
public PatchJobs.PatchJobInstanceDetails.Builder clearState()Current state of instance patch.
 .google.cloud.osconfig.v1beta.Instance.PatchState state = 3;
| Returns | |
|---|---|
| Type | Description | 
PatchJobs.PatchJobInstanceDetails.Builder | 
        This builder for chaining.  | 
      
clone()
public PatchJobs.PatchJobInstanceDetails.Builder clone()| Returns | |
|---|---|
| Type | Description | 
PatchJobs.PatchJobInstanceDetails.Builder | 
        |
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 | 
        |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
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.  | 
      
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.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
FieldAccessorTable | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
mergeFrom(PatchJobs.PatchJobInstanceDetails other)
public PatchJobs.PatchJobInstanceDetails.Builder mergeFrom(PatchJobs.PatchJobInstanceDetails other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        PatchJobs.PatchJobInstanceDetails | 
      
| Returns | |
|---|---|
| Type | Description | 
PatchJobs.PatchJobInstanceDetails.Builder | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PatchJobs.PatchJobInstanceDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
PatchJobs.PatchJobInstanceDetails.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public PatchJobs.PatchJobInstanceDetails.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
PatchJobs.PatchJobInstanceDetails.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PatchJobs.PatchJobInstanceDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
PatchJobs.PatchJobInstanceDetails.Builder | 
        |
setAttemptCount(long value)
public PatchJobs.PatchJobInstanceDetails.Builder setAttemptCount(long value)The number of times the agent that the agent attempts to apply the patch.
 int64 attempt_count = 5;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        longThe attemptCount to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
PatchJobs.PatchJobInstanceDetails.Builder | 
        This builder for chaining.  | 
      
setFailureReason(String value)
public PatchJobs.PatchJobInstanceDetails.Builder setFailureReason(String value)If the patch fails, this field provides the reason.
 string failure_reason = 4;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe failureReason to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
PatchJobs.PatchJobInstanceDetails.Builder | 
        This builder for chaining.  | 
      
setFailureReasonBytes(ByteString value)
public PatchJobs.PatchJobInstanceDetails.Builder setFailureReasonBytes(ByteString value)If the patch fails, this field provides the reason.
 string failure_reason = 4;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for failureReason to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
PatchJobs.PatchJobInstanceDetails.Builder | 
        This builder for chaining.  | 
      
setField(Descriptors.FieldDescriptor field, Object value)
public PatchJobs.PatchJobInstanceDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
PatchJobs.PatchJobInstanceDetails.Builder | 
        |
setInstanceSystemId(String value)
public PatchJobs.PatchJobInstanceDetails.Builder setInstanceSystemId(String value)The unique identifier for the instance. This identifier is defined by the server.
 string instance_system_id = 2;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe instanceSystemId to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
PatchJobs.PatchJobInstanceDetails.Builder | 
        This builder for chaining.  | 
      
setInstanceSystemIdBytes(ByteString value)
public PatchJobs.PatchJobInstanceDetails.Builder setInstanceSystemIdBytes(ByteString value)The unique identifier for the instance. This identifier is defined by the server.
 string instance_system_id = 2;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for instanceSystemId to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
PatchJobs.PatchJobInstanceDetails.Builder | 
        This builder for chaining.  | 
      
setName(String value)
public PatchJobs.PatchJobInstanceDetails.Builder setName(String value) The instance name in the form projects/*/zones/*/instances/*
 string name = 1;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe name to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
PatchJobs.PatchJobInstanceDetails.Builder | 
        This builder for chaining.  | 
      
setNameBytes(ByteString value)
public PatchJobs.PatchJobInstanceDetails.Builder setNameBytes(ByteString value) The instance name in the form projects/*/zones/*/instances/*
 string name = 1;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for name to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
PatchJobs.PatchJobInstanceDetails.Builder | 
        This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PatchJobs.PatchJobInstanceDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
PatchJobs.PatchJobInstanceDetails.Builder | 
        |
setState(PatchJobs.Instance.PatchState value)
public PatchJobs.PatchJobInstanceDetails.Builder setState(PatchJobs.Instance.PatchState value)Current state of instance patch.
 .google.cloud.osconfig.v1beta.Instance.PatchState state = 3;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        PatchJobs.Instance.PatchStateThe state to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
PatchJobs.PatchJobInstanceDetails.Builder | 
        This builder for chaining.  | 
      
setStateValue(int value)
public PatchJobs.PatchJobInstanceDetails.Builder setStateValue(int value)Current state of instance patch.
 .google.cloud.osconfig.v1beta.Instance.PatchState state = 3;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe enum numeric value on the wire for state to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
PatchJobs.PatchJobInstanceDetails.Builder | 
        This builder for chaining.  | 
      
setUnknownFields(UnknownFieldSet unknownFields)
public final PatchJobs.PatchJobInstanceDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
PatchJobs.PatchJobInstanceDetails.Builder | 
        |