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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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>

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

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

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

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

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CustomConfig.CustomOutputSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
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()
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public CustomConfig.CustomOutputSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
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];

clone()

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

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CustomConfig.CustomOutputSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

public CustomConfig.CustomOutputSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
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

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

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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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