Class CustomConfig.CustomOutputSpec.Builder (2.62.0)

public static final class CustomConfig.CustomOutputSpec.Builder extends GeneratedMessageV3.Builder<CustomConfig.CustomOutputSpec.Builder> 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 Methods

getDescriptor()

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

Methods

addAllProperties(Iterable<? extends CustomConfig.CustomOutputSpec.Property> values)

public CustomConfig.CustomOutputSpec.Builder addAllProperties(Iterable<? extends CustomConfig.CustomOutputSpec.Property> values)

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

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.securitycenter.v1.CustomConfig.CustomOutputSpec.Property>
Returns
Type Description
CustomConfig.CustomOutputSpec.Builder

addProperties(CustomConfig.CustomOutputSpec.Property value)

public CustomConfig.CustomOutputSpec.Builder addProperties(CustomConfig.CustomOutputSpec.Property value)

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

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

Parameter
Name Description
value CustomConfig.CustomOutputSpec.Property
Returns
Type Description
CustomConfig.CustomOutputSpec.Builder

addProperties(CustomConfig.CustomOutputSpec.Property.Builder builderForValue)

public CustomConfig.CustomOutputSpec.Builder addProperties(CustomConfig.CustomOutputSpec.Property.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue CustomConfig.CustomOutputSpec.Property.Builder
Returns
Type Description
CustomConfig.CustomOutputSpec.Builder

addProperties(int index, CustomConfig.CustomOutputSpec.Property value)

public CustomConfig.CustomOutputSpec.Builder addProperties(int index, CustomConfig.CustomOutputSpec.Property value)

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

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

Parameters
Name Description
index int
value CustomConfig.CustomOutputSpec.Property
Returns
Type Description
CustomConfig.CustomOutputSpec.Builder

addProperties(int index, CustomConfig.CustomOutputSpec.Property.Builder builderForValue)

public CustomConfig.CustomOutputSpec.Builder addProperties(int index, CustomConfig.CustomOutputSpec.Property.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue CustomConfig.CustomOutputSpec.Property.Builder
Returns
Type Description
CustomConfig.CustomOutputSpec.Builder

addPropertiesBuilder()

public CustomConfig.CustomOutputSpec.Property.Builder addPropertiesBuilder()

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

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

Returns
Type Description
CustomConfig.CustomOutputSpec.Property.Builder

addPropertiesBuilder(int index)

public CustomConfig.CustomOutputSpec.Property.Builder addPropertiesBuilder(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.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CustomConfig.CustomOutputSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CustomConfig.CustomOutputSpec.Builder
Overrides

build()

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

buildPartial()

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

clear()

public CustomConfig.CustomOutputSpec.Builder clear()
Returns
Type Description
CustomConfig.CustomOutputSpec.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CustomConfig.CustomOutputSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CustomConfig.CustomOutputSpec.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CustomConfig.CustomOutputSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CustomConfig.CustomOutputSpec.Builder
Overrides

clearProperties()

public CustomConfig.CustomOutputSpec.Builder clearProperties()

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

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

Returns
Type Description
CustomConfig.CustomOutputSpec.Builder

clone()

public CustomConfig.CustomOutputSpec.Builder clone()
Returns
Type Description
CustomConfig.CustomOutputSpec.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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

getPropertiesBuilder(int index)

public CustomConfig.CustomOutputSpec.Property.Builder getPropertiesBuilder(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.Builder

getPropertiesBuilderList()

public List<CustomConfig.CustomOutputSpec.Property.Builder> getPropertiesBuilderList()

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<Builder>

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>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CustomConfig.CustomOutputSpec other)

public CustomConfig.CustomOutputSpec.Builder mergeFrom(CustomConfig.CustomOutputSpec other)
Parameter
Name Description
other CustomConfig.CustomOutputSpec
Returns
Type Description
CustomConfig.CustomOutputSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CustomConfig.CustomOutputSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomConfig.CustomOutputSpec.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CustomConfig.CustomOutputSpec.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CustomConfig.CustomOutputSpec.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CustomConfig.CustomOutputSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CustomConfig.CustomOutputSpec.Builder
Overrides

removeProperties(int index)

public CustomConfig.CustomOutputSpec.Builder removeProperties(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.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CustomConfig.CustomOutputSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CustomConfig.CustomOutputSpec.Builder
Overrides

setProperties(int index, CustomConfig.CustomOutputSpec.Property value)

public CustomConfig.CustomOutputSpec.Builder setProperties(int index, CustomConfig.CustomOutputSpec.Property value)

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

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

Parameters
Name Description
index int
value CustomConfig.CustomOutputSpec.Property
Returns
Type Description
CustomConfig.CustomOutputSpec.Builder

setProperties(int index, CustomConfig.CustomOutputSpec.Property.Builder builderForValue)

public CustomConfig.CustomOutputSpec.Builder setProperties(int index, CustomConfig.CustomOutputSpec.Property.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue CustomConfig.CustomOutputSpec.Property.Builder
Returns
Type Description
CustomConfig.CustomOutputSpec.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CustomConfig.CustomOutputSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CustomConfig.CustomOutputSpec.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CustomConfig.CustomOutputSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CustomConfig.CustomOutputSpec.Builder
Overrides