public final class XdsServer extends com.google.protobuf.GeneratedMessageV3 implements XdsServerOrBuilder
Represents an xDS server.Protobuf type
grpc.service_config.XdsServer| Modifier and Type | Class and Description |
|---|---|
static class |
XdsServer.Builder
Represents an xDS server.
|
static class |
XdsServer.ChannelCredentials
Protobuf type
grpc.service_config.XdsServer.ChannelCredentials |
static interface |
XdsServer.ChannelCredentialsOrBuilder |
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 |
CHANNEL_CREDS_FIELD_NUMBER |
static int |
SERVER_FEATURES_FIELD_NUMBER |
static int |
SERVER_URI_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
XdsServer.ChannelCredentials |
getChannelCreds(int index)
A list of channel creds to use.
|
int |
getChannelCredsCount()
A list of channel creds to use.
|
List<XdsServer.ChannelCredentials> |
getChannelCredsList()
A list of channel creds to use.
|
XdsServer.ChannelCredentialsOrBuilder |
getChannelCredsOrBuilder(int index)
A list of channel creds to use.
|
List<? extends XdsServer.ChannelCredentialsOrBuilder> |
getChannelCredsOrBuilderList()
A list of channel creds to use.
|
static XdsServer |
getDefaultInstance() |
XdsServer |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<XdsServer> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.Value |
getServerFeatures(int index)
A repeated list of server features.
|
int |
getServerFeaturesCount()
A repeated list of server features.
|
List<com.google.protobuf.Value> |
getServerFeaturesList()
A repeated list of server features.
|
com.google.protobuf.ValueOrBuilder |
getServerFeaturesOrBuilder(int index)
A repeated list of server features.
|
List<? extends com.google.protobuf.ValueOrBuilder> |
getServerFeaturesOrBuilderList()
A repeated list of server features.
|
String |
getServerUri()
Required.
|
com.google.protobuf.ByteString |
getServerUriBytes()
Required.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static XdsServer.Builder |
newBuilder() |
static XdsServer.Builder |
newBuilder(XdsServer prototype) |
XdsServer.Builder |
newBuilderForType() |
protected XdsServer.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static XdsServer |
parseDelimitedFrom(InputStream input) |
static XdsServer |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static XdsServer |
parseFrom(byte[] data) |
static XdsServer |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static XdsServer |
parseFrom(ByteBuffer data) |
static XdsServer |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static XdsServer |
parseFrom(com.google.protobuf.ByteString data) |
static XdsServer |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static XdsServer |
parseFrom(com.google.protobuf.CodedInputStream input) |
static XdsServer |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static XdsServer |
parseFrom(InputStream input) |
static XdsServer |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<XdsServer> |
parser() |
XdsServer.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 SERVER_URI_FIELD_NUMBER
public static final int CHANNEL_CREDS_FIELD_NUMBER
public static final int SERVER_FEATURES_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 String getServerUri()
Required.
string server_uri = 1 [json_name = "server_uri"];getServerUri in interface XdsServerOrBuilderpublic com.google.protobuf.ByteString getServerUriBytes()
Required.
string server_uri = 1 [json_name = "server_uri"];getServerUriBytes in interface XdsServerOrBuilderpublic List<XdsServer.ChannelCredentials> getChannelCredsList()
A list of channel creds to use. The first supported type will be used.
repeated .grpc.service_config.XdsServer.ChannelCredentials channel_creds = 2 [json_name = "channel_creds"];getChannelCredsList in interface XdsServerOrBuilderpublic List<? extends XdsServer.ChannelCredentialsOrBuilder> getChannelCredsOrBuilderList()
A list of channel creds to use. The first supported type will be used.
repeated .grpc.service_config.XdsServer.ChannelCredentials channel_creds = 2 [json_name = "channel_creds"];getChannelCredsOrBuilderList in interface XdsServerOrBuilderpublic int getChannelCredsCount()
A list of channel creds to use. The first supported type will be used.
repeated .grpc.service_config.XdsServer.ChannelCredentials channel_creds = 2 [json_name = "channel_creds"];getChannelCredsCount in interface XdsServerOrBuilderpublic XdsServer.ChannelCredentials getChannelCreds(int index)
A list of channel creds to use. The first supported type will be used.
repeated .grpc.service_config.XdsServer.ChannelCredentials channel_creds = 2 [json_name = "channel_creds"];getChannelCreds in interface XdsServerOrBuilderpublic XdsServer.ChannelCredentialsOrBuilder getChannelCredsOrBuilder(int index)
A list of channel creds to use. The first supported type will be used.
repeated .grpc.service_config.XdsServer.ChannelCredentials channel_creds = 2 [json_name = "channel_creds"];getChannelCredsOrBuilder in interface XdsServerOrBuilderpublic List<com.google.protobuf.Value> getServerFeaturesList()
A repeated list of server features.
repeated .google.protobuf.Value server_features = 3 [json_name = "server_features"];getServerFeaturesList in interface XdsServerOrBuilderpublic List<? extends com.google.protobuf.ValueOrBuilder> getServerFeaturesOrBuilderList()
A repeated list of server features.
repeated .google.protobuf.Value server_features = 3 [json_name = "server_features"];getServerFeaturesOrBuilderList in interface XdsServerOrBuilderpublic int getServerFeaturesCount()
A repeated list of server features.
repeated .google.protobuf.Value server_features = 3 [json_name = "server_features"];getServerFeaturesCount in interface XdsServerOrBuilderpublic com.google.protobuf.Value getServerFeatures(int index)
A repeated list of server features.
repeated .google.protobuf.Value server_features = 3 [json_name = "server_features"];getServerFeatures in interface XdsServerOrBuilderpublic com.google.protobuf.ValueOrBuilder getServerFeaturesOrBuilder(int index)
A repeated list of server features.
repeated .google.protobuf.Value server_features = 3 [json_name = "server_features"];getServerFeaturesOrBuilder in interface XdsServerOrBuilderpublic 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 XdsServer parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XdsServer parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XdsServer parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XdsServer parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XdsServer parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XdsServer parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XdsServer parseFrom(InputStream input) throws IOException
IOExceptionpublic static XdsServer parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static XdsServer parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static XdsServer parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static XdsServer parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static XdsServer parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic XdsServer.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static XdsServer.Builder newBuilder()
public static XdsServer.Builder newBuilder(XdsServer prototype)
public XdsServer.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected XdsServer.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static XdsServer getDefaultInstance()
public static com.google.protobuf.Parser<XdsServer> parser()
public com.google.protobuf.Parser<XdsServer> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public XdsServer getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.