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
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<OutdatedLibrary.Builder>
public OutdatedLibrary.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<OutdatedLibrary.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<OutdatedLibrary.Builder>
public OutdatedLibrary getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public OutdatedLibrary build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public OutdatedLibrary buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public OutdatedLibrary.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<OutdatedLibrary.Builder>
public OutdatedLibrary.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<OutdatedLibrary.Builder>
public OutdatedLibrary.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<OutdatedLibrary.Builder>
public OutdatedLibrary.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<OutdatedLibrary.Builder>
public OutdatedLibrary.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<OutdatedLibrary.Builder>
public OutdatedLibrary.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<OutdatedLibrary.Builder>
public OutdatedLibrary.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<OutdatedLibrary.Builder>
public OutdatedLibrary.Builder mergeFrom(OutdatedLibrary other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<OutdatedLibrary.Builder>
public OutdatedLibrary.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<OutdatedLibrary.Builder>
IOException
public String getLibraryName()
The name of the outdated library.
string library_name = 1;
getLibraryName
in interface OutdatedLibraryOrBuilder
public ByteString getLibraryNameBytes()
The name of the outdated library.
string library_name = 1;
getLibraryNameBytes
in interface OutdatedLibraryOrBuilder
public OutdatedLibrary.Builder setLibraryName(String value)
The name of the outdated library.
string library_name = 1;
value
- The libraryName to set.public OutdatedLibrary.Builder clearLibraryName()
The name of the outdated library.
string library_name = 1;
public OutdatedLibrary.Builder setLibraryNameBytes(ByteString value)
The name of the outdated library.
string library_name = 1;
value
- The bytes for libraryName to set.public String getVersion()
The version number.
string version = 2;
getVersion
in interface OutdatedLibraryOrBuilder
public ByteString getVersionBytes()
The version number.
string version = 2;
getVersionBytes
in interface OutdatedLibraryOrBuilder
public OutdatedLibrary.Builder setVersion(String value)
The version number.
string version = 2;
value
- The version to set.public OutdatedLibrary.Builder clearVersion()
The version number.
string version = 2;
public OutdatedLibrary.Builder setVersionBytes(ByteString value)
The version number.
string version = 2;
value
- The bytes for version to set.public ProtocolStringList getLearnMoreUrlsList()
URLs to learn more information about the vulnerabilities in the library.
repeated string learn_more_urls = 3;
getLearnMoreUrlsList
in interface OutdatedLibraryOrBuilder
public int getLearnMoreUrlsCount()
URLs to learn more information about the vulnerabilities in the library.
repeated string learn_more_urls = 3;
getLearnMoreUrlsCount
in interface OutdatedLibraryOrBuilder
public String getLearnMoreUrls(int index)
URLs to learn more information about the vulnerabilities in the library.
repeated string learn_more_urls = 3;
getLearnMoreUrls
in interface OutdatedLibraryOrBuilder
index
- The index of the element to return.public ByteString getLearnMoreUrlsBytes(int index)
URLs to learn more information about the vulnerabilities in the library.
repeated string learn_more_urls = 3;
getLearnMoreUrlsBytes
in interface OutdatedLibraryOrBuilder
index
- The index of the value to return.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;
index
- The index to set the value at.value
- The learnMoreUrls to set.public OutdatedLibrary.Builder addLearnMoreUrls(String value)
URLs to learn more information about the vulnerabilities in the library.
repeated string learn_more_urls = 3;
value
- The learnMoreUrls to add.public OutdatedLibrary.Builder addAllLearnMoreUrls(Iterable<String> values)
URLs to learn more information about the vulnerabilities in the library.
repeated string learn_more_urls = 3;
values
- The learnMoreUrls to add.public OutdatedLibrary.Builder clearLearnMoreUrls()
URLs to learn more information about the vulnerabilities in the library.
repeated string learn_more_urls = 3;
public OutdatedLibrary.Builder addLearnMoreUrlsBytes(ByteString value)
URLs to learn more information about the vulnerabilities in the library.
repeated string learn_more_urls = 3;
value
- The bytes of the learnMoreUrls to add.public final OutdatedLibrary.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<OutdatedLibrary.Builder>
public final OutdatedLibrary.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<OutdatedLibrary.Builder>
Copyright © 2022 Google LLC. All rights reserved.