Class InstanceGroupManagerStatusAllInstancesConfig.Builder (1.51.0)

public static final class InstanceGroupManagerStatusAllInstancesConfig.Builder extends GeneratedMessageV3.Builder<InstanceGroupManagerStatusAllInstancesConfig.Builder> implements InstanceGroupManagerStatusAllInstancesConfigOrBuilder

Protobuf type google.cloud.compute.v1.InstanceGroupManagerStatusAllInstancesConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InstanceGroupManagerStatusAllInstancesConfig build()
Returns
TypeDescription
InstanceGroupManagerStatusAllInstancesConfig

buildPartial()

public InstanceGroupManagerStatusAllInstancesConfig buildPartial()
Returns
TypeDescription
InstanceGroupManagerStatusAllInstancesConfig

clear()

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

clearCurrentRevision()

public InstanceGroupManagerStatusAllInstancesConfig.Builder clearCurrentRevision()

[Output Only] Current all-instances configuration revision. This value is in RFC3339 text format.

optional string current_revision = 38355937;

Returns
TypeDescription
InstanceGroupManagerStatusAllInstancesConfig.Builder

This builder for chaining.

clearEffective()

public InstanceGroupManagerStatusAllInstancesConfig.Builder clearEffective()

[Output Only] A bit indicating whether this configuration has been applied to all managed instances in the group.

optional bool effective = 141961639;

Returns
TypeDescription
InstanceGroupManagerStatusAllInstancesConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCurrentRevision()

public String getCurrentRevision()

[Output Only] Current all-instances configuration revision. This value is in RFC3339 text format.

optional string current_revision = 38355937;

Returns
TypeDescription
String

The currentRevision.

getCurrentRevisionBytes()

public ByteString getCurrentRevisionBytes()

[Output Only] Current all-instances configuration revision. This value is in RFC3339 text format.

optional string current_revision = 38355937;

Returns
TypeDescription
ByteString

The bytes for currentRevision.

getDefaultInstanceForType()

public InstanceGroupManagerStatusAllInstancesConfig getDefaultInstanceForType()
Returns
TypeDescription
InstanceGroupManagerStatusAllInstancesConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEffective()

public boolean getEffective()

[Output Only] A bit indicating whether this configuration has been applied to all managed instances in the group.

optional bool effective = 141961639;

Returns
TypeDescription
boolean

The effective.

hasCurrentRevision()

public boolean hasCurrentRevision()

[Output Only] Current all-instances configuration revision. This value is in RFC3339 text format.

optional string current_revision = 38355937;

Returns
TypeDescription
boolean

Whether the currentRevision field is set.

hasEffective()

public boolean hasEffective()

[Output Only] A bit indicating whether this configuration has been applied to all managed instances in the group.

optional bool effective = 141961639;

Returns
TypeDescription
boolean

Whether the effective field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InstanceGroupManagerStatusAllInstancesConfig other)

public InstanceGroupManagerStatusAllInstancesConfig.Builder mergeFrom(InstanceGroupManagerStatusAllInstancesConfig other)
Parameter
NameDescription
otherInstanceGroupManagerStatusAllInstancesConfig
Returns
TypeDescription
InstanceGroupManagerStatusAllInstancesConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCurrentRevision(String value)

public InstanceGroupManagerStatusAllInstancesConfig.Builder setCurrentRevision(String value)

[Output Only] Current all-instances configuration revision. This value is in RFC3339 text format.

optional string current_revision = 38355937;

Parameter
NameDescription
valueString

The currentRevision to set.

Returns
TypeDescription
InstanceGroupManagerStatusAllInstancesConfig.Builder

This builder for chaining.

setCurrentRevisionBytes(ByteString value)

public InstanceGroupManagerStatusAllInstancesConfig.Builder setCurrentRevisionBytes(ByteString value)

[Output Only] Current all-instances configuration revision. This value is in RFC3339 text format.

optional string current_revision = 38355937;

Parameter
NameDescription
valueByteString

The bytes for currentRevision to set.

Returns
TypeDescription
InstanceGroupManagerStatusAllInstancesConfig.Builder

This builder for chaining.

setEffective(boolean value)

public InstanceGroupManagerStatusAllInstancesConfig.Builder setEffective(boolean value)

[Output Only] A bit indicating whether this configuration has been applied to all managed instances in the group.

optional bool effective = 141961639;

Parameter
NameDescription
valueboolean

The effective to set.

Returns
TypeDescription
InstanceGroupManagerStatusAllInstancesConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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