Package io.stigg.sidecar.proto.v1
Class LocalSidecarConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.stigg.sidecar.proto.v1.LocalSidecarConfig
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,LocalSidecarConfigOrBuilder,java.io.Serializable
public final class LocalSidecarConfig extends com.google.protobuf.GeneratedMessageV3 implements LocalSidecarConfigOrBuilder
Protobuf typestigg.sidecar.v1.LocalSidecarConfig- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLocalSidecarConfig.BuilderProtobuf typestigg.sidecar.v1.LocalSidecarConfig-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCACHE_MAX_SIZE_BYTES_FIELD_NUMBERstatic intENTITLEMENTS_FALLBACK_FIELD_NUMBERstatic intREDIS_FIELD_NUMBERstatic intWS_ENABLED_FIELD_NUMBERstatic intWS_URL_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsEntitlementsFallback(java.lang.String key)map<string, .stigg.sidecar.v1.EntitlementFallback> entitlements_fallback = 8 [json_name = "entitlementsFallback"];booleanequals(java.lang.Object obj)longgetCacheMaxSizeBytes()optional int64 cache_max_size_bytes = 9 [json_name = "cacheMaxSizeBytes"];static LocalSidecarConfiggetDefaultInstance()LocalSidecarConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()java.util.Map<java.lang.String,EntitlementFallback>getEntitlementsFallback()Deprecated.intgetEntitlementsFallbackCount()map<string, .stigg.sidecar.v1.EntitlementFallback> entitlements_fallback = 8 [json_name = "entitlementsFallback"];java.util.Map<java.lang.String,EntitlementFallback>getEntitlementsFallbackMap()map<string, .stigg.sidecar.v1.EntitlementFallback> entitlements_fallback = 8 [json_name = "entitlementsFallback"];EntitlementFallbackgetEntitlementsFallbackOrDefault(java.lang.String key, EntitlementFallback defaultValue)map<string, .stigg.sidecar.v1.EntitlementFallback> entitlements_fallback = 8 [json_name = "entitlementsFallback"];EntitlementFallbackgetEntitlementsFallbackOrThrow(java.lang.String key)map<string, .stigg.sidecar.v1.EntitlementFallback> entitlements_fallback = 8 [json_name = "entitlementsFallback"];com.google.protobuf.Parser<LocalSidecarConfig>getParserForType()RedisOptionsgetRedis()optional .stigg.sidecar.v1.RedisOptions redis = 7 [json_name = "redis"];RedisOptionsOrBuildergetRedisOrBuilder()optional .stigg.sidecar.v1.RedisOptions redis = 7 [json_name = "redis"];intgetSerializedSize()booleangetWsEnabled()optional bool ws_enabled = 5 [json_name = "wsEnabled"];java.lang.StringgetWsUrl()optional string ws_url = 6 [json_name = "wsUrl"];com.google.protobuf.ByteStringgetWsUrlBytes()optional string ws_url = 6 [json_name = "wsUrl"];booleanhasCacheMaxSizeBytes()optional int64 cache_max_size_bytes = 9 [json_name = "cacheMaxSizeBytes"];inthashCode()booleanhasRedis()optional .stigg.sidecar.v1.RedisOptions redis = 7 [json_name = "redis"];booleanhasWsEnabled()optional bool ws_enabled = 5 [json_name = "wsEnabled"];booleanhasWsUrl()optional string ws_url = 6 [json_name = "wsUrl"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static LocalSidecarConfig.BuildernewBuilder()static LocalSidecarConfig.BuildernewBuilder(LocalSidecarConfig prototype)LocalSidecarConfig.BuildernewBuilderForType()protected LocalSidecarConfig.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static LocalSidecarConfigparseDelimitedFrom(java.io.InputStream input)static LocalSidecarConfigparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LocalSidecarConfigparseFrom(byte[] data)static LocalSidecarConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LocalSidecarConfigparseFrom(com.google.protobuf.ByteString data)static LocalSidecarConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LocalSidecarConfigparseFrom(com.google.protobuf.CodedInputStream input)static LocalSidecarConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LocalSidecarConfigparseFrom(java.io.InputStream input)static LocalSidecarConfigparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LocalSidecarConfigparseFrom(java.nio.ByteBuffer data)static LocalSidecarConfigparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<LocalSidecarConfig>parser()LocalSidecarConfig.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
WS_ENABLED_FIELD_NUMBER
public static final int WS_ENABLED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WS_URL_FIELD_NUMBER
public static final int WS_URL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REDIS_FIELD_NUMBER
public static final int REDIS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENTITLEMENTS_FALLBACK_FIELD_NUMBER
public static final int ENTITLEMENTS_FALLBACK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CACHE_MAX_SIZE_BYTES_FIELD_NUMBER
public static final int CACHE_MAX_SIZE_BYTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasWsEnabled
public boolean hasWsEnabled()
optional bool ws_enabled = 5 [json_name = "wsEnabled"];- Specified by:
hasWsEnabledin interfaceLocalSidecarConfigOrBuilder- Returns:
- Whether the wsEnabled field is set.
-
getWsEnabled
public boolean getWsEnabled()
optional bool ws_enabled = 5 [json_name = "wsEnabled"];- Specified by:
getWsEnabledin interfaceLocalSidecarConfigOrBuilder- Returns:
- The wsEnabled.
-
hasWsUrl
public boolean hasWsUrl()
optional string ws_url = 6 [json_name = "wsUrl"];- Specified by:
hasWsUrlin interfaceLocalSidecarConfigOrBuilder- Returns:
- Whether the wsUrl field is set.
-
getWsUrl
public java.lang.String getWsUrl()
optional string ws_url = 6 [json_name = "wsUrl"];- Specified by:
getWsUrlin interfaceLocalSidecarConfigOrBuilder- Returns:
- The wsUrl.
-
getWsUrlBytes
public com.google.protobuf.ByteString getWsUrlBytes()
optional string ws_url = 6 [json_name = "wsUrl"];- Specified by:
getWsUrlBytesin interfaceLocalSidecarConfigOrBuilder- Returns:
- The bytes for wsUrl.
-
hasRedis
public boolean hasRedis()
optional .stigg.sidecar.v1.RedisOptions redis = 7 [json_name = "redis"];- Specified by:
hasRedisin interfaceLocalSidecarConfigOrBuilder- Returns:
- Whether the redis field is set.
-
getRedis
public RedisOptions getRedis()
optional .stigg.sidecar.v1.RedisOptions redis = 7 [json_name = "redis"];- Specified by:
getRedisin interfaceLocalSidecarConfigOrBuilder- Returns:
- The redis.
-
getRedisOrBuilder
public RedisOptionsOrBuilder getRedisOrBuilder()
optional .stigg.sidecar.v1.RedisOptions redis = 7 [json_name = "redis"];- Specified by:
getRedisOrBuilderin interfaceLocalSidecarConfigOrBuilder
-
getEntitlementsFallbackCount
public int getEntitlementsFallbackCount()
Description copied from interface:LocalSidecarConfigOrBuildermap<string, .stigg.sidecar.v1.EntitlementFallback> entitlements_fallback = 8 [json_name = "entitlementsFallback"];- Specified by:
getEntitlementsFallbackCountin interfaceLocalSidecarConfigOrBuilder
-
containsEntitlementsFallback
public boolean containsEntitlementsFallback(java.lang.String key)
map<string, .stigg.sidecar.v1.EntitlementFallback> entitlements_fallback = 8 [json_name = "entitlementsFallback"];- Specified by:
containsEntitlementsFallbackin interfaceLocalSidecarConfigOrBuilder
-
getEntitlementsFallback
@Deprecated public java.util.Map<java.lang.String,EntitlementFallback> getEntitlementsFallback()
Deprecated.UsegetEntitlementsFallbackMap()instead.- Specified by:
getEntitlementsFallbackin interfaceLocalSidecarConfigOrBuilder
-
getEntitlementsFallbackMap
public java.util.Map<java.lang.String,EntitlementFallback> getEntitlementsFallbackMap()
map<string, .stigg.sidecar.v1.EntitlementFallback> entitlements_fallback = 8 [json_name = "entitlementsFallback"];- Specified by:
getEntitlementsFallbackMapin interfaceLocalSidecarConfigOrBuilder
-
getEntitlementsFallbackOrDefault
public EntitlementFallback getEntitlementsFallbackOrDefault(java.lang.String key, EntitlementFallback defaultValue)
map<string, .stigg.sidecar.v1.EntitlementFallback> entitlements_fallback = 8 [json_name = "entitlementsFallback"];- Specified by:
getEntitlementsFallbackOrDefaultin interfaceLocalSidecarConfigOrBuilder
-
getEntitlementsFallbackOrThrow
public EntitlementFallback getEntitlementsFallbackOrThrow(java.lang.String key)
map<string, .stigg.sidecar.v1.EntitlementFallback> entitlements_fallback = 8 [json_name = "entitlementsFallback"];- Specified by:
getEntitlementsFallbackOrThrowin interfaceLocalSidecarConfigOrBuilder
-
hasCacheMaxSizeBytes
public boolean hasCacheMaxSizeBytes()
optional int64 cache_max_size_bytes = 9 [json_name = "cacheMaxSizeBytes"];- Specified by:
hasCacheMaxSizeBytesin interfaceLocalSidecarConfigOrBuilder- Returns:
- Whether the cacheMaxSizeBytes field is set.
-
getCacheMaxSizeBytes
public long getCacheMaxSizeBytes()
optional int64 cache_max_size_bytes = 9 [json_name = "cacheMaxSizeBytes"];- Specified by:
getCacheMaxSizeBytesin interfaceLocalSidecarConfigOrBuilder- Returns:
- The cacheMaxSizeBytes.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static LocalSidecarConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocalSidecarConfig parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocalSidecarConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocalSidecarConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocalSidecarConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocalSidecarConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocalSidecarConfig parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static LocalSidecarConfig parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static LocalSidecarConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static LocalSidecarConfig parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static LocalSidecarConfig parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static LocalSidecarConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public LocalSidecarConfig.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static LocalSidecarConfig.Builder newBuilder()
-
newBuilder
public static LocalSidecarConfig.Builder newBuilder(LocalSidecarConfig prototype)
-
toBuilder
public LocalSidecarConfig.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected LocalSidecarConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static LocalSidecarConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<LocalSidecarConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<LocalSidecarConfig> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public LocalSidecarConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-