public static final class SearchUrisResponse.Builder extends GeneratedMessageV3.Builder<SearchUrisResponse.Builder> implements SearchUrisResponseOrBuilder
Protobuf type google.cloud.webrisk.v1beta1.SearchUrisResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchUrisResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SearchUrisResponse build()
buildPartial()
public SearchUrisResponse buildPartial()
clear()
public SearchUrisResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SearchUrisResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchUrisResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public SearchUrisResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public SearchUrisResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
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;
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 |
---|
Type | Description |
boolean | Whether the threat field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public SearchUrisResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SearchUrisResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeFrom(SearchUrisResponse other)
public SearchUrisResponse.Builder mergeFrom(SearchUrisResponse other)
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchUrisResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SearchUrisResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchUrisResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchUrisResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides