Class InstanceManagedByIgmErrorInstanceActionDetails.Builder (1.23.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InstanceManagedByIgmErrorInstanceActionDetails build()
Returns
TypeDescription
InstanceManagedByIgmErrorInstanceActionDetails

buildPartial()

public InstanceManagedByIgmErrorInstanceActionDetails buildPartial()
Returns
TypeDescription
InstanceManagedByIgmErrorInstanceActionDetails

clear()

public InstanceManagedByIgmErrorInstanceActionDetails.Builder clear()
Returns
TypeDescription
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
TypeDescription
InstanceManagedByIgmErrorInstanceActionDetails.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public InstanceManagedByIgmErrorInstanceActionDetails.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for action.

getDefaultInstanceForType()

public InstanceManagedByIgmErrorInstanceActionDetails getDefaultInstanceForType()
Returns
TypeDescription
InstanceManagedByIgmErrorInstanceActionDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the version field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InstanceManagedByIgmErrorInstanceActionDetails other)

public InstanceManagedByIgmErrorInstanceActionDetails.Builder mergeFrom(InstanceManagedByIgmErrorInstanceActionDetails other)
Parameter
NameDescription
otherInstanceManagedByIgmErrorInstanceActionDetails
Returns
TypeDescription
InstanceManagedByIgmErrorInstanceActionDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InstanceManagedByIgmErrorInstanceActionDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueManagedInstanceVersion
Returns
TypeDescription
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
NameDescription
valueString

The action to set.

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

The bytes for action to set.

Returns
TypeDescription
InstanceManagedByIgmErrorInstanceActionDetails.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The instance to set.

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

The bytes for instance to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
InstanceManagedByIgmErrorInstanceActionDetails.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final InstanceManagedByIgmErrorInstanceActionDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueManagedInstanceVersion
Returns
TypeDescription
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
NameDescription
builderForValueManagedInstanceVersion.Builder
Returns
TypeDescription
InstanceManagedByIgmErrorInstanceActionDetails.Builder