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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchUrisResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SearchUrisResponse build()
Returns
buildPartial()
public SearchUrisResponse buildPartial()
Returns
clear()
public SearchUrisResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public SearchUrisResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchUrisResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearThreat()
public SearchUrisResponse.Builder clearThreat()
The threat list matches. This may be empty if the URI is on no list.
.google.cloud.webrisk.v1.SearchUrisResponse.ThreatUri threat = 1;
Returns
clone()
public SearchUrisResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SearchUrisResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getThreat()
public SearchUrisResponse.ThreatUri getThreat()
The threat list matches. This may be empty if the URI is on no list.
.google.cloud.webrisk.v1.SearchUrisResponse.ThreatUri threat = 1;
Returns
getThreatBuilder()
public SearchUrisResponse.ThreatUri.Builder getThreatBuilder()
The threat list matches. This may be empty if the URI is on no list.
.google.cloud.webrisk.v1.SearchUrisResponse.ThreatUri threat = 1;
Returns
getThreatOrBuilder()
public SearchUrisResponse.ThreatUriOrBuilder getThreatOrBuilder()
The threat list matches. This may be empty if the URI is on no list.
.google.cloud.webrisk.v1.SearchUrisResponse.ThreatUri threat = 1;
Returns
hasThreat()
public boolean hasThreat()
The threat list matches. This may 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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public SearchUrisResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SearchUrisResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(SearchUrisResponse other)
public SearchUrisResponse.Builder mergeFrom(SearchUrisResponse other)
Parameter
Returns
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.v1.SearchUrisResponse.ThreatUri threat = 1;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchUrisResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SearchUrisResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchUrisResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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.v1.SearchUrisResponse.ThreatUri threat = 1;
Parameter
Returns
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.v1.SearchUrisResponse.ThreatUri threat = 1;
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchUrisResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides