Interface WarcCookieOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WarcCookie,WarcCookie.Builder
@Generated
public interface WarcCookieOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionCookie domaincom.google.protobuf.ByteStringCookie domaincom.google.protobuf.TimestampCookie expiration timecom.google.protobuf.TimestampOrBuilderCookie expiration timebooleanWhether the cookie is HTTP-onlygetName()Cookie namecom.google.protobuf.ByteStringCookie namegetPath()Cookie pathcom.google.protobuf.ByteStringCookie pathbooleanWhether the cookie is securegetValue()Cookie valuecom.google.protobuf.ByteStringCookie valuebooleanCookie domainbooleanCookie expiration timebooleanWhether the cookie is HTTP-onlybooleanhasPath()Cookie pathbooleanWhether the cookie is secureMethods 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
-
getName
String getName()Cookie name
string name = 1 [json_name = "name"];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Cookie name
string name = 1 [json_name = "name"];- Returns:
- The bytes for name.
-
getValue
String getValue()Cookie value
string value = 2 [json_name = "value"];- Returns:
- The value.
-
getValueBytes
com.google.protobuf.ByteString getValueBytes()Cookie value
string value = 2 [json_name = "value"];- Returns:
- The bytes for value.
-
hasDomain
boolean hasDomain()Cookie domain
optional string domain = 3 [json_name = "domain"];- Returns:
- Whether the domain field is set.
-
getDomain
String getDomain()Cookie domain
optional string domain = 3 [json_name = "domain"];- Returns:
- The domain.
-
getDomainBytes
com.google.protobuf.ByteString getDomainBytes()Cookie domain
optional string domain = 3 [json_name = "domain"];- Returns:
- The bytes for domain.
-
hasPath
boolean hasPath()Cookie path
optional string path = 4 [json_name = "path"];- Returns:
- Whether the path field is set.
-
getPath
String getPath()Cookie path
optional string path = 4 [json_name = "path"];- Returns:
- The path.
-
getPathBytes
com.google.protobuf.ByteString getPathBytes()Cookie path
optional string path = 4 [json_name = "path"];- Returns:
- The bytes for path.
-
hasExpires
boolean hasExpires()Cookie expiration time
optional .google.protobuf.Timestamp expires = 5 [json_name = "expires"];- Returns:
- Whether the expires field is set.
-
getExpires
com.google.protobuf.Timestamp getExpires()Cookie expiration time
optional .google.protobuf.Timestamp expires = 5 [json_name = "expires"];- Returns:
- The expires.
-
getExpiresOrBuilder
com.google.protobuf.TimestampOrBuilder getExpiresOrBuilder()Cookie expiration time
optional .google.protobuf.Timestamp expires = 5 [json_name = "expires"]; -
hasSecure
boolean hasSecure()Whether the cookie is secure
optional bool secure = 6 [json_name = "secure"];- Returns:
- Whether the secure field is set.
-
getSecure
boolean getSecure()Whether the cookie is secure
optional bool secure = 6 [json_name = "secure"];- Returns:
- The secure.
-
hasHttpOnly
boolean hasHttpOnly()Whether the cookie is HTTP-only
optional bool http_only = 7 [json_name = "httpOnly"];- Returns:
- Whether the httpOnly field is set.
-
getHttpOnly
boolean getHttpOnly()Whether the cookie is HTTP-only
optional bool http_only = 7 [json_name = "httpOnly"];- Returns:
- The httpOnly.
-