Class WarcCookie.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<WarcCookie.Builder>
com.google.protobuf.GeneratedMessage.Builder<WarcCookie.Builder>
ai.pipestream.parsed.data.warc.v1.WarcCookie.Builder
- All Implemented Interfaces:
WarcCookieOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
WarcCookie
public static final class WarcCookie.Builder
extends com.google.protobuf.GeneratedMessage.Builder<WarcCookie.Builder>
implements WarcCookieOrBuilder
Represents a cookie associated with the archived request/responseProtobuf type
ai.pipestream.parsed.data.warc.v1.WarcCookie-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Cookie domainCookie expiration timeWhether the cookie is HTTP-onlyCookie nameCookie pathWhether the cookie is secureCookie valuestatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorCookie domaincom.google.protobuf.ByteStringCookie domaincom.google.protobuf.TimestampCookie expiration timecom.google.protobuf.Timestamp.BuilderCookie 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 secureprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeExpires(com.google.protobuf.Timestamp value) Cookie expiration timemergeFrom(WarcCookie other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Cookie domainsetDomainBytes(com.google.protobuf.ByteString value) Cookie domainsetExpires(com.google.protobuf.Timestamp value) Cookie expiration timesetExpires(com.google.protobuf.Timestamp.Builder builderForValue) Cookie expiration timesetHttpOnly(boolean value) Whether the cookie is HTTP-onlyCookie namesetNameBytes(com.google.protobuf.ByteString value) Cookie nameCookie pathsetPathBytes(com.google.protobuf.ByteString value) Cookie pathsetSecure(boolean value) Whether the cookie is secureCookie valuesetValueBytes(com.google.protobuf.ByteString value) Cookie valueMethods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<WarcCookie.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<WarcCookie.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<WarcCookie.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WarcCookie.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<WarcCookie.Builder>
-
mergeFrom
public WarcCookie.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WarcCookie.Builder>- Throws:
IOException
-
getName
Cookie name
string name = 1 [json_name = "name"];- Specified by:
getNamein interfaceWarcCookieOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Cookie name
string name = 1 [json_name = "name"];- Specified by:
getNameBytesin interfaceWarcCookieOrBuilder- Returns:
- The bytes for name.
-
setName
Cookie name
string name = 1 [json_name = "name"];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Cookie name
string name = 1 [json_name = "name"];- Returns:
- This builder for chaining.
-
setNameBytes
Cookie name
string name = 1 [json_name = "name"];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getValue
Cookie value
string value = 2 [json_name = "value"];- Specified by:
getValuein interfaceWarcCookieOrBuilder- Returns:
- The value.
-
getValueBytes
public com.google.protobuf.ByteString getValueBytes()Cookie value
string value = 2 [json_name = "value"];- Specified by:
getValueBytesin interfaceWarcCookieOrBuilder- Returns:
- The bytes for value.
-
setValue
Cookie value
string value = 2 [json_name = "value"];- Parameters:
value- The value to set.- Returns:
- This builder for chaining.
-
clearValue
Cookie value
string value = 2 [json_name = "value"];- Returns:
- This builder for chaining.
-
setValueBytes
Cookie value
string value = 2 [json_name = "value"];- Parameters:
value- The bytes for value to set.- Returns:
- This builder for chaining.
-
hasDomain
public boolean hasDomain()Cookie domain
optional string domain = 3 [json_name = "domain"];- Specified by:
hasDomainin interfaceWarcCookieOrBuilder- Returns:
- Whether the domain field is set.
-
getDomain
Cookie domain
optional string domain = 3 [json_name = "domain"];- Specified by:
getDomainin interfaceWarcCookieOrBuilder- Returns:
- The domain.
-
getDomainBytes
public com.google.protobuf.ByteString getDomainBytes()Cookie domain
optional string domain = 3 [json_name = "domain"];- Specified by:
getDomainBytesin interfaceWarcCookieOrBuilder- Returns:
- The bytes for domain.
-
setDomain
Cookie domain
optional string domain = 3 [json_name = "domain"];- Parameters:
value- The domain to set.- Returns:
- This builder for chaining.
-
clearDomain
Cookie domain
optional string domain = 3 [json_name = "domain"];- Returns:
- This builder for chaining.
-
setDomainBytes
Cookie domain
optional string domain = 3 [json_name = "domain"];- Parameters:
value- The bytes for domain to set.- Returns:
- This builder for chaining.
-
hasPath
public boolean hasPath()Cookie path
optional string path = 4 [json_name = "path"];- Specified by:
hasPathin interfaceWarcCookieOrBuilder- Returns:
- Whether the path field is set.
-
getPath
Cookie path
optional string path = 4 [json_name = "path"];- Specified by:
getPathin interfaceWarcCookieOrBuilder- Returns:
- The path.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()Cookie path
optional string path = 4 [json_name = "path"];- Specified by:
getPathBytesin interfaceWarcCookieOrBuilder- Returns:
- The bytes for path.
-
setPath
Cookie path
optional string path = 4 [json_name = "path"];- Parameters:
value- The path to set.- Returns:
- This builder for chaining.
-
clearPath
Cookie path
optional string path = 4 [json_name = "path"];- Returns:
- This builder for chaining.
-
setPathBytes
Cookie path
optional string path = 4 [json_name = "path"];- Parameters:
value- The bytes for path to set.- Returns:
- This builder for chaining.
-
hasExpires
public boolean hasExpires()Cookie expiration time
optional .google.protobuf.Timestamp expires = 5 [json_name = "expires"];- Specified by:
hasExpiresin interfaceWarcCookieOrBuilder- Returns:
- Whether the expires field is set.
-
getExpires
public com.google.protobuf.Timestamp getExpires()Cookie expiration time
optional .google.protobuf.Timestamp expires = 5 [json_name = "expires"];- Specified by:
getExpiresin interfaceWarcCookieOrBuilder- Returns:
- The expires.
-
setExpires
Cookie expiration time
optional .google.protobuf.Timestamp expires = 5 [json_name = "expires"]; -
setExpires
Cookie expiration time
optional .google.protobuf.Timestamp expires = 5 [json_name = "expires"]; -
mergeExpires
Cookie expiration time
optional .google.protobuf.Timestamp expires = 5 [json_name = "expires"]; -
clearExpires
Cookie expiration time
optional .google.protobuf.Timestamp expires = 5 [json_name = "expires"]; -
getExpiresBuilder
public com.google.protobuf.Timestamp.Builder getExpiresBuilder()Cookie expiration time
optional .google.protobuf.Timestamp expires = 5 [json_name = "expires"]; -
getExpiresOrBuilder
public com.google.protobuf.TimestampOrBuilder getExpiresOrBuilder()Cookie expiration time
optional .google.protobuf.Timestamp expires = 5 [json_name = "expires"];- Specified by:
getExpiresOrBuilderin interfaceWarcCookieOrBuilder
-
hasSecure
public boolean hasSecure()Whether the cookie is secure
optional bool secure = 6 [json_name = "secure"];- Specified by:
hasSecurein interfaceWarcCookieOrBuilder- Returns:
- Whether the secure field is set.
-
getSecure
public boolean getSecure()Whether the cookie is secure
optional bool secure = 6 [json_name = "secure"];- Specified by:
getSecurein interfaceWarcCookieOrBuilder- Returns:
- The secure.
-
setSecure
Whether the cookie is secure
optional bool secure = 6 [json_name = "secure"];- Parameters:
value- The secure to set.- Returns:
- This builder for chaining.
-
clearSecure
Whether the cookie is secure
optional bool secure = 6 [json_name = "secure"];- Returns:
- This builder for chaining.
-
hasHttpOnly
public boolean hasHttpOnly()Whether the cookie is HTTP-only
optional bool http_only = 7 [json_name = "httpOnly"];- Specified by:
hasHttpOnlyin interfaceWarcCookieOrBuilder- Returns:
- Whether the httpOnly field is set.
-
getHttpOnly
public boolean getHttpOnly()Whether the cookie is HTTP-only
optional bool http_only = 7 [json_name = "httpOnly"];- Specified by:
getHttpOnlyin interfaceWarcCookieOrBuilder- Returns:
- The httpOnly.
-
setHttpOnly
Whether the cookie is HTTP-only
optional bool http_only = 7 [json_name = "httpOnly"];- Parameters:
value- The httpOnly to set.- Returns:
- This builder for chaining.
-
clearHttpOnly
Whether the cookie is HTTP-only
optional bool http_only = 7 [json_name = "httpOnly"];- Returns:
- This builder for chaining.
-