public final class ConnectionDraining extends GeneratedMessageV3 implements ConnectionDrainingOrBuilder
Message containing connection draining configuration.
Protobuf type google.cloud.compute.v1.ConnectionDraining
Static Fields
DRAINING_TIMEOUT_SEC_FIELD_NUMBER
public static final int DRAINING_TIMEOUT_SEC_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static ConnectionDraining getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ConnectionDraining.Builder newBuilder()
newBuilder(ConnectionDraining prototype)
public static ConnectionDraining.Builder newBuilder(ConnectionDraining prototype)
public static ConnectionDraining parseDelimitedFrom(InputStream input)
public static ConnectionDraining parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ConnectionDraining parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ConnectionDraining parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ConnectionDraining parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ConnectionDraining parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ConnectionDraining parseFrom(CodedInputStream input)
public static ConnectionDraining parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ConnectionDraining parseFrom(InputStream input)
public static ConnectionDraining parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ConnectionDraining parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ConnectionDraining parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ConnectionDraining> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public ConnectionDraining getDefaultInstanceForType()
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;
Returns |
---|
Type | Description |
int | The drainingTimeoutSec.
|
getParserForType()
public Parser<ConnectionDraining> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
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;
Returns |
---|
Type | Description |
boolean | Whether the drainingTimeoutSec field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ConnectionDraining.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ConnectionDraining.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ConnectionDraining.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides