public final class LoadBalanceResponse extends GeneratedMessageV3 implements LoadBalanceResponseOrBuilder
grpc.lb.v1.LoadBalanceResponse| Modifier and Type | Class and Description |
|---|---|
static class |
LoadBalanceResponse.Builder
Protobuf type
grpc.lb.v1.LoadBalanceResponse |
static class |
LoadBalanceResponse.LoadBalanceResponseTypeCase |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameterAbstractMessageLite.InternalOneOfEnum| Modifier and Type | Field and Description |
|---|---|
static int |
FALLBACK_RESPONSE_FIELD_NUMBER |
static int |
INITIAL_RESPONSE_FIELD_NUMBER |
static int |
SERVER_LIST_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCodecanUseUnsafe, 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, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int INITIAL_RESPONSE_FIELD_NUMBER
public static final int SERVER_LIST_FIELD_NUMBER
public static final int FALLBACK_RESPONSE_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class GeneratedMessageV3public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public LoadBalanceResponse.LoadBalanceResponseTypeCase getLoadBalanceResponseTypeCase()
getLoadBalanceResponseTypeCase in interface LoadBalanceResponseOrBuilderpublic boolean hasInitialResponse()
This message should be sent on the first response to the client.
.grpc.lb.v1.InitialLoadBalanceResponse initial_response = 1;hasInitialResponse in interface LoadBalanceResponseOrBuilderpublic InitialLoadBalanceResponse getInitialResponse()
This message should be sent on the first response to the client.
.grpc.lb.v1.InitialLoadBalanceResponse initial_response = 1;getInitialResponse in interface LoadBalanceResponseOrBuilderpublic InitialLoadBalanceResponseOrBuilder getInitialResponseOrBuilder()
This message should be sent on the first response to the client.
.grpc.lb.v1.InitialLoadBalanceResponse initial_response = 1;getInitialResponseOrBuilder in interface LoadBalanceResponseOrBuilderpublic boolean hasServerList()
Contains the list of servers selected by the load balancer. The client should send requests to these servers in the specified order.
.grpc.lb.v1.ServerList server_list = 2;hasServerList in interface LoadBalanceResponseOrBuilderpublic ServerList getServerList()
Contains the list of servers selected by the load balancer. The client should send requests to these servers in the specified order.
.grpc.lb.v1.ServerList server_list = 2;getServerList in interface LoadBalanceResponseOrBuilderpublic ServerListOrBuilder getServerListOrBuilder()
Contains the list of servers selected by the load balancer. The client should send requests to these servers in the specified order.
.grpc.lb.v1.ServerList server_list = 2;getServerListOrBuilder in interface LoadBalanceResponseOrBuilderpublic boolean hasFallbackResponse()
If this field is set, then the client should eagerly enter fallback mode (even if there are existing, healthy connections to backends).
.grpc.lb.v1.FallbackResponse fallback_response = 3;hasFallbackResponse in interface LoadBalanceResponseOrBuilderpublic FallbackResponse getFallbackResponse()
If this field is set, then the client should eagerly enter fallback mode (even if there are existing, healthy connections to backends).
.grpc.lb.v1.FallbackResponse fallback_response = 3;getFallbackResponse in interface LoadBalanceResponseOrBuilderpublic FallbackResponseOrBuilder getFallbackResponseOrBuilder()
If this field is set, then the client should eagerly enter fallback mode (even if there are existing, healthy connections to backends).
.grpc.lb.v1.FallbackResponse fallback_response = 3;getFallbackResponseOrBuilder in interface LoadBalanceResponseOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static LoadBalanceResponse parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static LoadBalanceResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static LoadBalanceResponse parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static LoadBalanceResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static LoadBalanceResponse parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static LoadBalanceResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static LoadBalanceResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static LoadBalanceResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static LoadBalanceResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static LoadBalanceResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static LoadBalanceResponse parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static LoadBalanceResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic LoadBalanceResponse.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static LoadBalanceResponse.Builder newBuilder()
public static LoadBalanceResponse.Builder newBuilder(LoadBalanceResponse prototype)
public LoadBalanceResponse.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected LoadBalanceResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static LoadBalanceResponse getDefaultInstance()
public static Parser<LoadBalanceResponse> parser()
public Parser<LoadBalanceResponse> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public LoadBalanceResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder