public static final class Urlfrontier.URLInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.URLInfo.Builder> implements Urlfrontier.URLInfoOrBuilder
urlfrontier.URLInfo| Modifier and Type | Method and Description |
|---|---|
Urlfrontier.URLInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Urlfrontier.URLInfo |
build() |
Urlfrontier.URLInfo |
buildPartial() |
Urlfrontier.URLInfo.Builder |
clear() |
Urlfrontier.URLInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Urlfrontier.URLInfo.Builder |
clearKey()
The key is used to put the URLs into queues, the value can be anything set by the client but would typically be the hostname,
domain name or IP or the URL.
|
Urlfrontier.URLInfo.Builder |
clearMetadata() |
Urlfrontier.URLInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Urlfrontier.URLInfo.Builder |
clearUrl()
URL *
|
Urlfrontier.URLInfo.Builder |
clone() |
boolean |
containsMetadata(java.lang.String key)
Arbitrary key / values stored alongside the URL.
|
Urlfrontier.URLInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getKey()
The key is used to put the URLs into queues, the value can be anything set by the client but would typically be the hostname,
domain name or IP or the URL.
|
com.google.protobuf.ByteString |
getKeyBytes()
The key is used to put the URLs into queues, the value can be anything set by the client but would typically be the hostname,
domain name or IP or the URL.
|
java.util.Map<java.lang.String,Urlfrontier.StringList> |
getMetadata()
Deprecated.
|
int |
getMetadataCount()
Arbitrary key / values stored alongside the URL.
|
java.util.Map<java.lang.String,Urlfrontier.StringList> |
getMetadataMap()
Arbitrary key / values stored alongside the URL.
|
Urlfrontier.StringList |
getMetadataOrDefault(java.lang.String key,
Urlfrontier.StringList defaultValue)
Arbitrary key / values stored alongside the URL.
|
Urlfrontier.StringList |
getMetadataOrThrow(java.lang.String key)
Arbitrary key / values stored alongside the URL.
|
java.util.Map<java.lang.String,Urlfrontier.StringList> |
getMutableMetadata()
Deprecated.
|
java.lang.String |
getUrl()
URL *
|
com.google.protobuf.ByteString |
getUrlBytes()
URL *
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
Urlfrontier.URLInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Urlfrontier.URLInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
Urlfrontier.URLInfo.Builder |
mergeFrom(Urlfrontier.URLInfo other) |
Urlfrontier.URLInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Urlfrontier.URLInfo.Builder |
putAllMetadata(java.util.Map<java.lang.String,Urlfrontier.StringList> values)
Arbitrary key / values stored alongside the URL.
|
Urlfrontier.URLInfo.Builder |
putMetadata(java.lang.String key,
Urlfrontier.StringList value)
Arbitrary key / values stored alongside the URL.
|
Urlfrontier.URLInfo.Builder |
removeMetadata(java.lang.String key)
Arbitrary key / values stored alongside the URL.
|
Urlfrontier.URLInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Urlfrontier.URLInfo.Builder |
setKey(java.lang.String value)
The key is used to put the URLs into queues, the value can be anything set by the client but would typically be the hostname,
domain name or IP or the URL.
|
Urlfrontier.URLInfo.Builder |
setKeyBytes(com.google.protobuf.ByteString value)
The key is used to put the URLs into queues, the value can be anything set by the client but would typically be the hostname,
domain name or IP or the URL.
|
Urlfrontier.URLInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Urlfrontier.URLInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Urlfrontier.URLInfo.Builder |
setUrl(java.lang.String value)
URL *
|
Urlfrontier.URLInfo.Builder |
setUrlBytes(com.google.protobuf.ByteString value)
URL *
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.URLInfo.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.URLInfo.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.URLInfo.Builder>public Urlfrontier.URLInfo.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.URLInfo.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.URLInfo.Builder>public Urlfrontier.URLInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Urlfrontier.URLInfo build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Urlfrontier.URLInfo buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Urlfrontier.URLInfo.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.URLInfo.Builder>public Urlfrontier.URLInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.URLInfo.Builder>public Urlfrontier.URLInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.URLInfo.Builder>public Urlfrontier.URLInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.URLInfo.Builder>public Urlfrontier.URLInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.URLInfo.Builder>public Urlfrontier.URLInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.URLInfo.Builder>public Urlfrontier.URLInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Urlfrontier.URLInfo.Builder>public Urlfrontier.URLInfo.Builder mergeFrom(Urlfrontier.URLInfo other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.URLInfo.Builder>public Urlfrontier.URLInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Urlfrontier.URLInfo.Builder>java.io.IOExceptionpublic java.lang.String getUrl()
URL *
string url = 1;getUrl in interface Urlfrontier.URLInfoOrBuilderpublic com.google.protobuf.ByteString getUrlBytes()
URL *
string url = 1;getUrlBytes in interface Urlfrontier.URLInfoOrBuilderpublic Urlfrontier.URLInfo.Builder setUrl(java.lang.String value)
URL *
string url = 1;value - The url to set.public Urlfrontier.URLInfo.Builder clearUrl()
URL *
string url = 1;public Urlfrontier.URLInfo.Builder setUrlBytes(com.google.protobuf.ByteString value)
URL *
string url = 1;value - The bytes for url to set.public java.lang.String getKey()
The key is used to put the URLs into queues, the value can be anything set by the client but would typically be the hostname, domain name or IP or the URL. If not set, the service will use a sensible default like hostname.
string key = 2;getKey in interface Urlfrontier.URLInfoOrBuilderpublic com.google.protobuf.ByteString getKeyBytes()
The key is used to put the URLs into queues, the value can be anything set by the client but would typically be the hostname, domain name or IP or the URL. If not set, the service will use a sensible default like hostname.
string key = 2;getKeyBytes in interface Urlfrontier.URLInfoOrBuilderpublic Urlfrontier.URLInfo.Builder setKey(java.lang.String value)
The key is used to put the URLs into queues, the value can be anything set by the client but would typically be the hostname, domain name or IP or the URL. If not set, the service will use a sensible default like hostname.
string key = 2;value - The key to set.public Urlfrontier.URLInfo.Builder clearKey()
The key is used to put the URLs into queues, the value can be anything set by the client but would typically be the hostname, domain name or IP or the URL. If not set, the service will use a sensible default like hostname.
string key = 2;public Urlfrontier.URLInfo.Builder setKeyBytes(com.google.protobuf.ByteString value)
The key is used to put the URLs into queues, the value can be anything set by the client but would typically be the hostname, domain name or IP or the URL. If not set, the service will use a sensible default like hostname.
string key = 2;value - The bytes for key to set.public int getMetadataCount()
Urlfrontier.URLInfoOrBuilderArbitrary key / values stored alongside the URL. Can be anything needed by the crawler like http status, source URL etc...
map<string, .urlfrontier.StringList> metadata = 3;getMetadataCount in interface Urlfrontier.URLInfoOrBuilderpublic boolean containsMetadata(java.lang.String key)
Arbitrary key / values stored alongside the URL. Can be anything needed by the crawler like http status, source URL etc...
map<string, .urlfrontier.StringList> metadata = 3;containsMetadata in interface Urlfrontier.URLInfoOrBuilder@Deprecated public java.util.Map<java.lang.String,Urlfrontier.StringList> getMetadata()
getMetadataMap() instead.getMetadata in interface Urlfrontier.URLInfoOrBuilderpublic java.util.Map<java.lang.String,Urlfrontier.StringList> getMetadataMap()
Arbitrary key / values stored alongside the URL. Can be anything needed by the crawler like http status, source URL etc...
map<string, .urlfrontier.StringList> metadata = 3;getMetadataMap in interface Urlfrontier.URLInfoOrBuilderpublic Urlfrontier.StringList getMetadataOrDefault(java.lang.String key, Urlfrontier.StringList defaultValue)
Arbitrary key / values stored alongside the URL. Can be anything needed by the crawler like http status, source URL etc...
map<string, .urlfrontier.StringList> metadata = 3;getMetadataOrDefault in interface Urlfrontier.URLInfoOrBuilderpublic Urlfrontier.StringList getMetadataOrThrow(java.lang.String key)
Arbitrary key / values stored alongside the URL. Can be anything needed by the crawler like http status, source URL etc...
map<string, .urlfrontier.StringList> metadata = 3;getMetadataOrThrow in interface Urlfrontier.URLInfoOrBuilderpublic Urlfrontier.URLInfo.Builder clearMetadata()
public Urlfrontier.URLInfo.Builder removeMetadata(java.lang.String key)
Arbitrary key / values stored alongside the URL. Can be anything needed by the crawler like http status, source URL etc...
map<string, .urlfrontier.StringList> metadata = 3;@Deprecated public java.util.Map<java.lang.String,Urlfrontier.StringList> getMutableMetadata()
public Urlfrontier.URLInfo.Builder putMetadata(java.lang.String key, Urlfrontier.StringList value)
Arbitrary key / values stored alongside the URL. Can be anything needed by the crawler like http status, source URL etc...
map<string, .urlfrontier.StringList> metadata = 3;public Urlfrontier.URLInfo.Builder putAllMetadata(java.util.Map<java.lang.String,Urlfrontier.StringList> values)
Arbitrary key / values stored alongside the URL. Can be anything needed by the crawler like http status, source URL etc...
map<string, .urlfrontier.StringList> metadata = 3;public final Urlfrontier.URLInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.URLInfo.Builder>public final Urlfrontier.URLInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Urlfrontier.URLInfo.Builder>Copyright © 2020-2021 Crawler-Commons. All Rights Reserved.