Class CustomConfig.CustomOutputSpec (0.2.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.securityposture.v1.CustomConfig.CustomOutputSpec

Static Fields

PROPERTIES_FIELD_NUMBER

public static final int PROPERTIES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CustomConfig.CustomOutputSpec getDefaultInstance()
Returns
TypeDescription
CustomConfig.CustomOutputSpec

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CustomConfig.CustomOutputSpec.Builder newBuilder()
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Builder

newBuilder(CustomConfig.CustomOutputSpec prototype)

public static CustomConfig.CustomOutputSpec.Builder newBuilder(CustomConfig.CustomOutputSpec prototype)
Parameter
NameDescription
prototypeCustomConfig.CustomOutputSpec
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Builder

parseDelimitedFrom(InputStream input)

public static CustomConfig.CustomOutputSpec parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CustomConfig.CustomOutputSpec
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomConfig.CustomOutputSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CustomConfig.CustomOutputSpec
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CustomConfig.CustomOutputSpec parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CustomConfig.CustomOutputSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CustomConfig.CustomOutputSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CustomConfig.CustomOutputSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CustomConfig.CustomOutputSpec parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CustomConfig.CustomOutputSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CustomConfig.CustomOutputSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CustomConfig.CustomOutputSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CustomConfig.CustomOutputSpec parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CustomConfig.CustomOutputSpec
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomConfig.CustomOutputSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CustomConfig.CustomOutputSpec
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CustomConfig.CustomOutputSpec parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CustomConfig.CustomOutputSpec
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomConfig.CustomOutputSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CustomConfig.CustomOutputSpec
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CustomConfig.CustomOutputSpec parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CustomConfig.CustomOutputSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CustomConfig.CustomOutputSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CustomConfig.CustomOutputSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public CustomConfig.CustomOutputSpec getDefaultInstanceForType()
Returns
TypeDescription
CustomConfig.CustomOutputSpec

getParserForType()

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

getProperties(int index)

public CustomConfig.CustomOutputSpec.Property getProperties(int index)

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

repeated .google.cloud.securityposture.v1.CustomConfig.CustomOutputSpec.Property properties = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Property

getPropertiesCount()

public int getPropertiesCount()

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

repeated .google.cloud.securityposture.v1.CustomConfig.CustomOutputSpec.Property properties = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

getPropertiesList()

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

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

repeated .google.cloud.securityposture.v1.CustomConfig.CustomOutputSpec.Property properties = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<Property>

getPropertiesOrBuilder(int index)

public CustomConfig.CustomOutputSpec.PropertyOrBuilder getPropertiesOrBuilder(int index)

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

repeated .google.cloud.securityposture.v1.CustomConfig.CustomOutputSpec.Property properties = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
CustomConfig.CustomOutputSpec.PropertyOrBuilder

getPropertiesOrBuilderList()

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

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

repeated .google.cloud.securityposture.v1.CustomConfig.CustomOutputSpec.Property properties = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<? extends com.google.cloud.securityposture.v1.CustomConfig.CustomOutputSpec.PropertyOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CustomConfig.CustomOutputSpec.Builder newBuilderForType()
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CustomConfig.CustomOutputSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CustomConfig.CustomOutputSpec.Builder toBuilder()
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException