Class InstanceManagedByIgmErrorInstanceActionDetails.Builder (1.59.0)

public static final class InstanceManagedByIgmErrorInstanceActionDetails.Builder extends GeneratedMessageV3.Builder<InstanceManagedByIgmErrorInstanceActionDetails.Builder> implements InstanceManagedByIgmErrorInstanceActionDetailsOrBuilder

Protobuf type google.cloud.compute.v1.InstanceManagedByIgmErrorInstanceActionDetails

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > InstanceManagedByIgmErrorInstanceActionDetails.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InstanceManagedByIgmErrorInstanceActionDetails build()
Returns
Type Description
InstanceManagedByIgmErrorInstanceActionDetails

buildPartial()

public InstanceManagedByIgmErrorInstanceActionDetails buildPartial()
Returns
Type Description
InstanceManagedByIgmErrorInstanceActionDetails

clear()

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

clearAction()

public InstanceManagedByIgmErrorInstanceActionDetails.Builder clearAction()

[Output Only] Action that managed instance group was executing on the instance when the error occurred. Possible values: Check the Action enum for the list of possible values.

optional string action = 187661878;

Returns
Type Description
InstanceManagedByIgmErrorInstanceActionDetails.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearInstance()

public InstanceManagedByIgmErrorInstanceActionDetails.Builder clearInstance()

[Output Only] The URL of the instance. The URL can be set even if the instance has not yet been created.

optional string instance = 18257045;

Returns
Type Description
InstanceManagedByIgmErrorInstanceActionDetails.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearVersion()

public InstanceManagedByIgmErrorInstanceActionDetails.Builder clearVersion()

[Output Only] Version this instance was created from, or was being created from, but the creation failed. Corresponds to one of the versions that were set on the Instance Group Manager resource at the time this instance was being created.

optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;

Returns
Type Description
InstanceManagedByIgmErrorInstanceActionDetails.Builder

clone()

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

getAction()

public String getAction()

[Output Only] Action that managed instance group was executing on the instance when the error occurred. Possible values: Check the Action enum for the list of possible values.

optional string action = 187661878;

Returns
Type Description
String

The action.

getActionBytes()

public ByteString getActionBytes()

[Output Only] Action that managed instance group was executing on the instance when the error occurred. Possible values: Check the Action enum for the list of possible values.

optional string action = 187661878;

Returns
Type Description
ByteString

The bytes for action.

getDefaultInstanceForType()

public InstanceManagedByIgmErrorInstanceActionDetails getDefaultInstanceForType()
Returns
Type Description
InstanceManagedByIgmErrorInstanceActionDetails

getDescriptorForType()

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

getInstance()

public String getInstance()

[Output Only] The URL of the instance. The URL can be set even if the instance has not yet been created.

optional string instance = 18257045;

Returns
Type Description
String

The instance.

getInstanceBytes()

public ByteString getInstanceBytes()

[Output Only] The URL of the instance. The URL can be set even if the instance has not yet been created.

optional string instance = 18257045;

Returns
Type Description
ByteString

The bytes for instance.

getVersion()

public ManagedInstanceVersion getVersion()

[Output Only] Version this instance was created from, or was being created from, but the creation failed. Corresponds to one of the versions that were set on the Instance Group Manager resource at the time this instance was being created.

optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;

Returns
Type Description
ManagedInstanceVersion

The version.

getVersionBuilder()

public ManagedInstanceVersion.Builder getVersionBuilder()

[Output Only] Version this instance was created from, or was being created from, but the creation failed. Corresponds to one of the versions that were set on the Instance Group Manager resource at the time this instance was being created.

optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;

Returns
Type Description
ManagedInstanceVersion.Builder

getVersionOrBuilder()

public ManagedInstanceVersionOrBuilder getVersionOrBuilder()

[Output Only] Version this instance was created from, or was being created from, but the creation failed. Corresponds to one of the versions that were set on the Instance Group Manager resource at the time this instance was being created.

optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;

