Class SearchUrisResponse.Builder (2.15.0)

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

Protobuf type google.cloud.webrisk.v1beta1.SearchUrisResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SearchUrisResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SearchUrisResponse.Builder
Overrides

build()

public SearchUrisResponse build()
Returns
TypeDescription
SearchUrisResponse

buildPartial()

public SearchUrisResponse buildPartial()
Returns
TypeDescription
SearchUrisResponse

clear()

public SearchUrisResponse.Builder clear()
Returns
TypeDescription
SearchUrisResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SearchUrisResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SearchUrisResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchUrisResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SearchUrisResponse.Builder
Overrides

clearThreat()

public SearchUrisResponse.Builder clearThreat()

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.Builder

clone()

public SearchUrisResponse.Builder clone()
Returns
TypeDescription
SearchUrisResponse.Builder
Overrides

getDefaultInstanceForType()

public SearchUrisResponse getDefaultInstanceForType()
Returns
TypeDescription
SearchUrisResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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.

getThreatBuilder()

public SearchUrisResponse.ThreatUri.Builder getThreatBuilder()

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.Builder

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SearchUrisResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchUrisResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SearchUrisResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SearchUrisResponse.Builder
Overrides

mergeFrom(SearchUrisResponse other)

public SearchUrisResponse.Builder mergeFrom(SearchUrisResponse other)
Parameter
NameDescription
otherSearchUrisResponse
Returns
TypeDescription
SearchUrisResponse.Builder

mergeThreat(SearchUrisResponse.ThreatUri value)

public SearchUrisResponse.Builder mergeThreat(SearchUrisResponse.ThreatUri value)

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

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

Parameter
NameDescription
valueSearchUrisResponse.ThreatUri
Returns
TypeDescription
SearchUrisResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchUrisResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SearchUrisResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SearchUrisResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SearchUrisResponse.Builder
Overrides

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

public SearchUrisResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SearchUrisResponse.Builder
Overrides

setThreat(SearchUrisResponse.ThreatUri value)

public SearchUrisResponse.Builder setThreat(SearchUrisResponse.ThreatUri value)

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

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

Parameter
NameDescription
valueSearchUrisResponse.ThreatUri
Returns
TypeDescription
SearchUrisResponse.Builder

setThreat(SearchUrisResponse.ThreatUri.Builder builderForValue)

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

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

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

Parameter
NameDescription
builderForValueSearchUrisResponse.ThreatUri.Builder
Returns
TypeDescription
SearchUrisResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final SearchUrisResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SearchUrisResponse.Builder
Overrides