public static final class CustomConfig.CustomOutputSpec.Builder extends GeneratedMessage.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
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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;
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;
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;
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;
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;
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
|
build()
public CustomConfig.CustomOutputSpec build()
buildPartial()
public CustomConfig.CustomOutputSpec buildPartial()
clear()
public CustomConfig.CustomOutputSpec.Builder clear()
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;
getDefaultInstanceForType()
public CustomConfig.CustomOutputSpec getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
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
|
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;
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;
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
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CustomConfig.CustomOutputSpec other)
public CustomConfig.CustomOutputSpec.Builder mergeFrom(CustomConfig.CustomOutputSpec other)
public CustomConfig.CustomOutputSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CustomConfig.CustomOutputSpec.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
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
|
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;
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;