Package io.grafeas.v1
Class VulnerabilityNote.WindowsDetail.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityNote.WindowsDetail.Builder>
-
- io.grafeas.v1.VulnerabilityNote.WindowsDetail.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,VulnerabilityNote.WindowsDetailOrBuilder
,Cloneable
- Enclosing class:
- VulnerabilityNote.WindowsDetail
public static final class VulnerabilityNote.WindowsDetail.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityNote.WindowsDetail.Builder> implements VulnerabilityNote.WindowsDetailOrBuilder
Protobuf typegrafeas.v1.VulnerabilityNote.WindowsDetail
-
-
Method Summary
-
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<VulnerabilityNote.WindowsDetail.Builder>
-
clear
public VulnerabilityNote.WindowsDetail.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<VulnerabilityNote.WindowsDetail.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<VulnerabilityNote.WindowsDetail.Builder>
-
getDefaultInstanceForType
public VulnerabilityNote.WindowsDetail getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public VulnerabilityNote.WindowsDetail build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public VulnerabilityNote.WindowsDetail buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public VulnerabilityNote.WindowsDetail.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<VulnerabilityNote.WindowsDetail.Builder>
-
setField
public VulnerabilityNote.WindowsDetail.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<VulnerabilityNote.WindowsDetail.Builder>
-
clearField
public VulnerabilityNote.WindowsDetail.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<VulnerabilityNote.WindowsDetail.Builder>
-
clearOneof
public VulnerabilityNote.WindowsDetail.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<VulnerabilityNote.WindowsDetail.Builder>
-
setRepeatedField
public VulnerabilityNote.WindowsDetail.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<VulnerabilityNote.WindowsDetail.Builder>
-
addRepeatedField
public VulnerabilityNote.WindowsDetail.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<VulnerabilityNote.WindowsDetail.Builder>
-
mergeFrom
public VulnerabilityNote.WindowsDetail.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<VulnerabilityNote.WindowsDetail.Builder>
-
mergeFrom
public VulnerabilityNote.WindowsDetail.Builder mergeFrom(VulnerabilityNote.WindowsDetail other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityNote.WindowsDetail.Builder>
-
mergeFrom
public VulnerabilityNote.WindowsDetail.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<VulnerabilityNote.WindowsDetail.Builder>
- Throws:
IOException
-
getCpeUri
public String getCpeUri()
Required. The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability affects.
string cpe_uri = 1;
- Specified by:
getCpeUri
in interfaceVulnerabilityNote.WindowsDetailOrBuilder
- Returns:
- The cpeUri.
-
getCpeUriBytes
public com.google.protobuf.ByteString getCpeUriBytes()
Required. The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability affects.
string cpe_uri = 1;
- Specified by:
getCpeUriBytes
in interfaceVulnerabilityNote.WindowsDetailOrBuilder
- Returns:
- The bytes for cpeUri.
-
setCpeUri
public VulnerabilityNote.WindowsDetail.Builder setCpeUri(String value)
Required. The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability affects.
string cpe_uri = 1;
- Parameters:
value
- The cpeUri to set.- Returns:
- This builder for chaining.
-
clearCpeUri
public VulnerabilityNote.WindowsDetail.Builder clearCpeUri()
Required. The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability affects.
string cpe_uri = 1;
- Returns:
- This builder for chaining.
-
setCpeUriBytes
public VulnerabilityNote.WindowsDetail.Builder setCpeUriBytes(com.google.protobuf.ByteString value)
Required. The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability affects.
string cpe_uri = 1;
- Parameters:
value
- The bytes for cpeUri to set.- Returns:
- This builder for chaining.
-
getName
public String getName()
Required. The name of this vulnerability.
string name = 2;
- Specified by:
getName
in interfaceVulnerabilityNote.WindowsDetailOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Required. The name of this vulnerability.
string name = 2;
- Specified by:
getNameBytes
in interfaceVulnerabilityNote.WindowsDetailOrBuilder
- Returns:
- The bytes for name.
-
setName
public VulnerabilityNote.WindowsDetail.Builder setName(String value)
Required. The name of this vulnerability.
string name = 2;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public VulnerabilityNote.WindowsDetail.Builder clearName()
Required. The name of this vulnerability.
string name = 2;
- Returns:
- This builder for chaining.
-
setNameBytes
public VulnerabilityNote.WindowsDetail.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. The name of this vulnerability.
string name = 2;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDescription
public String getDescription()
The description of this vulnerability.
string description = 3;
- Specified by:
getDescription
in interfaceVulnerabilityNote.WindowsDetailOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
The description of this vulnerability.
string description = 3;
- Specified by:
getDescriptionBytes
in interfaceVulnerabilityNote.WindowsDetailOrBuilder
- Returns:
- The bytes for description.
-
setDescription
public VulnerabilityNote.WindowsDetail.Builder setDescription(String value)
The description of this vulnerability.
string description = 3;
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public VulnerabilityNote.WindowsDetail.Builder clearDescription()
The description of this vulnerability.
string description = 3;
- Returns:
- This builder for chaining.
-
setDescriptionBytes
public VulnerabilityNote.WindowsDetail.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
The description of this vulnerability.
string description = 3;
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
getFixingKbsList
public List<VulnerabilityNote.WindowsDetail.KnowledgeBase> 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 KBs presence is considered a fix.
repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;
- Specified by:
getFixingKbsList
in interfaceVulnerabilityNote.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 KBs presence is considered a fix.
repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;
- Specified by:
getFixingKbsCount
in interfaceVulnerabilityNote.WindowsDetailOrBuilder
-
getFixingKbs
public VulnerabilityNote.WindowsDetail.KnowledgeBase getFixingKbs(int index)
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 KBs presence is considered a fix.
repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;
- Specified by:
getFixingKbs
in interfaceVulnerabilityNote.WindowsDetailOrBuilder
-
setFixingKbs
public VulnerabilityNote.WindowsDetail.Builder setFixingKbs(int index, VulnerabilityNote.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 KBs presence is considered a fix.
repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;
-
setFixingKbs
public VulnerabilityNote.WindowsDetail.Builder setFixingKbs(int index, VulnerabilityNote.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 KBs presence is considered a fix.
repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;
-
addFixingKbs
public VulnerabilityNote.WindowsDetail.Builder addFixingKbs(VulnerabilityNote.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 KBs presence is considered a fix.
repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;
-
addFixingKbs
public VulnerabilityNote.WindowsDetail.Builder addFixingKbs(int index, VulnerabilityNote.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 KBs presence is considered a fix.
repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;
-
addFixingKbs
public VulnerabilityNote.WindowsDetail.Builder addFixingKbs(VulnerabilityNote.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 KBs presence is considered a fix.
repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;
-
addFixingKbs
public VulnerabilityNote.WindowsDetail.Builder addFixingKbs(int index, VulnerabilityNote.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 KBs presence is considered a fix.
repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;
-
addAllFixingKbs
public VulnerabilityNote.WindowsDetail.Builder addAllFixingKbs(Iterable<? extends VulnerabilityNote.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 KBs presence is considered a fix.
repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;
-
clearFixingKbs
public VulnerabilityNote.WindowsDetail.Builder 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 KBs presence is considered a fix.
repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;
-
removeFixingKbs
public VulnerabilityNote.WindowsDetail.Builder removeFixingKbs(int index)
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 KBs presence is considered a fix.
repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;
-
getFixingKbsBuilder
public VulnerabilityNote.WindowsDetail.KnowledgeBase.Builder getFixingKbsBuilder(int index)
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 KBs presence is considered a fix.
repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;
-
getFixingKbsOrBuilder
public VulnerabilityNote.WindowsDetail.KnowledgeBaseOrBuilder getFixingKbsOrBuilder(int index)
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 KBs presence is considered a fix.
repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;
- Specified by:
getFixingKbsOrBuilder
in interfaceVulnerabilityNote.WindowsDetailOrBuilder
-
getFixingKbsOrBuilderList
public List<? extends VulnerabilityNote.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 KBs presence is considered a fix.
repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;
- Specified by:
getFixingKbsOrBuilderList
in interfaceVulnerabilityNote.WindowsDetailOrBuilder
-
addFixingKbsBuilder
public VulnerabilityNote.WindowsDetail.KnowledgeBase.Builder 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 KBs presence is considered a fix.
repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;
-
addFixingKbsBuilder
public VulnerabilityNote.WindowsDetail.KnowledgeBase.Builder addFixingKbsBuilder(int index)
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 KBs presence is considered a fix.
repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;
-
getFixingKbsBuilderList
public List<VulnerabilityNote.WindowsDetail.KnowledgeBase.Builder> 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 KBs presence is considered a fix.
repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;
-
setUnknownFields
public final VulnerabilityNote.WindowsDetail.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityNote.WindowsDetail.Builder>
-
mergeUnknownFields
public final VulnerabilityNote.WindowsDetail.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityNote.WindowsDetail.Builder>
-
-