Interface RouteAction.HashPolicy.CookieOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RouteAction.HashPolicy.Cookie
,RouteAction.HashPolicy.Cookie.Builder
- Enclosing class:
RouteAction.HashPolicy
public static interface RouteAction.HashPolicy.CookieOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAttributes
(int index) Additional attributes for the cookie.int
Additional attributes for the cookie.Additional attributes for the cookie.getAttributesOrBuilder
(int index) Additional attributes for the cookie.Additional attributes for the cookie.getName()
The name of the cookie that will be used to obtain the hash key.com.google.protobuf.ByteString
The name of the cookie that will be used to obtain the hash key.getPath()
The name of the path for the cookie.com.google.protobuf.ByteString
The name of the path for the cookie.com.google.protobuf.Duration
getTtl()
If specified, a cookie with the TTL will be generated if the cookie is not present.com.google.protobuf.DurationOrBuilder
If specified, a cookie with the TTL will be generated if the cookie is not present.boolean
hasTtl()
If specified, a cookie with the TTL will be generated if the cookie is not present.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()The name of the cookie that will be used to obtain the hash key. If the cookie is not present and ttl below is not set, no hash will be produced.
string name = 1 [(.validate.rules) = { ... }
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()The name of the cookie that will be used to obtain the hash key. If the cookie is not present and ttl below is not set, no hash will be produced.
string name = 1 [(.validate.rules) = { ... }
- Returns:
- The bytes for name.
-
hasTtl
boolean hasTtl()If specified, a cookie with the TTL will be generated if the cookie is not present. If the TTL is present and zero, the generated cookie will be a session cookie.
.google.protobuf.Duration ttl = 2;
- Returns:
- Whether the ttl field is set.
-
getTtl
com.google.protobuf.Duration getTtl()If specified, a cookie with the TTL will be generated if the cookie is not present. If the TTL is present and zero, the generated cookie will be a session cookie.
.google.protobuf.Duration ttl = 2;
- Returns:
- The ttl.
-
getTtlOrBuilder
com.google.protobuf.DurationOrBuilder getTtlOrBuilder()If specified, a cookie with the TTL will be generated if the cookie is not present. If the TTL is present and zero, the generated cookie will be a session cookie.
.google.protobuf.Duration ttl = 2;
-
getPath
String getPath()The name of the path for the cookie. If no path is specified here, no path will be set for the cookie.
string path = 3;
- Returns:
- The path.
-
getPathBytes
com.google.protobuf.ByteString getPathBytes()The name of the path for the cookie. If no path is specified here, no path will be set for the cookie.
string path = 3;
- Returns:
- The bytes for path.
-
getAttributesList
List<RouteAction.HashPolicy.CookieAttribute> getAttributesList()Additional attributes for the cookie. They will be used when generating a new cookie.
repeated .envoy.config.route.v3.RouteAction.HashPolicy.CookieAttribute attributes = 4;
-
getAttributes
Additional attributes for the cookie. They will be used when generating a new cookie.
repeated .envoy.config.route.v3.RouteAction.HashPolicy.CookieAttribute attributes = 4;
-
getAttributesCount
int getAttributesCount()Additional attributes for the cookie. They will be used when generating a new cookie.
repeated .envoy.config.route.v3.RouteAction.HashPolicy.CookieAttribute attributes = 4;
-
getAttributesOrBuilderList
List<? extends RouteAction.HashPolicy.CookieAttributeOrBuilder> getAttributesOrBuilderList()Additional attributes for the cookie. They will be used when generating a new cookie.
repeated .envoy.config.route.v3.RouteAction.HashPolicy.CookieAttribute attributes = 4;
-
getAttributesOrBuilder
Additional attributes for the cookie. They will be used when generating a new cookie.
repeated .envoy.config.route.v3.RouteAction.HashPolicy.CookieAttribute attributes = 4;
-