public static final class InstanceGroupManagerAutoHealingPolicy.Builder extends GeneratedMessageV3.Builder<InstanceGroupManagerAutoHealingPolicy.Builder> implements InstanceGroupManagerAutoHealingPolicyOrBuilder
Protobuf type google.cloud.compute.v1.InstanceGroupManagerAutoHealingPolicy
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InstanceGroupManagerAutoHealingPolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public InstanceGroupManagerAutoHealingPolicy build()
buildPartial()
public InstanceGroupManagerAutoHealingPolicy buildPartial()
clear()
public InstanceGroupManagerAutoHealingPolicy.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public InstanceGroupManagerAutoHealingPolicy.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearHealthCheck()
public InstanceGroupManagerAutoHealingPolicy.Builder clearHealthCheck()
The URL for the health check that signals autohealing.
optional string health_check = 308876645;
clearInitialDelaySec()
public InstanceGroupManagerAutoHealingPolicy.Builder clearInitialDelaySec()
The number of seconds that the managed instance group waits before it applies autohealing policies to new instances or recently recreated instances. This initial delay allows instances to initialize and run their startup scripts before the instance group determines that they are UNHEALTHY. This prevents the managed instance group from recreating its instances prematurely. This value must be from range [0, 3600].
optional int32 initial_delay_sec = 263207002;
clearOneof(Descriptors.OneofDescriptor oneof)
public InstanceGroupManagerAutoHealingPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public InstanceGroupManagerAutoHealingPolicy.Builder clone()
Overrides
getDefaultInstanceForType()
public InstanceGroupManagerAutoHealingPolicy getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getHealthCheck()
public String getHealthCheck()
The URL for the health check that signals autohealing.
optional string health_check = 308876645;
Returns |
---|
Type | Description |
String | The healthCheck.
|
getHealthCheckBytes()
public ByteString getHealthCheckBytes()
The URL for the health check that signals autohealing.
optional string health_check = 308876645;
Returns |
---|
Type | Description |
ByteString | The bytes for healthCheck.
|
getInitialDelaySec()
public int getInitialDelaySec()
The number of seconds that the managed instance group waits before it applies autohealing policies to new instances or recently recreated instances. This initial delay allows instances to initialize and run their startup scripts before the instance group determines that they are UNHEALTHY. This prevents the managed instance group from recreating its instances prematurely. This value must be from range [0, 3600].
optional int32 initial_delay_sec = 263207002;
Returns |
---|
Type | Description |
int | The initialDelaySec.
|
hasHealthCheck()
public boolean hasHealthCheck()
The URL for the health check that signals autohealing.
optional string health_check = 308876645;
Returns |
---|
Type | Description |
boolean | Whether the healthCheck field is set.
|
hasInitialDelaySec()
public boolean hasInitialDelaySec()
The number of seconds that the managed instance group waits before it applies autohealing policies to new instances or recently recreated instances. This initial delay allows instances to initialize and run their startup scripts before the instance group determines that they are UNHEALTHY. This prevents the managed instance group from recreating its instances prematurely. This value must be from range [0, 3600].
optional int32 initial_delay_sec = 263207002;
Returns |
---|
Type | Description |
boolean | Whether the initialDelaySec field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(InstanceGroupManagerAutoHealingPolicy other)
public InstanceGroupManagerAutoHealingPolicy.Builder mergeFrom(InstanceGroupManagerAutoHealingPolicy other)
public InstanceGroupManagerAutoHealingPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public InstanceGroupManagerAutoHealingPolicy.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InstanceGroupManagerAutoHealingPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public InstanceGroupManagerAutoHealingPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setHealthCheck(String value)
public InstanceGroupManagerAutoHealingPolicy.Builder setHealthCheck(String value)
The URL for the health check that signals autohealing.
optional string health_check = 308876645;
Parameter |
---|
Name | Description |
value | String
The healthCheck to set.
|
setHealthCheckBytes(ByteString value)
public InstanceGroupManagerAutoHealingPolicy.Builder setHealthCheckBytes(ByteString value)
The URL for the health check that signals autohealing.
optional string health_check = 308876645;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for healthCheck to set.
|
setInitialDelaySec(int value)
public InstanceGroupManagerAutoHealingPolicy.Builder setInitialDelaySec(int value)
The number of seconds that the managed instance group waits before it applies autohealing policies to new instances or recently recreated instances. This initial delay allows instances to initialize and run their startup scripts before the instance group determines that they are UNHEALTHY. This prevents the managed instance group from recreating its instances prematurely. This value must be from range [0, 3600].
optional int32 initial_delay_sec = 263207002;
Parameter |
---|
Name | Description |
value | int
The initialDelaySec to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InstanceGroupManagerAutoHealingPolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final InstanceGroupManagerAutoHealingPolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides