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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CustomConfig.CustomOutputSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CustomConfig.CustomOutputSpec build()
buildPartial()
public CustomConfig.CustomOutputSpec buildPartial()
clear()
public CustomConfig.CustomOutputSpec.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CustomConfig.CustomOutputSpec.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CustomConfig.CustomOutputSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public CustomConfig.CustomOutputSpec.Builder clone()
Overrides
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 GeneratedMessageV3.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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CustomConfig.CustomOutputSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public CustomConfig.CustomOutputSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CustomConfig.CustomOutputSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CustomConfig.CustomOutputSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides