Class ManagedInstanceLastAttempt (1.56.0)

public final class ManagedInstanceLastAttempt extends GeneratedMessageV3 implements ManagedInstanceLastAttemptOrBuilder

Protobuf type google.cloud.compute.v1.ManagedInstanceLastAttempt

Static Fields

ERRORS_FIELD_NUMBER

public static final int ERRORS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ManagedInstanceLastAttempt getDefaultInstance()
Returns
Type Description
ManagedInstanceLastAttempt

getDescriptor()

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

newBuilder()

public static ManagedInstanceLastAttempt.Builder newBuilder()
Returns
Type Description
ManagedInstanceLastAttempt.Builder

newBuilder(ManagedInstanceLastAttempt prototype)

public static ManagedInstanceLastAttempt.Builder newBuilder(ManagedInstanceLastAttempt prototype)
Parameter
Name Description
prototype ManagedInstanceLastAttempt
Returns
Type Description
ManagedInstanceLastAttempt.Builder

parseDelimitedFrom(InputStream input)

public static ManagedInstanceLastAttempt parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ManagedInstanceLastAttempt
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ManagedInstanceLastAttempt parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ManagedInstanceLastAttempt
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ManagedInstanceLastAttempt parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ManagedInstanceLastAttempt
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ManagedInstanceLastAttempt parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ManagedInstanceLastAttempt
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ManagedInstanceLastAttempt parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ManagedInstanceLastAttempt
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ManagedInstanceLastAttempt parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ManagedInstanceLastAttempt
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ManagedInstanceLastAttempt parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ManagedInstanceLastAttempt
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ManagedInstanceLastAttempt parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ManagedInstanceLastAttempt
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ManagedInstanceLastAttempt parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ManagedInstanceLastAttempt
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ManagedInstanceLastAttempt parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ManagedInstanceLastAttempt
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ManagedInstanceLastAttempt parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ManagedInstanceLastAttempt
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ManagedInstanceLastAttempt parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ManagedInstanceLastAttempt
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ManagedInstanceLastAttempt> parser()
Returns
Type Description
Parser<ManagedInstanceLastAttempt>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ManagedInstanceLastAttempt getDefaultInstanceForType()
Returns
Type Description
ManagedInstanceLastAttempt

getErrors()

public Errors getErrors()

[Output Only] Encountered errors during the last attempt to create or delete the instance.

optional .google.cloud.compute.v1.Errors errors = 315977579;

Returns
Type Description
Errors

The errors.

getErrorsOrBuilder()

public ErrorsOrBuilder getErrorsOrBuilder()

[Output Only] Encountered errors during the last attempt to create or delete the instance.

optional .google.cloud.compute.v1.Errors errors = 315977579;

Returns
Type Description
ErrorsOrBuilder

getParserForType()

public Parser<ManagedInstanceLastAttempt> getParserForType()
Returns
Type Description
Parser<ManagedInstanceLastAttempt>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasErrors()

public boolean hasErrors()

[Output Only] Encountered errors during the last attempt to create or delete the instance.

optional .google.cloud.compute.v1.Errors errors = 315977579;

Returns
Type Description
boolean

Whether the errors field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ManagedInstanceLastAttempt.Builder newBuilderForType()
Returns
Type Description
ManagedInstanceLastAttempt.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ManagedInstanceLastAttempt.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ManagedInstanceLastAttempt.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ManagedInstanceLastAttempt.Builder toBuilder()
Returns
Type Description
ManagedInstanceLastAttempt.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException