Class InstanceManagedByIgmError.Builder (1.13.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InstanceManagedByIgmError.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
InstanceManagedByIgmError.Builder
Overrides

build()

public InstanceManagedByIgmError build()
Returns
TypeDescription
InstanceManagedByIgmError

buildPartial()

public InstanceManagedByIgmError buildPartial()
Returns
TypeDescription
InstanceManagedByIgmError

clear()

public InstanceManagedByIgmError.Builder clear()
Returns
TypeDescription
InstanceManagedByIgmError.Builder
Overrides

clearError()

public InstanceManagedByIgmError.Builder clearError()

[Output Only] Contents of the error.

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

Returns
TypeDescription
InstanceManagedByIgmError.Builder

clearField(Descriptors.FieldDescriptor field)

public InstanceManagedByIgmError.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
InstanceManagedByIgmError.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public InstanceManagedByIgmError.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
InstanceManagedByIgmError.Builder

This builder for chaining.

clone()

public InstanceManagedByIgmError.Builder clone()
Returns
TypeDescription
InstanceManagedByIgmError.Builder
Overrides

getDefaultInstanceForType()

public InstanceManagedByIgmError getDefaultInstanceForType()
Returns
TypeDescription
InstanceManagedByIgmError

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getError()

public InstanceManagedByIgmErrorManagedInstanceError getError()

[Output Only] Contents of the error.

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

Returns
TypeDescription
InstanceManagedByIgmErrorManagedInstanceError

The error.

getErrorBuilder()

public InstanceManagedByIgmErrorManagedInstanceError.Builder getErrorBuilder()

[Output Only] Contents of the error.

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

Returns
TypeDescription
InstanceManagedByIgmErrorManagedInstanceError.Builder

getErrorOrBuilder()

public InstanceManagedByIgmErrorManagedInstanceErrorOrBuilder getErrorOrBuilder()

[Output Only] Contents of the error.

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

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

The bytes for timestamp.

hasError()

public boolean hasError()

[Output Only] Contents of the error.

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

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

Whether the timestamp field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueInstanceManagedByIgmErrorManagedInstanceError
Returns
TypeDescription
InstanceManagedByIgmError.Builder

mergeFrom(InstanceManagedByIgmError other)

public InstanceManagedByIgmError.Builder mergeFrom(InstanceManagedByIgmError other)
Parameter
NameDescription
otherInstanceManagedByIgmError
Returns
TypeDescription
InstanceManagedByIgmError.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InstanceManagedByIgmError.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstanceManagedByIgmError.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public InstanceManagedByIgmError.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueInstanceManagedByIgmErrorInstanceActionDetails
Returns
TypeDescription
InstanceManagedByIgmError.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InstanceManagedByIgmError.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueInstanceManagedByIgmErrorManagedInstanceError
Returns
TypeDescription
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
NameDescription
builderForValueInstanceManagedByIgmErrorManagedInstanceError.Builder
Returns
TypeDescription
InstanceManagedByIgmError.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public InstanceManagedByIgmError.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueInstanceManagedByIgmErrorInstanceActionDetails
Returns
TypeDescription
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
NameDescription
builderForValueInstanceManagedByIgmErrorInstanceActionDetails.Builder
Returns
TypeDescription
InstanceManagedByIgmError.Builder

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

public InstanceManagedByIgmError.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The timestamp to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for timestamp to set.

Returns
TypeDescription
InstanceManagedByIgmError.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final InstanceManagedByIgmError.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InstanceManagedByIgmError.Builder
Overrides