- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.4
- 2.1.1
- 2.0.15
public static final class OutdatedLibrary.Builder extends GeneratedMessageV3.Builder<OutdatedLibrary.Builder> implements OutdatedLibraryOrBuilder
Information reported for an outdated library.
Protobuf type google.cloud.websecurityscanner.v1.OutdatedLibrary
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > OutdatedLibrary.BuilderImplements
OutdatedLibraryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllLearnMoreUrls(Iterable<String> values)
public OutdatedLibrary.Builder addAllLearnMoreUrls(Iterable<String> values)
URLs to learn more information about the vulnerabilities in the library.
repeated string learn_more_urls = 3;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The learnMoreUrls to add. |
Returns | |
---|---|
Type | Description |
OutdatedLibrary.Builder |
This builder for chaining. |
addLearnMoreUrls(String value)
public OutdatedLibrary.Builder addLearnMoreUrls(String value)
URLs to learn more information about the vulnerabilities in the library.
repeated string learn_more_urls = 3;
Parameter | |
---|---|
Name | Description |
value |
String The learnMoreUrls to add. |
Returns | |
---|---|
Type | Description |
OutdatedLibrary.Builder |
This builder for chaining. |
addLearnMoreUrlsBytes(ByteString value)
public OutdatedLibrary.Builder addLearnMoreUrlsBytes(ByteString value)
URLs to learn more information about the vulnerabilities in the library.
repeated string learn_more_urls = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the learnMoreUrls to add. |
Returns | |
---|---|
Type | Description |
OutdatedLibrary.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OutdatedLibrary.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
OutdatedLibrary.Builder |
build()
public OutdatedLibrary build()
Returns | |
---|---|
Type | Description |
OutdatedLibrary |
buildPartial()
public OutdatedLibrary buildPartial()
Returns | |
---|---|
Type | Description |
OutdatedLibrary |
clear()
public OutdatedLibrary.Builder clear()
Returns | |
---|---|
Type | Description |
OutdatedLibrary.Builder |
clearField(Descriptors.FieldDescriptor field)
public OutdatedLibrary.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
OutdatedLibrary.Builder |
clearLearnMoreUrls()
public OutdatedLibrary.Builder clearLearnMoreUrls()
URLs to learn more information about the vulnerabilities in the library.
repeated string learn_more_urls = 3;
Returns | |
---|---|
Type | Description |
OutdatedLibrary.Builder |
This builder for chaining. |
clearLibraryName()
public OutdatedLibrary.Builder clearLibraryName()
The name of the outdated library.
string library_name = 1;
Returns | |
---|---|
Type | Description |
OutdatedLibrary.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public OutdatedLibrary.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
OutdatedLibrary.Builder |
clearVersion()
public OutdatedLibrary.Builder clearVersion()
The version number.
string version = 2;
Returns | |
---|---|
Type | Description |
OutdatedLibrary.Builder |
This builder for chaining. |
clone()
public OutdatedLibrary.Builder clone()
Returns | |
---|---|
Type | Description |
OutdatedLibrary.Builder |
getDefaultInstanceForType()
public OutdatedLibrary getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
OutdatedLibrary |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getLearnMoreUrls(int index)
public String getLearnMoreUrls(int index)
URLs to learn more information about the vulnerabilities in the library.
repeated string learn_more_urls = 3;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The learnMoreUrls at the given index. |
getLearnMoreUrlsBytes(int index)
public ByteString getLearnMoreUrlsBytes(int index)
URLs to learn more information about the vulnerabilities in the library.
repeated string learn_more_urls = 3;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the learnMoreUrls at the given index. |
getLearnMoreUrlsCount()
public int getLearnMoreUrlsCount()
URLs to learn more information about the vulnerabilities in the library.
repeated string learn_more_urls = 3;
Returns | |
---|---|
Type | Description |
int |
The count of learnMoreUrls. |
getLearnMoreUrlsList()
public ProtocolStringList getLearnMoreUrlsList()
URLs to learn more information about the vulnerabilities in the library.
repeated string learn_more_urls = 3;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the learnMoreUrls. |
getLibraryName()
public String getLibraryName()
The name of the outdated library.
string library_name = 1;
Returns | |
---|---|
Type | Description |
String |
The libraryName. |
getLibraryNameBytes()
public ByteString getLibraryNameBytes()
The name of the outdated library.
string library_name = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for libraryName. |
getVersion()
public String getVersion()
The version number.
string version = 2;
Returns | |
---|---|
Type | Description |
String |
The version. |
getVersionBytes()
public ByteString getVersionBytes()
The version number.
string version = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for version. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(OutdatedLibrary other)
public OutdatedLibrary.Builder mergeFrom(OutdatedLibrary other)
Parameter | |
---|---|
Name | Description |
other |
OutdatedLibrary |
Returns | |
---|---|
Type | Description |
OutdatedLibrary.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public OutdatedLibrary.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
OutdatedLibrary.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public OutdatedLibrary.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
OutdatedLibrary.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OutdatedLibrary.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
OutdatedLibrary.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public OutdatedLibrary.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
OutdatedLibrary.Builder |
setLearnMoreUrls(int index, String value)
public OutdatedLibrary.Builder setLearnMoreUrls(int index, String value)
URLs to learn more information about the vulnerabilities in the library.
repeated string learn_more_urls = 3;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The learnMoreUrls to set. |
Returns | |
---|---|
Type | Description |
OutdatedLibrary.Builder |
This builder for chaining. |
setLibraryName(String value)
public OutdatedLibrary.Builder setLibraryName(String value)
The name of the outdated library.
string library_name = 1;
Parameter | |
---|---|
Name | Description |
value |
String The libraryName to set. |
Returns | |
---|---|
Type | Description |
OutdatedLibrary.Builder |
This builder for chaining. |
setLibraryNameBytes(ByteString value)
public OutdatedLibrary.Builder setLibraryNameBytes(ByteString value)
The name of the outdated library.
string library_name = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for libraryName to set. |
Returns | |
---|---|
Type | Description |
OutdatedLibrary.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OutdatedLibrary.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
OutdatedLibrary.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final OutdatedLibrary.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
OutdatedLibrary.Builder |
setVersion(String value)
public OutdatedLibrary.Builder setVersion(String value)
The version number.
string version = 2;
Parameter | |
---|---|
Name | Description |
value |
String The version to set. |
Returns | |
---|---|
Type | Description |
OutdatedLibrary.Builder |
This builder for chaining. |
setVersionBytes(ByteString value)
public OutdatedLibrary.Builder setVersionBytes(ByteString value)
The version number.
string version = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for version to set. |
Returns | |
---|---|
Type | Description |
OutdatedLibrary.Builder |
This builder for chaining. |