Interface GrpcRoute.StatefulSessionAffinityPolicyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GrpcRoute.StatefulSessionAffinityPolicy,GrpcRoute.StatefulSessionAffinityPolicy.Builder
- Enclosing class:
- GrpcRoute
public static interface GrpcRoute.StatefulSessionAffinityPolicyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.DurationRequired.com.google.protobuf.DurationOrBuilderRequired.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasCookieTtl
boolean hasCookieTtl()Required. The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from 0 to 86400 seconds (24 hours) inclusive. Set this to 0s to use a session cookie and disable cookie expiration.
.google.protobuf.Duration cookie_ttl = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the cookieTtl field is set.
-
getCookieTtl
com.google.protobuf.Duration getCookieTtl()Required. The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from 0 to 86400 seconds (24 hours) inclusive. Set this to 0s to use a session cookie and disable cookie expiration.
.google.protobuf.Duration cookie_ttl = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The cookieTtl.
-
getCookieTtlOrBuilder
com.google.protobuf.DurationOrBuilder getCookieTtlOrBuilder()Required. The cookie TTL value for the Set-Cookie header generated by the data plane. The lifetime of the cookie may be set to a value from 0 to 86400 seconds (24 hours) inclusive. Set this to 0s to use a session cookie and disable cookie expiration.
.google.protobuf.Duration cookie_ttl = 1 [(.google.api.field_behavior) = REQUIRED];
-