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

Static Methods

getDescriptor()

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

Methods

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

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

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
valuesIterable<? extends com.google.cloud.securityposture.v1.CustomConfig.CustomOutputSpec.Property>
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Builder

addProperties(CustomConfig.CustomOutputSpec.Property value)

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

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
valueCustomConfig.CustomOutputSpec.Property
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Builder

addProperties(CustomConfig.CustomOutputSpec.Property.Builder builderForValue)

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

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
builderForValueCustomConfig.CustomOutputSpec.Property.Builder
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Builder

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

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

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];

Parameters
NameDescription
indexint
valueCustomConfig.CustomOutputSpec.Property
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Builder

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

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

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];

Parameters
NameDescription
indexint
builderForValueCustomConfig.CustomOutputSpec.Property.Builder
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Builder

addPropertiesBuilder()

public CustomConfig.CustomOutputSpec.Property.Builder addPropertiesBuilder()

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

addPropertiesBuilder(int index)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CustomConfig.CustomOutputSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Builder
Overrides

build()

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

buildPartial()

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

clear()

public CustomConfig.CustomOutputSpec.Builder clear()
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CustomConfig.CustomOutputSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CustomConfig.CustomOutputSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Builder
Overrides

clearProperties()

public CustomConfig.CustomOutputSpec.Builder clearProperties()

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

clone()

public CustomConfig.CustomOutputSpec.Builder clone()
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

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

getPropertiesBuilder(int index)

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

getPropertiesBuilderList()

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

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

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>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CustomConfig.CustomOutputSpec other)

public CustomConfig.CustomOutputSpec.Builder mergeFrom(CustomConfig.CustomOutputSpec other)
Parameter
NameDescription
otherCustomConfig.CustomOutputSpec
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CustomConfig.CustomOutputSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CustomConfig.CustomOutputSpec.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CustomConfig.CustomOutputSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Builder
Overrides

removeProperties(int index)

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

setField(Descriptors.FieldDescriptor field, Object value)

public CustomConfig.CustomOutputSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Builder
Overrides

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

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

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];

Parameters
NameDescription
indexint
valueCustomConfig.CustomOutputSpec.Property
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Builder

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

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

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];

Parameters
NameDescription
indexint
builderForValueCustomConfig.CustomOutputSpec.Property.Builder
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Builder

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

public CustomConfig.CustomOutputSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CustomConfig.CustomOutputSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Builder
Overrides