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 RouteAction.HashPolicy.CookieAttribute
getAttributes(int index)
Additional attributes for the cookie.int
getAttributesCount()
Additional attributes for the cookie.java.util.List<RouteAction.HashPolicy.CookieAttribute>
getAttributesList()
Additional attributes for the cookie.RouteAction.HashPolicy.CookieAttributeOrBuilder
getAttributesOrBuilder(int index)
Additional attributes for the cookie.java.util.List<? extends RouteAction.HashPolicy.CookieAttributeOrBuilder>
getAttributesOrBuilderList()
Additional attributes for the cookie.java.lang.String
getName()
The name of the cookie that will be used to obtain the hash key.com.google.protobuf.ByteString
getNameBytes()
The name of the cookie that will be used to obtain the hash key.java.lang.String
getPath()
The name of the path for the cookie.com.google.protobuf.ByteString
getPathBytes()
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
getTtlOrBuilder()
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.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
java.lang.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
java.lang.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
java.util.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
RouteAction.HashPolicy.CookieAttribute getAttributes(int index)
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
java.util.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
RouteAction.HashPolicy.CookieAttributeOrBuilder getAttributesOrBuilder(int index)
Additional attributes for the cookie. They will be used when generating a new cookie.
repeated .envoy.config.route.v3.RouteAction.HashPolicy.CookieAttribute attributes = 4;
-
-