Class InstanceManagedByIgmError.Builder (1.54.0)

public static final class InstanceManagedByIgmError.Builder extends GeneratedMessageV3.Builder<InstanceManagedByIgmError.Builder> implements InstanceManagedByIgmErrorOrBuilder

Protobuf type google.cloud.compute.v1.InstanceManagedByIgmError

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InstanceManagedByIgmError.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InstanceManagedByIgmError.Builder
Overrides

build()

public InstanceManagedByIgmError build()
Returns
Type Description
InstanceManagedByIgmError

buildPartial()

public InstanceManagedByIgmError buildPartial()
Returns
Type Description
InstanceManagedByIgmError

clear()

public InstanceManagedByIgmError.Builder clear()
Returns
Type Description
InstanceManagedByIgmError.Builder
Overrides

clearError()

public InstanceManagedByIgmError.Builder clearError()

[Output Only] Contents of the error.

optional .google.cloud.compute.v1.InstanceManagedByIgmErrorManagedInstanceError error = 96784904;

Returns
Type Description
InstanceManagedByIgmError.Builder

clearField(Descriptors.FieldDescriptor field)

public InstanceManagedByIgmError.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
InstanceManagedByIgmError.Builder
Overrides

clearInstanceActionDetails()

public InstanceManagedByIgmError.Builder clearInstanceActionDetails()

[Output Only] Details of the instance action that triggered this error. May be null, if the error was not caused by an action on an instance. This field is optional.

optional .google.cloud.compute.v1.InstanceManagedByIgmErrorInstanceActionDetails instance_action_details = 292224547;

Returns
Type Description
InstanceManagedByIgmError.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public InstanceManagedByIgmError.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
InstanceManagedByIgmError.Builder
Overrides

clearTimestamp()

public InstanceManagedByIgmError.Builder clearTimestamp()

[Output Only] The time that this error occurred. This value is in RFC3339 text format.

optional string timestamp = 55126294;

Returns
Type Description
InstanceManagedByIgmError.Builder

This builder for chaining.

clone()

public InstanceManagedByIgmError.Builder clone()
Returns
Type Description
InstanceManagedByIgmError.Builder
Overrides

getDefaultInstanceForType()

public InstanceManagedByIgmError getDefaultInstanceForType()
Returns
Type Description
InstanceManagedByIgmError

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getError()

public InstanceManagedByIgmErrorManagedInstanceError getError()

[Output Only] Contents of the error.

optional .google.cloud.compute.v1.InstanceManagedByIgmErrorManagedInstanceError error = 96784904;

Returns
Type Description
InstanceManagedByIgmErrorManagedInstanceError

The error.

getErrorBuilder()

public InstanceManagedByIgmErrorManagedInstanceError.Builder getErrorBuilder()

[Output Only] Contents of the error.

optional .google.cloud.compute.v1.InstanceManagedByIgmErrorManagedInstanceError error = 96784904;

Returns
Type Description
InstanceManagedByIgmErrorManagedInstanceError.Builder

getErrorOrBuilder()

public InstanceManagedByIgmErrorManagedInstanceErrorOrBuilder getErrorOrBuilder()

[Output Only] Contents of the error.

optional .google.cloud.compute.v1.InstanceManagedByIgmErrorManagedInstanceError error = 96784904;

Returns
Type Description
InstanceManagedByIgmErrorManagedInstanceErrorOrBuilder

getInstanceActionDetails()

public InstanceManagedByIgmErrorInstanceActionDetails getInstanceActionDetails()

[Output Only] Details of the instance action that triggered this error. May be null, if the error was not caused by an action on an instance. This field is optional.

optional .google.cloud.compute.v1.InstanceManagedByIgmErrorInstanceActionDetails instance_action_details = 292224547;

Returns
Type Description
InstanceManagedByIgmErrorInstanceActionDetails

The instanceActionDetails.

getInstanceActionDetailsBuilder()

public InstanceManagedByIgmErrorInstanceActionDetails.Builder getInstanceActionDetailsBuilder()

[Output Only] Details of the instance action that triggered this error. May be null, if the error was not caused by an action on an instance. This field is optional.

optional .google.cloud.compute.v1.InstanceManagedByIgmErrorInstanceActionDetails instance_action_details = 292224547;

Returns
Type Description
InstanceManagedByIgmErrorInstanceActionDetails.Builder

getInstanceActionDetailsOrBuilder()

public InstanceManagedByIgmErrorInstanceActionDetailsOrBuilder getInstanceActionDetailsOrBuilder()

[Output Only] Details of the instance action that triggered this error. May be null, if the error was not caused by an action on an instance. This field is optional.

optional .google.cloud.compute.v1.InstanceManagedByIgmErrorInstanceActionDetails instance_action_details = 292224547;

Returns
Type Description
InstanceManagedByIgmErrorInstanceActionDetailsOrBuilder

getTimestamp()

public String getTimestamp()

[Output Only] The time that this error occurred. This value is in RFC3339 text format.

optional string timestamp = 55126294;

Returns
Type Description
String

The timestamp.

getTimestampBytes()

public ByteString getTimestampBytes()

[Output Only] The time that this error occurred. This value is in RFC3339 text format.

optional string timestamp = 55126294;

Returns
Type Description
ByteString

The bytes for timestamp.

hasError()

public boolean hasError()

[Output Only] Contents of the error.

optional .google.cloud.compute.v1.InstanceManagedByIgmErrorManagedInstanceError error = 96784904;

Returns
Type Description
boolean

Whether the error field is set.

hasInstanceActionDetails()

