Class SearchUrisResponse.Builder (2.53.0)

public static final class SearchUrisResponse.Builder extends GeneratedMessageV3.Builder<SearchUrisResponse.Builder> implements SearchUrisResponseOrBuilder

Protobuf type google.cloud.webrisk.v1.SearchUrisResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SearchUrisResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchUrisResponse.Builder
Overrides

build()

public SearchUrisResponse build()
Returns
Type Description
SearchUrisResponse

buildPartial()

public SearchUrisResponse buildPartial()
Returns
Type Description
SearchUrisResponse

clear()

public SearchUrisResponse.Builder clear()
Returns
Type Description
SearchUrisResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SearchUrisResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SearchUrisResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchUrisResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SearchUrisResponse.Builder
Overrides

clearThreat()

public SearchUrisResponse.Builder clearThreat()

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

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

Returns
Type Description
SearchUrisResponse.Builder

clone()

public SearchUrisResponse.Builder clone()
Returns
Type Description
SearchUrisResponse.Builder
Overrides

getDefaultInstanceForType()

public SearchUrisResponse getDefaultInstanceForType()
Returns
Type Description
SearchUrisResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getThreat()

public SearchUrisResponse.ThreatUri getThreat()

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

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

Returns
Type Description
SearchUrisResponse.ThreatUri

The threat.

getThreatBuilder()

public SearchUrisResponse.ThreatUri.Builder getThreatBuilder()

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

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

Returns
Type Description
SearchUrisResponse.ThreatUri.Builder

getThreatOrBuilder()

public SearchUrisResponse.ThreatUriOrBuilder getThreatOrBuilder()

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

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

Returns
Type Description
SearchUrisResponse.ThreatUriOrBuilder

hasThreat()

public boolean hasThreat()

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

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

Returns
Type Description
boolean

Whether the threat field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SearchUrisResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchUrisResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SearchUrisResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SearchUrisResponse.Builder
Overrides

mergeFrom(SearchUrisResponse other)

public SearchUrisResponse.Builder mergeFrom(SearchUrisResponse other)
Parameter
Name Description
other SearchUrisResponse
Returns
Type Description
SearchUrisResponse.Builder

mergeThreat(SearchUrisResponse.ThreatUri value)

public SearchUrisResponse.Builder mergeThreat(SearchUrisResponse.ThreatUri value)

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

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

Parameter
Name Description
value SearchUrisResponse.ThreatUri
Returns
Type Description
SearchUrisResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchUrisResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SearchUrisResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SearchUrisResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchUrisResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SearchUrisResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SearchUrisResponse.Builder
Overrides

setThreat(SearchUrisResponse.ThreatUri value)

public SearchUrisResponse.Builder setThreat(SearchUrisResponse.ThreatUri value)

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

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

Parameter
Name Description
value SearchUrisResponse.ThreatUri
Returns
Type Description
SearchUrisResponse.Builder

setThreat(SearchUrisResponse.ThreatUri.Builder builderForValue)

public SearchUrisResponse.Builder setThreat(SearchUrisResponse.ThreatUri.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue SearchUrisResponse.ThreatUri.Builder
Returns
Type Description
SearchUrisResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final SearchUrisResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SearchUrisResponse.Builder
Overrides