- 1.62.0 (latest)
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class ConnectionDraining.Builder extends GeneratedMessageV3.Builder<ConnectionDraining.Builder> implements ConnectionDrainingOrBuilder
Message containing connection draining configuration.
Protobuf type google.cloud.compute.v1.ConnectionDraining
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ConnectionDraining.BuilderImplements
ConnectionDrainingOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConnectionDraining.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ConnectionDraining.Builder |
build()
public ConnectionDraining build()
Type | Description |
ConnectionDraining |
buildPartial()
public ConnectionDraining buildPartial()
Type | Description |
ConnectionDraining |
clear()
public ConnectionDraining.Builder clear()
Type | Description |
ConnectionDraining.Builder |
clearDrainingTimeoutSec()
public ConnectionDraining.Builder clearDrainingTimeoutSec()
Configures a duration timeout for existing requests on a removed backend instance. For supported load balancers and protocols, as described in Enabling connection draining.
optional int32 draining_timeout_sec = 225127070;
Type | Description |
ConnectionDraining.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ConnectionDraining.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ConnectionDraining.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ConnectionDraining.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ConnectionDraining.Builder |
clone()
public ConnectionDraining.Builder clone()
Type | Description |
ConnectionDraining.Builder |
getDefaultInstanceForType()
public ConnectionDraining getDefaultInstanceForType()
Type | Description |
ConnectionDraining |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDrainingTimeoutSec()
public int getDrainingTimeoutSec()
Configures a duration timeout for existing requests on a removed backend instance. For supported load balancers and protocols, as described in Enabling connection draining.
optional int32 draining_timeout_sec = 225127070;
Type | Description |
int | The drainingTimeoutSec. |
hasDrainingTimeoutSec()
public boolean hasDrainingTimeoutSec()
Configures a duration timeout for existing requests on a removed backend instance. For supported load balancers and protocols, as described in Enabling connection draining.
optional int32 draining_timeout_sec = 225127070;
Type | Description |
boolean | Whether the drainingTimeoutSec field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ConnectionDraining other)
public ConnectionDraining.Builder mergeFrom(ConnectionDraining other)
Name | Description |
other | ConnectionDraining |
Type | Description |
ConnectionDraining.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ConnectionDraining.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ConnectionDraining.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ConnectionDraining.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ConnectionDraining.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConnectionDraining.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ConnectionDraining.Builder |
setDrainingTimeoutSec(int value)
public ConnectionDraining.Builder setDrainingTimeoutSec(int value)
Configures a duration timeout for existing requests on a removed backend instance. For supported load balancers and protocols, as described in Enabling connection draining.
optional int32 draining_timeout_sec = 225127070;
Name | Description |
value | int The drainingTimeoutSec to set. |
Type | Description |
ConnectionDraining.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ConnectionDraining.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ConnectionDraining.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConnectionDraining.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ConnectionDraining.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ConnectionDraining.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ConnectionDraining.Builder |