public final class ClientConfig extends com.google.protobuf.GeneratedMessageV3 implements ClientConfigOrBuilder
Client config for SkyWalking tracer.Protobuf type
envoy.extensions.tracers.skywalking.v4alpha.ClientConfig| Modifier and Type | Class and Description |
|---|---|
static class |
ClientConfig.BackendTokenSpecifierCase |
static class |
ClientConfig.Builder
Client config for SkyWalking tracer.
|
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 |
BACKEND_TOKEN_FIELD_NUMBER |
static int |
INSTANCE_NAME_FIELD_NUMBER |
static int |
MAX_CACHE_SIZE_FIELD_NUMBER |
static int |
SERVICE_NAME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getBackendToken()
Inline authentication token string.
|
com.google.protobuf.ByteString |
getBackendTokenBytes()
Inline authentication token string.
|
ClientConfig.BackendTokenSpecifierCase |
getBackendTokenSpecifierCase() |
static ClientConfig |
getDefaultInstance() |
ClientConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getInstanceName()
Service instance name for SkyWalking tracer.
|
com.google.protobuf.ByteString |
getInstanceNameBytes()
Service instance name for SkyWalking tracer.
|
com.google.protobuf.UInt32Value |
getMaxCacheSize()
Envoy caches the segment in memory when the SkyWalking backend service is temporarily unavailable.
|
com.google.protobuf.UInt32ValueOrBuilder |
getMaxCacheSizeOrBuilder()
Envoy caches the segment in memory when the SkyWalking backend service is temporarily unavailable.
|
com.google.protobuf.Parser<ClientConfig> |
getParserForType() |
int |
getSerializedSize() |
String |
getServiceName()
Service name for SkyWalking tracer.
|
com.google.protobuf.ByteString |
getServiceNameBytes()
Service name for SkyWalking tracer.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasMaxCacheSize()
Envoy caches the segment in memory when the SkyWalking backend service is temporarily unavailable.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ClientConfig.Builder |
newBuilder() |
static ClientConfig.Builder |
newBuilder(ClientConfig prototype) |
ClientConfig.Builder |
newBuilderForType() |
protected ClientConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ClientConfig |
parseDelimitedFrom(InputStream input) |
static ClientConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientConfig |
parseFrom(byte[] data) |
static ClientConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientConfig |
parseFrom(ByteBuffer data) |
static ClientConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientConfig |
parseFrom(com.google.protobuf.ByteString data) |
static ClientConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ClientConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientConfig |
parseFrom(InputStream input) |
static ClientConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ClientConfig> |
parser() |
ClientConfig.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, 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 SERVICE_NAME_FIELD_NUMBER
public static final int INSTANCE_NAME_FIELD_NUMBER
public static final int BACKEND_TOKEN_FIELD_NUMBER
public static final int MAX_CACHE_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 ClientConfig.BackendTokenSpecifierCase getBackendTokenSpecifierCase()
getBackendTokenSpecifierCase in interface ClientConfigOrBuilderpublic String getServiceName()
Service name for SkyWalking tracer. If this field is empty, then local service cluster name that configured by :ref:`Bootstrap node <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.node>` message's :ref:`cluster <envoy_v3_api_field_config.core.v3.Node.cluster>` field or command line option :option:`--service-cluster` will be used. If both this field and local service cluster name are empty, ``EnvoyProxy`` is used as the service name by default.
string service_name = 1;getServiceName in interface ClientConfigOrBuilderpublic com.google.protobuf.ByteString getServiceNameBytes()
Service name for SkyWalking tracer. If this field is empty, then local service cluster name that configured by :ref:`Bootstrap node <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.node>` message's :ref:`cluster <envoy_v3_api_field_config.core.v3.Node.cluster>` field or command line option :option:`--service-cluster` will be used. If both this field and local service cluster name are empty, ``EnvoyProxy`` is used as the service name by default.
string service_name = 1;getServiceNameBytes in interface ClientConfigOrBuilderpublic String getInstanceName()
Service instance name for SkyWalking tracer. If this field is empty, then local service node that configured by :ref:`Bootstrap node <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.node>` message's :ref:`id <envoy_v3_api_field_config.core.v3.Node.id>` field or command line option :option:`--service-node` will be used. If both this field and local service node are empty, ``EnvoyProxy`` is used as the instance name by default.
string instance_name = 2;getInstanceName in interface ClientConfigOrBuilderpublic com.google.protobuf.ByteString getInstanceNameBytes()
Service instance name for SkyWalking tracer. If this field is empty, then local service node that configured by :ref:`Bootstrap node <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.node>` message's :ref:`id <envoy_v3_api_field_config.core.v3.Node.id>` field or command line option :option:`--service-node` will be used. If both this field and local service node are empty, ``EnvoyProxy`` is used as the instance name by default.
string instance_name = 2;getInstanceNameBytes in interface ClientConfigOrBuilderpublic String getBackendToken()
Inline authentication token string.
string backend_token = 3 [(.udpa.annotations.sensitive) = true];getBackendToken in interface ClientConfigOrBuilderpublic com.google.protobuf.ByteString getBackendTokenBytes()
Inline authentication token string.
string backend_token = 3 [(.udpa.annotations.sensitive) = true];getBackendTokenBytes in interface ClientConfigOrBuilderpublic boolean hasMaxCacheSize()
Envoy caches the segment in memory when the SkyWalking backend service is temporarily unavailable. This field specifies the maximum number of segments that can be cached. If not specified, the default is 1024.
.google.protobuf.UInt32Value max_cache_size = 4;hasMaxCacheSize in interface ClientConfigOrBuilderpublic com.google.protobuf.UInt32Value getMaxCacheSize()
Envoy caches the segment in memory when the SkyWalking backend service is temporarily unavailable. This field specifies the maximum number of segments that can be cached. If not specified, the default is 1024.
.google.protobuf.UInt32Value max_cache_size = 4;getMaxCacheSize in interface ClientConfigOrBuilderpublic com.google.protobuf.UInt32ValueOrBuilder getMaxCacheSizeOrBuilder()
Envoy caches the segment in memory when the SkyWalking backend service is temporarily unavailable. This field specifies the maximum number of segments that can be cached. If not specified, the default is 1024.
.google.protobuf.UInt32Value max_cache_size = 4;getMaxCacheSizeOrBuilder in interface ClientConfigOrBuilderpublic 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 ClientConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static ClientConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClientConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ClientConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClientConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ClientConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ClientConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ClientConfig.Builder newBuilder()
public static ClientConfig.Builder newBuilder(ClientConfig prototype)
public ClientConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ClientConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ClientConfig getDefaultInstance()
public static com.google.protobuf.Parser<ClientConfig> parser()
public com.google.protobuf.Parser<ClientConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ClientConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.