public static final class CustomConfig.CustomOutputSpec extends GeneratedMessageV3 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.securitycentermanagement.v1.CustomConfig.CustomOutputSpec
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CustomConfig.CustomOutputSpecImplements
CustomConfig.CustomOutputSpecOrBuilderStatic Fields
PROPERTIES_FIELD_NUMBER
public static final int PROPERTIES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static CustomConfig.CustomOutputSpec getDefaultInstance()
Returns | |
---|---|
Type | Description |
CustomConfig.CustomOutputSpec |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static CustomConfig.CustomOutputSpec.Builder newBuilder()
Returns | |
---|---|
Type | Description |
CustomConfig.CustomOutputSpec.Builder |
newBuilder(CustomConfig.CustomOutputSpec prototype)
public static CustomConfig.CustomOutputSpec.Builder newBuilder(CustomConfig.CustomOutputSpec prototype)
Parameter | |
---|---|
Name | Description |
prototype |
CustomConfig.CustomOutputSpec |
Returns | |
---|---|
Type | Description |
CustomConfig.CustomOutputSpec.Builder |
parseDelimitedFrom(InputStream input)
public static CustomConfig.CustomOutputSpec parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
CustomConfig.CustomOutputSpec |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomConfig.CustomOutputSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CustomConfig.CustomOutputSpec |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static CustomConfig.CustomOutputSpec parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
CustomConfig.CustomOutputSpec |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CustomConfig.CustomOutputSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CustomConfig.CustomOutputSpec |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static CustomConfig.CustomOutputSpec parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
CustomConfig.CustomOutputSpec |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CustomConfig.CustomOutputSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CustomConfig.CustomOutputSpec |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static CustomConfig.CustomOutputSpec parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
CustomConfig.CustomOutputSpec |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomConfig.CustomOutputSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CustomConfig.CustomOutputSpec |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static CustomConfig.CustomOutputSpec parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
CustomConfig.CustomOutputSpec |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomConfig.CustomOutputSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CustomConfig.CustomOutputSpec |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static CustomConfig.CustomOutputSpec parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
CustomConfig.CustomOutputSpec |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CustomConfig.CustomOutputSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CustomConfig.CustomOutputSpec |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<CustomConfig.CustomOutputSpec> parser()
Returns | |
---|---|
Type | Description |
Parser<CustomOutputSpec> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public CustomConfig.CustomOutputSpec getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CustomConfig.CustomOutputSpec |
getParserForType()
public Parser<CustomConfig.CustomOutputSpec> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<CustomOutputSpec> |
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.securitycentermanagement.v1.CustomConfig.CustomOutputSpec.Property properties = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
CustomConfig.CustomOutputSpec.Property |
getPropertiesCount()
public int getPropertiesCount()
Optional. A list of custom output properties to add to the finding.
repeated .google.cloud.securitycentermanagement.v1.CustomConfig.CustomOutputSpec.Property properties = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getPropertiesList()
public List<CustomConfig.CustomOutputSpec.Property> getPropertiesList()
Optional. A list of custom output properties to add to the finding.
repeated .google.cloud.securitycentermanagement.v1.CustomConfig.CustomOutputSpec.Property properties = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
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.securitycentermanagement.v1.CustomConfig.CustomOutputSpec.Property properties = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
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.securitycentermanagement.v1.CustomConfig.CustomOutputSpec.Property properties = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.securitycentermanagement.v1.CustomConfig.CustomOutputSpec.PropertyOrBuilder> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public CustomConfig.CustomOutputSpec.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
CustomConfig.CustomOutputSpec.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CustomConfig.CustomOutputSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
CustomConfig.CustomOutputSpec.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public CustomConfig.CustomOutputSpec.Builder toBuilder()
Returns | |
---|---|
Type | Description |
CustomConfig.CustomOutputSpec.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |