Class OutdatedLibrary.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<OutdatedLibrary.Builder>
-
- com.google.cloud.websecurityscanner.v1.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.GeneratedMessageV3.Builder<OutdatedLibrary.Builder> implements OutdatedLibraryOrBuilder
Information reported for an outdated library.
Protobuf typegoogle.cloud.websecurityscanner.v1.OutdatedLibrary
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OutdatedLibrary.Builder
addAllLearnMoreUrls(Iterable<String> values)
URLs to learn more information about the vulnerabilities in the library.OutdatedLibrary.Builder
addLearnMoreUrls(String value)
URLs to learn more information about the vulnerabilities in the library.OutdatedLibrary.Builder
addLearnMoreUrlsBytes(com.google.protobuf.ByteString value)
URLs to learn more information about the vulnerabilities in the library.OutdatedLibrary.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
OutdatedLibrary
build()
OutdatedLibrary
buildPartial()
OutdatedLibrary.Builder
clear()
OutdatedLibrary.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
OutdatedLibrary.Builder
clearLearnMoreUrls()
URLs to learn more information about the vulnerabilities in the library.OutdatedLibrary.Builder
clearLibraryName()
The name of the outdated library.OutdatedLibrary.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
OutdatedLibrary.Builder
clearVersion()
The version number.OutdatedLibrary.Builder
clone()
OutdatedLibrary
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getLearnMoreUrls(int index)
URLs to learn more information about the vulnerabilities in the library.com.google.protobuf.ByteString
getLearnMoreUrlsBytes(int index)
URLs to learn more information about the vulnerabilities in the library.int
getLearnMoreUrlsCount()
URLs to learn more information about the vulnerabilities in the library.com.google.protobuf.ProtocolStringList
getLearnMoreUrlsList()
URLs to learn more information about the vulnerabilities in the library.String
getLibraryName()
The name of the outdated library.com.google.protobuf.ByteString
getLibraryNameBytes()
The name of the outdated library.String
getVersion()
The version number.com.google.protobuf.ByteString
getVersionBytes()
The version number.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
OutdatedLibrary.Builder
mergeFrom(OutdatedLibrary other)
OutdatedLibrary.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OutdatedLibrary.Builder
mergeFrom(com.google.protobuf.Message other)
OutdatedLibrary.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
OutdatedLibrary.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
OutdatedLibrary.Builder
setLearnMoreUrls(int index, String value)
URLs to learn more information about the vulnerabilities in the library.OutdatedLibrary.Builder
setLibraryName(String value)
The name of the outdated library.OutdatedLibrary.Builder
setLibraryNameBytes(com.google.protobuf.ByteString value)
The name of the outdated library.OutdatedLibrary.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
OutdatedLibrary.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
OutdatedLibrary.Builder
setVersion(String value)
The version number.OutdatedLibrary.Builder
setVersionBytes(com.google.protobuf.ByteString value)
The version number.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<OutdatedLibrary.Builder>
-
clear
public OutdatedLibrary.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<OutdatedLibrary.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<OutdatedLibrary.Builder>
-
getDefaultInstanceForType
public OutdatedLibrary getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public OutdatedLibrary build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public OutdatedLibrary buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public OutdatedLibrary.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<OutdatedLibrary.Builder>
-
setField
public OutdatedLibrary.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<OutdatedLibrary.Builder>
-
clearField
public OutdatedLibrary.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<OutdatedLibrary.Builder>
-
clearOneof
public OutdatedLibrary.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<OutdatedLibrary.Builder>
-
setRepeatedField
public OutdatedLibrary.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<OutdatedLibrary.Builder>
-
addRepeatedField
public OutdatedLibrary.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<OutdatedLibrary.Builder>
-
mergeFrom
public OutdatedLibrary.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<OutdatedLibrary.Builder>
-
mergeFrom
public OutdatedLibrary.Builder mergeFrom(OutdatedLibrary other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<OutdatedLibrary.Builder>
-
mergeFrom
public OutdatedLibrary.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<OutdatedLibrary.Builder>
- Throws:
IOException
-
getLibraryName
public String getLibraryName()
The name of the outdated library.
string library_name = 1;
- Specified by:
getLibraryName
in interfaceOutdatedLibraryOrBuilder
- Returns:
- The libraryName.
-
getLibraryNameBytes
public com.google.protobuf.ByteString getLibraryNameBytes()
The name of the outdated library.
string library_name = 1;
- Specified by:
getLibraryNameBytes
in interfaceOutdatedLibraryOrBuilder
- Returns:
- The bytes for libraryName.
-
setLibraryName
public OutdatedLibrary.Builder setLibraryName(String value)
The name of the outdated library.
string library_name = 1;
- Parameters:
value
- The libraryName to set.- Returns:
- This builder for chaining.
-
clearLibraryName
public OutdatedLibrary.Builder clearLibraryName()
The name of the outdated library.
string library_name = 1;
- Returns:
- This builder for chaining.
-
setLibraryNameBytes
public OutdatedLibrary.Builder setLibraryNameBytes(com.google.protobuf.ByteString value)
The name of the outdated library.
string library_name = 1;
- Parameters:
value
- The bytes for libraryName to set.- Returns:
- This builder for chaining.
-
getVersion
public String getVersion()
The version number.
string version = 2;
- Specified by:
getVersion
in interfaceOutdatedLibraryOrBuilder
- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()
The version number.
string version = 2;
- Specified by:
getVersionBytes
in interfaceOutdatedLibraryOrBuilder
- Returns:
- The bytes for version.
-
setVersion
public OutdatedLibrary.Builder setVersion(String value)
The version number.
string version = 2;
- Parameters:
value
- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
public OutdatedLibrary.Builder clearVersion()
The version number.
string version = 2;
- Returns:
- This builder for chaining.
-
setVersionBytes
public OutdatedLibrary.Builder setVersionBytes(com.google.protobuf.ByteString value)
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:
getLearnMoreUrlsList
in 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:
getLearnMoreUrlsCount
in interfaceOutdatedLibraryOrBuilder
- Returns:
- The count of learnMoreUrls.
-
getLearnMoreUrls
public String getLearnMoreUrls(int index)
URLs to learn more information about the vulnerabilities in the library.
repeated string learn_more_urls = 3;
- Specified by:
getLearnMoreUrls
in 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:
getLearnMoreUrlsBytes
in interfaceOutdatedLibraryOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the learnMoreUrls at the given index.
-
setLearnMoreUrls
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:
index
- The index to set the value at.value
- The learnMoreUrls to set.- Returns:
- This builder for chaining.
-
addLearnMoreUrls
public OutdatedLibrary.Builder addLearnMoreUrls(String value)
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
public OutdatedLibrary.Builder addAllLearnMoreUrls(Iterable<String> values)
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
public OutdatedLibrary.Builder clearLearnMoreUrls()
URLs to learn more information about the vulnerabilities in the library.
repeated string learn_more_urls = 3;
- Returns:
- This builder for chaining.
-
addLearnMoreUrlsBytes
public OutdatedLibrary.Builder addLearnMoreUrlsBytes(com.google.protobuf.ByteString value)
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.
-
setUnknownFields
public final OutdatedLibrary.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<OutdatedLibrary.Builder>
-
mergeUnknownFields
public final OutdatedLibrary.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<OutdatedLibrary.Builder>
-
-