public interface CweOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getId()
public abstract String getId()
The CWE identifier, e.g. CWE-94
string id = 1;
Returns | |
---|---|
Type | Description |
String |
The id. |
getIdBytes()
public abstract ByteString getIdBytes()
The CWE identifier, e.g. CWE-94
string id = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for id. |
getReferences(int index)
public abstract Reference getReferences(int index)
Any reference to the details on the CWE, for example, https://cwe.mitre.org/data/definitions/94.html
repeated .google.cloud.securitycenter.v2.Reference references = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Reference |
getReferencesCount()
public abstract int getReferencesCount()
Any reference to the details on the CWE, for example, https://cwe.mitre.org/data/definitions/94.html
repeated .google.cloud.securitycenter.v2.Reference references = 2;
Returns | |
---|---|
Type | Description |
int |
getReferencesList()
public abstract List<Reference> getReferencesList()
Any reference to the details on the CWE, for example, https://cwe.mitre.org/data/definitions/94.html
repeated .google.cloud.securitycenter.v2.Reference references = 2;
Returns | |
---|---|
Type | Description |
List<Reference> |
getReferencesOrBuilder(int index)
public abstract ReferenceOrBuilder getReferencesOrBuilder(int index)
Any reference to the details on the CWE, for example, https://cwe.mitre.org/data/definitions/94.html
repeated .google.cloud.securitycenter.v2.Reference references = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ReferenceOrBuilder |
getReferencesOrBuilderList()
public abstract List<? extends ReferenceOrBuilder> getReferencesOrBuilderList()
Any reference to the details on the CWE, for example, https://cwe.mitre.org/data/definitions/94.html
repeated .google.cloud.securitycenter.v2.Reference references = 2;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.securitycenter.v2.ReferenceOrBuilder> |