Returns
Type Description
ManagedInstanceVersionOrBuilder

hasAction()

public boolean hasAction()

[Output Only] Action that managed instance group was executing on the instance when the error occurred. Possible values: Check the Action enum for the list of possible values.

optional string action = 187661878;

Returns
Type Description
boolean

Whether the action field is set.

hasInstance()

public boolean hasInstance()

[Output Only] The URL of the instance. The URL can be set even if the instance has not yet been created.

optional string instance = 18257045;

Returns
Type Description
boolean

Whether the instance field is set.

hasVersion()

public boolean hasVersion()

[Output Only] Version this instance was created from, or was being created from, but the creation failed. Corresponds to one of the versions that were set on the Instance Group Manager resource at the time this instance was being created.

optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;

Returns
Type Description
boolean

Whether the version field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InstanceManagedByIgmErrorInstanceActionDetails other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeVersion(ManagedInstanceVersion value)

public InstanceManagedByIgmErrorInstanceActionDetails.Builder mergeVersion(ManagedInstanceVersion value)

[Output Only] Version this instance was created from, or was being created from, but the creation failed. Corresponds to one of the versions that were set on the Instance Group Manager resource at the time this instance was being created.

optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;

Parameter
Name Description
value ManagedInstanceVersion
Returns
Type Description
InstanceManagedByIgmErrorInstanceActionDetails.Builder

setAction(String value)

public InstanceManagedByIgmErrorInstanceActionDetails.Builder setAction(String value)

[Output Only] Action that managed instance group was executing on the instance when the error occurred. Possible values: Check the Action enum for the list of possible values.

optional string action = 187661878;

Parameter
Name Description
value String

The action to set.

Returns
Type Description
InstanceManagedByIgmErrorInstanceActionDetails.Builder

This builder for chaining.

setActionBytes(ByteString value)

public InstanceManagedByIgmErrorInstanceActionDetails.Builder setActionBytes(ByteString value)

[Output Only] Action that managed instance group was executing on the instance when the error occurred. Possible values: Check the Action enum for the list of possible values.

optional string action = 187661878;

Parameter
Name Description
value ByteString

The bytes for action to set.

Returns
Type Description
InstanceManagedByIgmErrorInstanceActionDetails.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstance(String value)

public InstanceManagedByIgmErrorInstanceActionDetails.Builder setInstance(String value)

[Output Only] The URL of the instance. The URL can be set even if the instance has not yet been created.

optional string instance = 18257045;

Parameter
Name Description
value String

The instance to set.

Returns
Type Description
InstanceManagedByIgmErrorInstanceActionDetails.Builder

This builder for chaining.

setInstanceBytes(ByteString value)

public InstanceManagedByIgmErrorInstanceActionDetails.Builder setInstanceBytes(ByteString value)

[Output Only] The URL of the instance. The URL can be set even if the instance has not yet been created.

optional string instance = 18257045;

Parameter
Name Description
value ByteString

The bytes for instance to set.

Returns
Type Description
InstanceManagedByIgmErrorInstanceActionDetails.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setVersion(ManagedInstanceVersion value)

public InstanceManagedByIgmErrorInstanceActionDetails.Builder setVersion(ManagedInstanceVersion value)

[Output Only] Version this instance was created from, or was being created from, but the creation failed. Corresponds to one of the versions that were set on the Instance Group Manager resource at the time this instance was being created.

optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;

Parameter
Name Description
value ManagedInstanceVersion
Returns
Type Description
InstanceManagedByIgmErrorInstanceActionDetails.Builder

setVersion(ManagedInstanceVersion.Builder builderForValue)

public InstanceManagedByIgmErrorInstanceActionDetails.Builder setVersion(ManagedInstanceVersion.Builder builderForValue)

[Output Only] Version this instance was created from, or was being created from, but the creation failed. Corresponds to one of the versions that were set on the Instance Group Manager resource at the time this instance was being created.

optional .google.cloud.compute.v1.ManagedInstanceVersion version = 351608024;

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