Package io.grafeas.v1beta1.vulnerability
Class Vulnerability.WindowsDetail.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Vulnerability.WindowsDetail.Builder>
io.grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Vulnerability.WindowsDetailOrBuilder,Cloneable
- Enclosing class:
- Vulnerability.WindowsDetail
public static final class Vulnerability.WindowsDetail.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Vulnerability.WindowsDetail.Builder>
implements Vulnerability.WindowsDetailOrBuilder
Protobuf type
grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail-
Method Summary
Modifier and TypeMethodDescriptionaddAllFixingKbs(Iterable<? extends Vulnerability.WindowsDetail.KnowledgeBase> values) Required.addFixingKbs(int index, Vulnerability.WindowsDetail.KnowledgeBase value) Required.addFixingKbs(int index, Vulnerability.WindowsDetail.KnowledgeBase.Builder builderForValue) Required.Required.addFixingKbs(Vulnerability.WindowsDetail.KnowledgeBase.Builder builderForValue) Required.Required.addFixingKbsBuilder(int index) Required.build()clear()Required.The description of the vulnerability.Required.Required.Required.com.google.protobuf.ByteStringRequired.The description of the vulnerability.com.google.protobuf.ByteStringThe description of the vulnerability.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetFixingKbs(int index) Required.getFixingKbsBuilder(int index) Required.Required.intRequired.Required.getFixingKbsOrBuilder(int index) Required.Required.getName()Required.com.google.protobuf.ByteStringRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeFixingKbs(int index) Required.Required.setCpeUriBytes(com.google.protobuf.ByteString value) Required.setDescription(String value) The description of the vulnerability.setDescriptionBytes(com.google.protobuf.ByteString value) The description of the vulnerability.setFixingKbs(int index, Vulnerability.WindowsDetail.KnowledgeBase value) Required.setFixingKbs(int index, Vulnerability.WindowsDetail.KnowledgeBase.Builder builderForValue) Required.Required.setNameBytes(com.google.protobuf.ByteString value) Required.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<Vulnerability.WindowsDetail.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<Vulnerability.WindowsDetail.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<Vulnerability.WindowsDetail.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<Vulnerability.WindowsDetail.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Vulnerability.WindowsDetail.Builder>
-
mergeFrom
public Vulnerability.WindowsDetail.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<Vulnerability.WindowsDetail.Builder>- Throws:
IOException
-
getCpeUri
Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/) in which the vulnerability manifests. Examples include distro or storage location for vulnerable jar.
string cpe_uri = 1;- Specified by:
getCpeUriin interfaceVulnerability.WindowsDetailOrBuilder- Returns:
- The cpeUri.
-
getCpeUriBytes
public com.google.protobuf.ByteString getCpeUriBytes()Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/) in which the vulnerability manifests. Examples include distro or storage location for vulnerable jar.
string cpe_uri = 1;- Specified by:
getCpeUriBytesin interfaceVulnerability.WindowsDetailOrBuilder- Returns:
- The bytes for cpeUri.
-
setCpeUri
Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/) in which the vulnerability manifests. Examples include distro or storage location for vulnerable jar.
string cpe_uri = 1;- Parameters:
value- The cpeUri to set.- Returns:
- This builder for chaining.
-
clearCpeUri
Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/) in which the vulnerability manifests. Examples include distro or storage location for vulnerable jar.
string cpe_uri = 1;- Returns:
- This builder for chaining.
-
setCpeUriBytes
Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/) in which the vulnerability manifests. Examples include distro or storage location for vulnerable jar.
string cpe_uri = 1;- Parameters:
value- The bytes for cpeUri to set.- Returns:
- This builder for chaining.
-
getName
Required. The name of the vulnerability.
string name = 2;- Specified by:
getNamein interfaceVulnerability.WindowsDetailOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Required. The name of the vulnerability.
string name = 2;- Specified by:
getNameBytesin interfaceVulnerability.WindowsDetailOrBuilder- Returns:
- The bytes for name.
-
setName
Required. The name of the vulnerability.
string name = 2;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Required. The name of the vulnerability.
string name = 2;- Returns:
- This builder for chaining.
-
setNameBytes
Required. The name of the vulnerability.
string name = 2;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDescription
The description of the vulnerability.
string description = 3;- Specified by:
getDescriptionin interfaceVulnerability.WindowsDetailOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()The description of the vulnerability.
string description = 3;- Specified by:
getDescriptionBytesin interfaceVulnerability.WindowsDetailOrBuilder- Returns:
- The bytes for description.
-
setDescription
The description of the vulnerability.
string description = 3;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
The description of the vulnerability.
string description = 3;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Vulnerability.WindowsDetail.Builder setDescriptionBytes(com.google.protobuf.ByteString value) The description of the vulnerability.
string description = 3;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getFixingKbsList
Required. The names of the KBs which have hotfixes to mitigate this vulnerability. Note that there may be multiple hotfixes (and thus multiple KBs) that mitigate a given vulnerability. Currently any listed kb's presence is considered a fix.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4;- Specified by:
getFixingKbsListin interfaceVulnerability.WindowsDetailOrBuilder
-
getFixingKbsCount
public int getFixingKbsCount()Required. The names of the KBs which have hotfixes to mitigate this vulnerability. Note that there may be multiple hotfixes (and thus multiple KBs) that mitigate a given vulnerability. Currently any listed kb's presence is considered a fix.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4;- Specified by:
getFixingKbsCountin interfaceVulnerability.WindowsDetailOrBuilder
-
getFixingKbs
Required. The names of the KBs which have hotfixes to mitigate this vulnerability. Note that there may be multiple hotfixes (and thus multiple KBs) that mitigate a given vulnerability. Currently any listed kb's presence is considered a fix.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4;- Specified by:
getFixingKbsin interfaceVulnerability.WindowsDetailOrBuilder
-
setFixingKbs
public Vulnerability.WindowsDetail.Builder setFixingKbs(int index, Vulnerability.WindowsDetail.KnowledgeBase value) Required. The names of the KBs which have hotfixes to mitigate this vulnerability. Note that there may be multiple hotfixes (and thus multiple KBs) that mitigate a given vulnerability. Currently any listed kb's presence is considered a fix.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4; -
setFixingKbs
public Vulnerability.WindowsDetail.Builder setFixingKbs(int index, Vulnerability.WindowsDetail.KnowledgeBase.Builder builderForValue) Required. The names of the KBs which have hotfixes to mitigate this vulnerability. Note that there may be multiple hotfixes (and thus multiple KBs) that mitigate a given vulnerability. Currently any listed kb's presence is considered a fix.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4; -
addFixingKbs
public Vulnerability.WindowsDetail.Builder addFixingKbs(Vulnerability.WindowsDetail.KnowledgeBase value) Required. The names of the KBs which have hotfixes to mitigate this vulnerability. Note that there may be multiple hotfixes (and thus multiple KBs) that mitigate a given vulnerability. Currently any listed kb's presence is considered a fix.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4; -
addFixingKbs
public Vulnerability.WindowsDetail.Builder addFixingKbs(int index, Vulnerability.WindowsDetail.KnowledgeBase value) Required. The names of the KBs which have hotfixes to mitigate this vulnerability. Note that there may be multiple hotfixes (and thus multiple KBs) that mitigate a given vulnerability. Currently any listed kb's presence is considered a fix.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4; -
addFixingKbs
public Vulnerability.WindowsDetail.Builder addFixingKbs(Vulnerability.WindowsDetail.KnowledgeBase.Builder builderForValue) Required. The names of the KBs which have hotfixes to mitigate this vulnerability. Note that there may be multiple hotfixes (and thus multiple KBs) that mitigate a given vulnerability. Currently any listed kb's presence is considered a fix.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4; -
addFixingKbs
public Vulnerability.WindowsDetail.Builder addFixingKbs(int index, Vulnerability.WindowsDetail.KnowledgeBase.Builder builderForValue) Required. The names of the KBs which have hotfixes to mitigate this vulnerability. Note that there may be multiple hotfixes (and thus multiple KBs) that mitigate a given vulnerability. Currently any listed kb's presence is considered a fix.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4; -
addAllFixingKbs
public Vulnerability.WindowsDetail.Builder addAllFixingKbs(Iterable<? extends Vulnerability.WindowsDetail.KnowledgeBase> values) Required. The names of the KBs which have hotfixes to mitigate this vulnerability. Note that there may be multiple hotfixes (and thus multiple KBs) that mitigate a given vulnerability. Currently any listed kb's presence is considered a fix.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4; -
clearFixingKbs
Required. The names of the KBs which have hotfixes to mitigate this vulnerability. Note that there may be multiple hotfixes (and thus multiple KBs) that mitigate a given vulnerability. Currently any listed kb's presence is considered a fix.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4; -
removeFixingKbs
Required. The names of the KBs which have hotfixes to mitigate this vulnerability. Note that there may be multiple hotfixes (and thus multiple KBs) that mitigate a given vulnerability. Currently any listed kb's presence is considered a fix.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4; -
getFixingKbsBuilder
Required. The names of the KBs which have hotfixes to mitigate this vulnerability. Note that there may be multiple hotfixes (and thus multiple KBs) that mitigate a given vulnerability. Currently any listed kb's presence is considered a fix.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4; -
getFixingKbsOrBuilder
Required. The names of the KBs which have hotfixes to mitigate this vulnerability. Note that there may be multiple hotfixes (and thus multiple KBs) that mitigate a given vulnerability. Currently any listed kb's presence is considered a fix.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4;- Specified by:
getFixingKbsOrBuilderin interfaceVulnerability.WindowsDetailOrBuilder
-
getFixingKbsOrBuilderList
public List<? extends Vulnerability.WindowsDetail.KnowledgeBaseOrBuilder> getFixingKbsOrBuilderList()Required. The names of the KBs which have hotfixes to mitigate this vulnerability. Note that there may be multiple hotfixes (and thus multiple KBs) that mitigate a given vulnerability. Currently any listed kb's presence is considered a fix.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4;- Specified by:
getFixingKbsOrBuilderListin interfaceVulnerability.WindowsDetailOrBuilder
-
addFixingKbsBuilder
Required. The names of the KBs which have hotfixes to mitigate this vulnerability. Note that there may be multiple hotfixes (and thus multiple KBs) that mitigate a given vulnerability. Currently any listed kb's presence is considered a fix.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4; -
addFixingKbsBuilder
Required. The names of the KBs which have hotfixes to mitigate this vulnerability. Note that there may be multiple hotfixes (and thus multiple KBs) that mitigate a given vulnerability. Currently any listed kb's presence is considered a fix.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4; -
getFixingKbsBuilderList
Required. The names of the KBs which have hotfixes to mitigate this vulnerability. Note that there may be multiple hotfixes (and thus multiple KBs) that mitigate a given vulnerability. Currently any listed kb's presence is considered a fix.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4;
-