public final class ConsistentHashLoadBalancerSettings extends com.google.protobuf.GeneratedMessageV3 implements ConsistentHashLoadBalancerSettingsOrBuilder
This message defines settings for a consistent hash style load balancer.Protobuf type
google.cloud.compute.v1.ConsistentHashLoadBalancerSettings| Modifier and Type | Class and Description |
|---|---|
static class |
ConsistentHashLoadBalancerSettings.Builder
This message defines settings for a consistent hash style load balancer.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
HTTP_COOKIE_FIELD_NUMBER |
static int |
HTTP_HEADER_NAME_FIELD_NUMBER |
static int |
MINIMUM_RING_SIZE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static ConsistentHashLoadBalancerSettings |
getDefaultInstance() |
ConsistentHashLoadBalancerSettings |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
ConsistentHashLoadBalancerSettingsHttpCookie |
getHttpCookie()
Hash is based on HTTP Cookie.
|
ConsistentHashLoadBalancerSettingsHttpCookieOrBuilder |
getHttpCookieOrBuilder()
Hash is based on HTTP Cookie.
|
String |
getHttpHeaderName()
The hash based on the value of the specified header field.
|
com.google.protobuf.ByteString |
getHttpHeaderNameBytes()
The hash based on the value of the specified header field.
|
long |
getMinimumRingSize()
The minimum number of virtual nodes to use for the hash ring.
|
com.google.protobuf.Parser<ConsistentHashLoadBalancerSettings> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasHttpCookie()
Hash is based on HTTP Cookie.
|
boolean |
hasHttpHeaderName()
The hash based on the value of the specified header field.
|
boolean |
hasMinimumRingSize()
The minimum number of virtual nodes to use for the hash ring.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ConsistentHashLoadBalancerSettings.Builder |
newBuilder() |
static ConsistentHashLoadBalancerSettings.Builder |
newBuilder(ConsistentHashLoadBalancerSettings prototype) |
ConsistentHashLoadBalancerSettings.Builder |
newBuilderForType() |
protected ConsistentHashLoadBalancerSettings.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ConsistentHashLoadBalancerSettings |
parseDelimitedFrom(InputStream input) |
static ConsistentHashLoadBalancerSettings |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConsistentHashLoadBalancerSettings |
parseFrom(byte[] data) |
static ConsistentHashLoadBalancerSettings |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConsistentHashLoadBalancerSettings |
parseFrom(ByteBuffer data) |
static ConsistentHashLoadBalancerSettings |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConsistentHashLoadBalancerSettings |
parseFrom(com.google.protobuf.ByteString data) |
static ConsistentHashLoadBalancerSettings |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConsistentHashLoadBalancerSettings |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ConsistentHashLoadBalancerSettings |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConsistentHashLoadBalancerSettings |
parseFrom(InputStream input) |
static ConsistentHashLoadBalancerSettings |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ConsistentHashLoadBalancerSettings> |
parser() |
ConsistentHashLoadBalancerSettings.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int HTTP_COOKIE_FIELD_NUMBER
public static final int HTTP_HEADER_NAME_FIELD_NUMBER
public static final int MINIMUM_RING_SIZE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasHttpCookie()
Hash is based on HTTP Cookie. This field describes a HTTP cookie that will be used as the hash key for the consistent hash load balancer. If the cookie is not present, it will be generated. This field is applicable if the sessionAffinity is set to HTTP_COOKIE. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
optional .google.cloud.compute.v1.ConsistentHashLoadBalancerSettingsHttpCookie http_cookie = 6673915;
hasHttpCookie in interface ConsistentHashLoadBalancerSettingsOrBuilderpublic ConsistentHashLoadBalancerSettingsHttpCookie getHttpCookie()
Hash is based on HTTP Cookie. This field describes a HTTP cookie that will be used as the hash key for the consistent hash load balancer. If the cookie is not present, it will be generated. This field is applicable if the sessionAffinity is set to HTTP_COOKIE. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
optional .google.cloud.compute.v1.ConsistentHashLoadBalancerSettingsHttpCookie http_cookie = 6673915;
getHttpCookie in interface ConsistentHashLoadBalancerSettingsOrBuilderpublic ConsistentHashLoadBalancerSettingsHttpCookieOrBuilder getHttpCookieOrBuilder()
Hash is based on HTTP Cookie. This field describes a HTTP cookie that will be used as the hash key for the consistent hash load balancer. If the cookie is not present, it will be generated. This field is applicable if the sessionAffinity is set to HTTP_COOKIE. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
optional .google.cloud.compute.v1.ConsistentHashLoadBalancerSettingsHttpCookie http_cookie = 6673915;
getHttpCookieOrBuilder in interface ConsistentHashLoadBalancerSettingsOrBuilderpublic boolean hasHttpHeaderName()
The hash based on the value of the specified header field. This field is applicable if the sessionAffinity is set to HEADER_FIELD.
optional string http_header_name = 234798022;hasHttpHeaderName in interface ConsistentHashLoadBalancerSettingsOrBuilderpublic String getHttpHeaderName()
The hash based on the value of the specified header field. This field is applicable if the sessionAffinity is set to HEADER_FIELD.
optional string http_header_name = 234798022;getHttpHeaderName in interface ConsistentHashLoadBalancerSettingsOrBuilderpublic com.google.protobuf.ByteString getHttpHeaderNameBytes()
The hash based on the value of the specified header field. This field is applicable if the sessionAffinity is set to HEADER_FIELD.
optional string http_header_name = 234798022;getHttpHeaderNameBytes in interface ConsistentHashLoadBalancerSettingsOrBuilderpublic boolean hasMinimumRingSize()
The minimum number of virtual nodes to use for the hash ring. Defaults to 1024. Larger ring sizes result in more granular load distributions. If the number of hosts in the load balancing pool is larger than the ring size, each host will be assigned a single virtual node.
optional int64 minimum_ring_size = 234380735;hasMinimumRingSize in interface ConsistentHashLoadBalancerSettingsOrBuilderpublic long getMinimumRingSize()
The minimum number of virtual nodes to use for the hash ring. Defaults to 1024. Larger ring sizes result in more granular load distributions. If the number of hosts in the load balancing pool is larger than the ring size, each host will be assigned a single virtual node.
optional int64 minimum_ring_size = 234380735;getMinimumRingSize in interface ConsistentHashLoadBalancerSettingsOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ConsistentHashLoadBalancerSettings parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConsistentHashLoadBalancerSettings parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConsistentHashLoadBalancerSettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConsistentHashLoadBalancerSettings parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConsistentHashLoadBalancerSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConsistentHashLoadBalancerSettings parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConsistentHashLoadBalancerSettings parseFrom(InputStream input) throws IOException
IOExceptionpublic static ConsistentHashLoadBalancerSettings parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ConsistentHashLoadBalancerSettings parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ConsistentHashLoadBalancerSettings parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ConsistentHashLoadBalancerSettings parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ConsistentHashLoadBalancerSettings parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ConsistentHashLoadBalancerSettings.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ConsistentHashLoadBalancerSettings.Builder newBuilder()
public static ConsistentHashLoadBalancerSettings.Builder newBuilder(ConsistentHashLoadBalancerSettings prototype)
public ConsistentHashLoadBalancerSettings.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ConsistentHashLoadBalancerSettings.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ConsistentHashLoadBalancerSettings getDefaultInstance()
public static com.google.protobuf.Parser<ConsistentHashLoadBalancerSettings> parser()
public com.google.protobuf.Parser<ConsistentHashLoadBalancerSettings> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ConsistentHashLoadBalancerSettings getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.