Class OutdatedLibrary.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<OutdatedLibrary.Builder>
com.google.cloud.websecurityscanner.v1beta.OutdatedLibrary.Builder
- All Implemented Interfaces:
OutdatedLibraryOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- OutdatedLibrary
public static final class OutdatedLibrary.Builder
extends com.google.protobuf.GeneratedMessage.Builder<OutdatedLibrary.Builder>
implements OutdatedLibraryOrBuilder
Information reported for an outdated library.Protobuf type
google.cloud.websecurityscanner.v1beta.OutdatedLibrary-
Method Summary
Modifier and TypeMethodDescriptionaddAllLearnMoreUrls(Iterable<String> values) URLs to learn more information about the vulnerabilities in the library.addLearnMoreUrls(String value) URLs to learn more information about the vulnerabilities in the library.addLearnMoreUrlsBytes(com.google.protobuf.ByteString value) URLs to learn more information about the vulnerabilities in the library.build()clear()URLs to learn more information about the vulnerabilities in the library.The name of the outdated library.The version number.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetLearnMoreUrls(int index) URLs to learn more information about the vulnerabilities in the library.com.google.protobuf.ByteStringgetLearnMoreUrlsBytes(int index) URLs to learn more information about the vulnerabilities in the library.intURLs to learn more information about the vulnerabilities in the library.com.google.protobuf.ProtocolStringListURLs to learn more information about the vulnerabilities in the library.The name of the outdated library.com.google.protobuf.ByteStringThe name of the outdated library.The version number.com.google.protobuf.ByteStringThe version number.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(OutdatedLibrary other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setLearnMoreUrls(int index, String value) URLs to learn more information about the vulnerabilities in the library.setLibraryName(String value) The name of the outdated library.setLibraryNameBytes(com.google.protobuf.ByteString value) The name of the outdated library.setVersion(String value) The version number.setVersionBytes(com.google.protobuf.ByteString value) The version number.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<OutdatedLibrary.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<OutdatedLibrary.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<OutdatedLibrary.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OutdatedLibrary.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<OutdatedLibrary.Builder>
-
mergeFrom
public OutdatedLibrary.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OutdatedLibrary.Builder>- Throws:
IOException
-
getLibraryName
The name of the outdated library.
string library_name = 1;- Specified by:
getLibraryNamein interfaceOutdatedLibraryOrBuilder- Returns:
- The libraryName.
-
getLibraryNameBytes
public com.google.protobuf.ByteString getLibraryNameBytes()The name of the outdated library.
string library_name = 1;- Specified by:
getLibraryNameBytesin interfaceOutdatedLibraryOrBuilder- Returns:
- The bytes for libraryName.
-
setLibraryName
The name of the outdated library.
string library_name = 1;- Parameters:
value- The libraryName to set.- Returns:
- This builder for chaining.
-
clearLibraryName
The name of the outdated library.
string library_name = 1;- Returns:
- This builder for chaining.
-
setLibraryNameBytes
The name of the outdated library.
string library_name = 1;- Parameters:
value- The bytes for libraryName to set.- Returns:
- This builder for chaining.
-
getVersion
The version number.
string version = 2;- Specified by:
getVersionin interfaceOutdatedLibraryOrBuilder- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()The version number.
string version = 2;- Specified by:
getVersionBytesin interfaceOutdatedLibraryOrBuilder- Returns:
- The bytes for version.
-
setVersion
The version number.
string version = 2;- Parameters:
value- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
The version number.
string version = 2;- Returns:
- This builder for chaining.
-
setVersionBytes
The version number.
string version = 2;- Parameters:
value- The bytes for version to set.- Returns:
- This builder for chaining.
-
getLearnMoreUrlsList
public com.google.protobuf.ProtocolStringList getLearnMoreUrlsList()URLs to learn more information about the vulnerabilities in the library.
repeated string learn_more_urls = 3;- Specified by:
getLearnMoreUrlsListin interfaceOutdatedLibraryOrBuilder- Returns:
- A list containing the learnMoreUrls.
-
getLearnMoreUrlsCount
public int getLearnMoreUrlsCount()URLs to learn more information about the vulnerabilities in the library.
repeated string learn_more_urls = 3;- Specified by:
getLearnMoreUrlsCountin interfaceOutdatedLibraryOrBuilder- Returns:
- The count of learnMoreUrls.
-
getLearnMoreUrls
URLs to learn more information about the vulnerabilities in the library.
repeated string learn_more_urls = 3;- Specified by:
getLearnMoreUrlsin interfaceOutdatedLibraryOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The learnMoreUrls at the given index.
-
getLearnMoreUrlsBytes
public com.google.protobuf.ByteString getLearnMoreUrlsBytes(int index) URLs to learn more information about the vulnerabilities in the library.
repeated string learn_more_urls = 3;- Specified by:
getLearnMoreUrlsBytesin interfaceOutdatedLibraryOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the learnMoreUrls at the given index.
-
setLearnMoreUrls
URLs to learn more information about the vulnerabilities in the library.
repeated string learn_more_urls = 3;- Parameters:
index- The index to set the value at.value- The learnMoreUrls to set.- Returns:
- This builder for chaining.
-
addLearnMoreUrls
URLs to learn more information about the vulnerabilities in the library.
repeated string learn_more_urls = 3;- Parameters:
value- The learnMoreUrls to add.- Returns:
- This builder for chaining.
-
addAllLearnMoreUrls
URLs to learn more information about the vulnerabilities in the library.
repeated string learn_more_urls = 3;- Parameters:
values- The learnMoreUrls to add.- Returns:
- This builder for chaining.
-
clearLearnMoreUrls
URLs to learn more information about the vulnerabilities in the library.
repeated string learn_more_urls = 3;- Returns:
- This builder for chaining.
-
addLearnMoreUrlsBytes
URLs to learn more information about the vulnerabilities in the library.
repeated string learn_more_urls = 3;- Parameters:
value- The bytes of the learnMoreUrls to add.- Returns:
- This builder for chaining.
-