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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InstanceManagedByIgmErrorManagedInstanceError.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public InstanceManagedByIgmErrorManagedInstanceError build()
Returns
buildPartial()
public InstanceManagedByIgmErrorManagedInstanceError buildPartial()
Returns
clear()
public InstanceManagedByIgmErrorManagedInstanceError.Builder clear()
Returns
Overrides
clearCode()
public InstanceManagedByIgmErrorManagedInstanceError.Builder clearCode()
[Output Only] Error code.
optional string code = 3059181;
Returns
clearField(Descriptors.FieldDescriptor field)
public InstanceManagedByIgmErrorManagedInstanceError.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearMessage()
public InstanceManagedByIgmErrorManagedInstanceError.Builder clearMessage()
[Output Only] Error message.
optional string message = 418054151;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public InstanceManagedByIgmErrorManagedInstanceError.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public InstanceManagedByIgmErrorManagedInstanceError.Builder clone()
Returns
Overrides
getCode()
[Output Only] Error code.
optional string code = 3059181;
Returns
Type | Description |
String | The code.
|
getCodeBytes()
public ByteString getCodeBytes()
[Output Only] Error code.
optional string code = 3059181;
Returns
getDefaultInstanceForType()
public InstanceManagedByIgmErrorManagedInstanceError getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getMessage()
public String getMessage()
[Output Only] Error message.
optional string message = 418054151;
Returns
Type | Description |
String | The message.
|
getMessageBytes()
public ByteString getMessageBytes()
[Output Only] Error message.
optional string message = 418054151;
Returns
hasCode()
[Output Only] Error code.
optional string code = 3059181;
Returns
Type | Description |
boolean | Whether the code field is set.
|
hasMessage()
public boolean hasMessage()
[Output Only] Error message.
optional string message = 418054151;
Returns
Type | Description |
boolean | Whether the message field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(InstanceManagedByIgmErrorManagedInstanceError other)
public InstanceManagedByIgmErrorManagedInstanceError.Builder mergeFrom(InstanceManagedByIgmErrorManagedInstanceError other)
Parameter
Returns
public InstanceManagedByIgmErrorManagedInstanceError.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public InstanceManagedByIgmErrorManagedInstanceError.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InstanceManagedByIgmErrorManagedInstanceError.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setCode(String value)
public InstanceManagedByIgmErrorManagedInstanceError.Builder setCode(String value)
[Output Only] Error code.
optional string code = 3059181;
Parameter
Name | Description |
value | String
The code to set.
|
Returns
setCodeBytes(ByteString value)
public InstanceManagedByIgmErrorManagedInstanceError.Builder setCodeBytes(ByteString value)
[Output Only] Error code.
optional string code = 3059181;
Parameter
Name | Description |
value | ByteString
The bytes for code to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public InstanceManagedByIgmErrorManagedInstanceError.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setMessage(String value)
public InstanceManagedByIgmErrorManagedInstanceError.Builder setMessage(String value)
[Output Only] Error message.
optional string message = 418054151;
Parameter
Name | Description |
value | String
The message to set.
|
Returns
setMessageBytes(ByteString value)
public InstanceManagedByIgmErrorManagedInstanceError.Builder setMessageBytes(ByteString value)
[Output Only] Error message.
optional string message = 418054151;
Parameter
Name | Description |
value | ByteString
The bytes for message to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InstanceManagedByIgmErrorManagedInstanceError.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final InstanceManagedByIgmErrorManagedInstanceError.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides