Class SearchUrisResponse (2.0.11)

public final class SearchUrisResponse extends GeneratedMessageV3 implements SearchUrisResponseOrBuilder

Protobuf type google.cloud.webrisk.v1beta1.SearchUrisResponse

Static Fields

THREAT_FIELD_NUMBER

public static final int THREAT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SearchUrisResponse getDefaultInstance()
Returns
TypeDescription
SearchUrisResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SearchUrisResponse.Builder newBuilder()
Returns
TypeDescription
SearchUrisResponse.Builder

newBuilder(SearchUrisResponse prototype)

public static SearchUrisResponse.Builder newBuilder(SearchUrisResponse prototype)
Parameter
NameDescription
prototypeSearchUrisResponse
Returns
TypeDescription
SearchUrisResponse.Builder

parseDelimitedFrom(InputStream input)

public static SearchUrisResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SearchUrisResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchUrisResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchUrisResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SearchUrisResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SearchUrisResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SearchUrisResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchUrisResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SearchUrisResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SearchUrisResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SearchUrisResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchUrisResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SearchUrisResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SearchUrisResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchUrisResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchUrisResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SearchUrisResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SearchUrisResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchUrisResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchUrisResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SearchUrisResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SearchUrisResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SearchUrisResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchUrisResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SearchUrisResponse> parser()
Returns
TypeDescription
Parser<SearchUrisResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public SearchUrisResponse getDefaultInstanceForType()
Returns
TypeDescription
SearchUrisResponse

getParserForType()

public Parser<SearchUrisResponse> getParserForType()
Returns
TypeDescription
Parser<SearchUrisResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getThreat()

public SearchUrisResponse.ThreatUri getThreat()

The threat list matches. This may be empty if the URI is on no list.

.google.cloud.webrisk.v1beta1.SearchUrisResponse.ThreatUri threat = 1;

Returns
TypeDescription
SearchUrisResponse.ThreatUri

The threat.

getThreatOrBuilder()

public SearchUrisResponse.ThreatUriOrBuilder getThreatOrBuilder()

The threat list matches. This may be empty if the URI is on no list.

.google.cloud.webrisk.v1beta1.SearchUrisResponse.ThreatUri threat = 1;

Returns
TypeDescription
SearchUrisResponse.ThreatUriOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasThreat()

public boolean hasThreat()

The threat list matches. This may be empty if the URI is on no list.

.google.cloud.webrisk.v1beta1.SearchUrisResponse.ThreatUri threat = 1;

Returns
TypeDescription
boolean

Whether the threat field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SearchUrisResponse.Builder newBuilderForType()
Returns
TypeDescription
SearchUrisResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SearchUrisResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SearchUrisResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SearchUrisResponse.Builder toBuilder()
Returns
TypeDescription
SearchUrisResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException