public static final class SecurityPosture.PolicyDriftDetails extends GeneratedMessageV3 implements SecurityPosture.PolicyDriftDetailsOrBuilder
The policy field that violates the deployed posture and its expected and
detected values.
Protobuf type google.cloud.securitycenter.v1.SecurityPosture.PolicyDriftDetails
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
DETECTED_VALUE_FIELD_NUMBER
public static final int DETECTED_VALUE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
EXPECTED_VALUE_FIELD_NUMBER
public static final int EXPECTED_VALUE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
FIELD_FIELD_NUMBER
public static final int FIELD_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static SecurityPosture.PolicyDriftDetails getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SecurityPosture.PolicyDriftDetails.Builder newBuilder()
newBuilder(SecurityPosture.PolicyDriftDetails prototype)
public static SecurityPosture.PolicyDriftDetails.Builder newBuilder(SecurityPosture.PolicyDriftDetails prototype)
parseDelimitedFrom(InputStream input)
public static SecurityPosture.PolicyDriftDetails parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SecurityPosture.PolicyDriftDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SecurityPosture.PolicyDriftDetails parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SecurityPosture.PolicyDriftDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SecurityPosture.PolicyDriftDetails parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SecurityPosture.PolicyDriftDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static SecurityPosture.PolicyDriftDetails parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SecurityPosture.PolicyDriftDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static SecurityPosture.PolicyDriftDetails parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SecurityPosture.PolicyDriftDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SecurityPosture.PolicyDriftDetails parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SecurityPosture.PolicyDriftDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SecurityPosture.PolicyDriftDetails> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public SecurityPosture.PolicyDriftDetails getDefaultInstanceForType()
getDetectedValue()
public String getDetectedValue()
The detected value that violates the deployed posture, for example,
false
or allowed_values={"projects/22831892"}
.
string detected_value = 3;
Returns |
Type |
Description |
String |
The detectedValue.
|
getDetectedValueBytes()
public ByteString getDetectedValueBytes()
The detected value that violates the deployed posture, for example,
false
or allowed_values={"projects/22831892"}
.
string detected_value = 3;
Returns |
Type |
Description |
ByteString |
The bytes for detectedValue.
|
getExpectedValue()
public String getExpectedValue()
The value of this field that was configured in a posture, for example,
true
or allowed_values={"projects/29831892"}
.
string expected_value = 2;
Returns |
Type |
Description |
String |
The expectedValue.
|
getExpectedValueBytes()
public ByteString getExpectedValueBytes()
The value of this field that was configured in a posture, for example,
true
or allowed_values={"projects/29831892"}
.
string expected_value = 2;
Returns |
Type |
Description |
ByteString |
The bytes for expectedValue.
|
getField()
The name of the updated field, for example
constraint.implementation.policy_rules[0].enforce
string field = 1;
Returns |
Type |
Description |
String |
The field.
|
getFieldBytes()
public ByteString getFieldBytes()
The name of the updated field, for example
constraint.implementation.policy_rules[0].enforce
string field = 1;
Returns |
Type |
Description |
ByteString |
The bytes for field.
|
getParserForType()
public Parser<SecurityPosture.PolicyDriftDetails> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SecurityPosture.PolicyDriftDetails.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SecurityPosture.PolicyDriftDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public SecurityPosture.PolicyDriftDetails.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides