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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()The name of the cookie that will be used to obtain the hash key.com.google.protobuf.ByteStringgetNameBytes()The name of the cookie that will be used to obtain the hash key.StringgetPath()The name of the path for the cookie.com.google.protobuf.ByteStringgetPathBytes()The name of the path for the cookie.com.google.protobuf.DurationgetTtl()If specified, a cookie with the TTL will be generated if the cookie is not present.com.google.protobuf.DurationOrBuildergetTtlOrBuilder()If specified, a cookie with the TTL will be generated if the cookie is not present.booleanhasTtl()If specified, a cookie with the TTL will be generated if the cookie is not present.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.
-
-