Class CustomConfig.CustomOutputSpec (2.53.0)

public static final class CustomConfig.CustomOutputSpec extends GeneratedMessageV3 implements CustomConfig.CustomOutputSpecOrBuilder

A set of optional name-value pairs that define custom source properties to return with each finding that is generated by the custom module. The custom source properties that are defined here are included in the finding JSON under sourceProperties.

Protobuf type google.cloud.securitycenter.v1.CustomConfig.CustomOutputSpec

Static Fields

PROPERTIES_FIELD_NUMBER

public static final int PROPERTIES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CustomConfig.CustomOutputSpec getDefaultInstance()
Returns
Type Description
CustomConfig.CustomOutputSpec

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CustomConfig.CustomOutputSpec.Builder newBuilder()
Returns
Type Description
CustomConfig.CustomOutputSpec.Builder

newBuilder(CustomConfig.CustomOutputSpec prototype)

public static CustomConfig.CustomOutputSpec.Builder newBuilder(CustomConfig.CustomOutputSpec prototype)
Parameter
Name Description
prototype CustomConfig.CustomOutputSpec
Returns
Type Description
CustomConfig.CustomOutputSpec.Builder

parseDelimitedFrom(InputStream input)

public static CustomConfig.CustomOutputSpec parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CustomConfig.CustomOutputSpec
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomConfig.CustomOutputSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomConfig.CustomOutputSpec
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CustomConfig.CustomOutputSpec parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CustomConfig.CustomOutputSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CustomConfig.CustomOutputSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomConfig.CustomOutputSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CustomConfig.CustomOutputSpec parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CustomConfig.CustomOutputSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CustomConfig.CustomOutputSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomConfig.CustomOutputSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CustomConfig.CustomOutputSpec parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CustomConfig.CustomOutputSpec
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomConfig.CustomOutputSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomConfig.CustomOutputSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CustomConfig.CustomOutputSpec parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CustomConfig.CustomOutputSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomConfig.CustomOutputSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomConfig.CustomOutputSpec
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CustomConfig.CustomOutputSpec parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CustomConfig.CustomOutputSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CustomConfig.CustomOutputSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomConfig.CustomOutputSpec
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CustomConfig.CustomOutputSpec> parser()
Returns
Type Description
Parser<CustomOutputSpec>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public CustomConfig.CustomOutputSpec getDefaultInstanceForType()
Returns
Type Description
CustomConfig.CustomOutputSpec

getParserForType()

public Parser<CustomConfig.CustomOutputSpec> getParserForType()
Returns
Type Description
Parser<CustomOutputSpec>
Overrides

getProperties(int index)

public CustomConfig.CustomOutputSpec.Property getProperties(int index)

A list of custom output properties to add to the finding.

repeated .google.cloud.securitycenter.v1.CustomConfig.CustomOutputSpec.Property properties = 1;

Parameter
Name Description
index int
Returns
Type Description
CustomConfig.CustomOutputSpec.Property

getPropertiesCount()

public int getPropertiesCount()

A list of custom output properties to add to the finding.

repeated .google.cloud.securitycenter.v1.CustomConfig.CustomOutputSpec.Property properties = 1;

Returns
Type Description
int

getPropertiesList()

public List<CustomConfig.CustomOutputSpec.Property> getPropertiesList()

A list of custom output properties to add to the finding.

repeated .google.cloud.securitycenter.v1.CustomConfig.CustomOutputSpec.Property properties = 1;

Returns
Type Description
List<Property>

getPropertiesOrBuilder(int index)

public CustomConfig.CustomOutputSpec.PropertyOrBuilder getPropertiesOrBuilder(int index)

A list of custom output properties to add to the finding.

repeated .google.cloud.securitycenter.v1.CustomConfig.CustomOutputSpec.Property properties = 1;

Parameter
Name Description
index int
Returns
Type Description
CustomConfig.CustomOutputSpec.PropertyOrBuilder

getPropertiesOrBuilderList()

public List<? extends CustomConfig.CustomOutputSpec.PropertyOrBuilder> getPropertiesOrBuilderList()

A list of custom output properties to add to the finding.

repeated .google.cloud.securitycenter.v1.CustomConfig.CustomOutputSpec.Property properties = 1;

Returns
Type Description
List<? extends com.google.cloud.securitycenter.v1.CustomConfig.CustomOutputSpec.PropertyOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CustomConfig.CustomOutputSpec.Builder newBuilderForType()
Returns
Type Description
CustomConfig.CustomOutputSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CustomConfig.CustomOutputSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CustomConfig.CustomOutputSpec.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CustomConfig.CustomOutputSpec.Builder toBuilder()
Returns
Type Description
CustomConfig.CustomOutputSpec.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException