Class InstanceManagedByIgmErrorManagedInstanceError.Builder (1.42.0)

public static final class InstanceManagedByIgmErrorManagedInstanceError.Builder extends GeneratedMessageV3.Builder<InstanceManagedByIgmErrorManagedInstanceError.Builder> implements InstanceManagedByIgmErrorManagedInstanceErrorOrBuilder

Protobuf type google.cloud.compute.v1.InstanceManagedByIgmErrorManagedInstanceError

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InstanceManagedByIgmErrorManagedInstanceError build()
Returns
TypeDescription
InstanceManagedByIgmErrorManagedInstanceError

buildPartial()

public InstanceManagedByIgmErrorManagedInstanceError buildPartial()
Returns
TypeDescription
InstanceManagedByIgmErrorManagedInstanceError

clear()

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

clearCode()

public InstanceManagedByIgmErrorManagedInstanceError.Builder clearCode()

[Output Only] Error code.

optional string code = 3059181;

Returns
TypeDescription
InstanceManagedByIgmErrorManagedInstanceError.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public InstanceManagedByIgmErrorManagedInstanceError.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
InstanceManagedByIgmErrorManagedInstanceError.Builder
Overrides

clearMessage()

public InstanceManagedByIgmErrorManagedInstanceError.Builder clearMessage()

[Output Only] Error message.

optional string message = 418054151;

Returns
TypeDescription
InstanceManagedByIgmErrorManagedInstanceError.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public InstanceManagedByIgmErrorManagedInstanceError.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
InstanceManagedByIgmErrorManagedInstanceError.Builder
Overrides

clone()

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

getCode()

public String getCode()

[Output Only] Error code.

optional string code = 3059181;

Returns
TypeDescription
String

The code.

getCodeBytes()

public ByteString getCodeBytes()

[Output Only] Error code.

optional string code = 3059181;

Returns
TypeDescription
ByteString

The bytes for code.

getDefaultInstanceForType()

public InstanceManagedByIgmErrorManagedInstanceError getDefaultInstanceForType()
Returns
TypeDescription
InstanceManagedByIgmErrorManagedInstanceError

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMessage()

public String getMessage()

[Output Only] Error message.

optional string message = 418054151;

Returns
TypeDescription
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

[Output Only] Error message.

optional string message = 418054151;

Returns
TypeDescription
ByteString

The bytes for message.

hasCode()

public boolean hasCode()

[Output Only] Error code.

optional string code = 3059181;

Returns
TypeDescription
boolean

Whether the code field is set.

hasMessage()

public boolean hasMessage()

[Output Only] Error message.

optional string message = 418054151;

Returns
TypeDescription
boolean

Whether the message field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InstanceManagedByIgmErrorManagedInstanceError other)

public InstanceManagedByIgmErrorManagedInstanceError.Builder mergeFrom(InstanceManagedByIgmErrorManagedInstanceError other)
Parameter
NameDescription
otherInstanceManagedByIgmErrorManagedInstanceError
Returns
TypeDescription
InstanceManagedByIgmErrorManagedInstanceError.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public InstanceManagedByIgmErrorManagedInstanceError.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
InstanceManagedByIgmErrorManagedInstanceError.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InstanceManagedByIgmErrorManagedInstanceError.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InstanceManagedByIgmErrorManagedInstanceError.Builder
Overrides

setCode(String value)

public InstanceManagedByIgmErrorManagedInstanceError.Builder setCode(String value)

[Output Only] Error code.

optional string code = 3059181;

Parameter
NameDescription
valueString

The code to set.

Returns
TypeDescription
InstanceManagedByIgmErrorManagedInstanceError.Builder

This builder for chaining.

setCodeBytes(ByteString value)

public InstanceManagedByIgmErrorManagedInstanceError.Builder setCodeBytes(ByteString value)

[Output Only] Error code.

optional string code = 3059181;

Parameter
NameDescription
valueByteString

The bytes for code to set.

Returns
TypeDescription
InstanceManagedByIgmErrorManagedInstanceError.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setMessage(String value)

public InstanceManagedByIgmErrorManagedInstanceError.Builder setMessage(String value)

[Output Only] Error message.

optional string message = 418054151;

Parameter
NameDescription
valueString

The message to set.

Returns
TypeDescription
InstanceManagedByIgmErrorManagedInstanceError.Builder

This builder for chaining.

setMessageBytes(ByteString value)

public InstanceManagedByIgmErrorManagedInstanceError.Builder setMessageBytes(ByteString value)

[Output Only] Error message.

optional string message = 418054151;

Parameter
NameDescription
valueByteString

The bytes for message to set.

Returns
TypeDescription
InstanceManagedByIgmErrorManagedInstanceError.Builder

This builder for chaining.

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

public InstanceManagedByIgmErrorManagedInstanceError.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
InstanceManagedByIgmErrorManagedInstanceError.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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