public boolean hasInstanceActionDetails()

[Output Only] Details of the instance action that triggered this error. May be null, if the error was not caused by an action on an instance. This field is optional.

optional .google.cloud.compute.v1.InstanceManagedByIgmErrorInstanceActionDetails instance_action_details = 292224547;

Returns
Type Description
boolean

Whether the instanceActionDetails field is set.

hasTimestamp()

public boolean hasTimestamp()

[Output Only] The time that this error occurred. This value is in RFC3339 text format.

optional string timestamp = 55126294;

Returns
Type Description
boolean

Whether the timestamp field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeError(InstanceManagedByIgmErrorManagedInstanceError value)

public InstanceManagedByIgmError.Builder mergeError(InstanceManagedByIgmErrorManagedInstanceError value)

[Output Only] Contents of the error.

optional .google.cloud.compute.v1.InstanceManagedByIgmErrorManagedInstanceError error = 96784904;

Parameter
Name Description
value InstanceManagedByIgmErrorManagedInstanceError
Returns
Type Description
InstanceManagedByIgmError.Builder

mergeFrom(InstanceManagedByIgmError other)

public InstanceManagedByIgmError.Builder mergeFrom(InstanceManagedByIgmError other)
Parameter
Name Description
other InstanceManagedByIgmError
Returns
Type Description
InstanceManagedByIgmError.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InstanceManagedByIgmError.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstanceManagedByIgmError.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public InstanceManagedByIgmError.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
InstanceManagedByIgmError.Builder
Overrides

mergeInstanceActionDetails(InstanceManagedByIgmErrorInstanceActionDetails value)

public InstanceManagedByIgmError.Builder mergeInstanceActionDetails(InstanceManagedByIgmErrorInstanceActionDetails value)

[Output Only] Details of the instance action that triggered this error. May be null, if the error was not caused by an action on an instance. This field is optional.

optional .google.cloud.compute.v1.InstanceManagedByIgmErrorInstanceActionDetails instance_action_details = 292224547;

Parameter
Name Description
value InstanceManagedByIgmErrorInstanceActionDetails
Returns
Type Description
InstanceManagedByIgmError.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InstanceManagedByIgmError.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InstanceManagedByIgmError.Builder
Overrides

setError(InstanceManagedByIgmErrorManagedInstanceError value)

public InstanceManagedByIgmError.Builder setError(InstanceManagedByIgmErrorManagedInstanceError value)

[Output Only] Contents of the error.

optional .google.cloud.compute.v1.InstanceManagedByIgmErrorManagedInstanceError error = 96784904;

Parameter
Name Description
value InstanceManagedByIgmErrorManagedInstanceError
Returns
Type Description
InstanceManagedByIgmError.Builder

setError(InstanceManagedByIgmErrorManagedInstanceError.Builder builderForValue)

public InstanceManagedByIgmError.Builder setError(InstanceManagedByIgmErrorManagedInstanceError.Builder builderForValue)

[Output Only] Contents of the error.

optional .google.cloud.compute.v1.InstanceManagedByIgmErrorManagedInstanceError error = 96784904;

Parameter
Name Description
builderForValue InstanceManagedByIgmErrorManagedInstanceError.Builder
Returns
Type Description
InstanceManagedByIgmError.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public InstanceManagedByIgmError.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InstanceManagedByIgmError.Builder
Overrides

setInstanceActionDetails(InstanceManagedByIgmErrorInstanceActionDetails value)

public InstanceManagedByIgmError.Builder setInstanceActionDetails(InstanceManagedByIgmErrorInstanceActionDetails value)

[Output Only] Details of the instance action that triggered this error. May be null, if the error was not caused by an action on an instance. This field is optional.

optional .google.cloud.compute.v1.InstanceManagedByIgmErrorInstanceActionDetails instance_action_details = 292224547;

Parameter
Name Description
value InstanceManagedByIgmErrorInstanceActionDetails
Returns
Type Description
InstanceManagedByIgmError.Builder

setInstanceActionDetails(InstanceManagedByIgmErrorInstanceActionDetails.Builder builderForValue)

public InstanceManagedByIgmError.Builder setInstanceActionDetails(InstanceManagedByIgmErrorInstanceActionDetails.Builder builderForValue)

[Output Only] Details of the instance action that triggered this error. May be null, if the error was not caused by an action on an instance. This field is optional.

optional .google.cloud.compute.v1.InstanceManagedByIgmErrorInstanceActionDetails instance_action_details = 292224547;

Parameter
Name Description
builderForValue InstanceManagedByIgmErrorInstanceActionDetails.Builder
Returns
Type Description
InstanceManagedByIgmError.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public InstanceManagedByIgmError.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
InstanceManagedByIgmError.Builder
Overrides

setTimestamp(String value)

public InstanceManagedByIgmError.Builder setTimestamp(String value)

[Output Only] The time that this error occurred. This value is in RFC3339 text format.

optional string timestamp = 55126294;

Parameter
Name Description
value String

The timestamp to set.

Returns
Type Description
InstanceManagedByIgmError.Builder

This builder for chaining.

setTimestampBytes(ByteString value)

public InstanceManagedByIgmError.Builder setTimestampBytes(ByteString value)

[Output Only] The time that this error occurred. This value is in RFC3339 text format.

optional string timestamp = 55126294;

Parameter
Name Description
value ByteString

The bytes for timestamp to set.

Returns
Type Description
InstanceManagedByIgmError.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final InstanceManagedByIgmError.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InstanceManagedByIgmError.Builder
Overrides