Send feedback
Class Policy.ComplianceStandard.Builder (0.10.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.10.0 keyboard_arrow_down
public static final class Policy . ComplianceStandard . Builder extends GeneratedMessageV3 . Builder<Policy . ComplianceStandard . Builder > implements Policy . ComplianceStandardOrBuilder
Mapping for a Policy to standard and control.
Protobuf type google.cloud.securityposture.v1.Policy.ComplianceStandard
Inherited Members
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 ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Policy . ComplianceStandard . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public Policy . ComplianceStandard build ()
buildPartial()
public Policy . ComplianceStandard buildPartial ()
clear()
public Policy . ComplianceStandard . Builder clear ()
Overrides
clearControl()
public Policy . ComplianceStandard . Builder clearControl ()
Optional. Control mapping provided by user for this Policy. e.g.: 1.5.
string control = 2 [(.google.api.field_behavior) = OPTIONAL];
clearField(Descriptors.FieldDescriptor field)
public Policy . ComplianceStandard . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Policy . ComplianceStandard . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearStandard()
public Policy . ComplianceStandard . Builder clearStandard ()
Optional. The compliance standard that the Policy maps to, e.g.: CIS-2.0.
string standard = 1 [(.google.api.field_behavior) = OPTIONAL];
clone()
public Policy . ComplianceStandard . Builder clone ()
Overrides
getControl()
public String getControl ()
Optional. Control mapping provided by user for this Policy. e.g.: 1.5.
string control = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
String
The control.
getControlBytes()
public ByteString getControlBytes ()
Optional. Control mapping provided by user for this Policy. e.g.: 1.5.
string control = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
ByteString
The bytes for control.
getDefaultInstanceForType()
public Policy . ComplianceStandard getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getStandard()
public String getStandard ()
Optional. The compliance standard that the Policy maps to, e.g.: CIS-2.0.
string standard = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
String
The standard.
getStandardBytes()
public ByteString getStandardBytes ()
Optional. The compliance standard that the Policy maps to, e.g.: CIS-2.0.
string standard = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
ByteString
The bytes for standard.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(Policy.ComplianceStandard other)
public Policy . ComplianceStandard . Builder mergeFrom ( Policy . ComplianceStandard other )
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Policy . ComplianceStandard . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public Policy . ComplianceStandard . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Policy . ComplianceStandard . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setControl(String value)
public Policy . ComplianceStandard . Builder setControl ( String value )
Optional. Control mapping provided by user for this Policy. e.g.: 1.5.
string control = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
value
String
The control to set.
setControlBytes(ByteString value)
public Policy . ComplianceStandard . Builder setControlBytes ( ByteString value )
Optional. Control mapping provided by user for this Policy. e.g.: 1.5.
string control = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
value
ByteString
The bytes for control to set.
setField(Descriptors.FieldDescriptor field, Object value)
public Policy . ComplianceStandard . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Policy . ComplianceStandard . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setStandard(String value)
public Policy . ComplianceStandard . Builder setStandard ( String value )
Optional. The compliance standard that the Policy maps to, e.g.: CIS-2.0.
string standard = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
value
String
The standard to set.
setStandardBytes(ByteString value)
public Policy . ComplianceStandard . Builder setStandardBytes ( ByteString value )
Optional. The compliance standard that the Policy maps to, e.g.: CIS-2.0.
string standard = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
value
ByteString
The bytes for standard to set.
setUnknownFields(UnknownFieldSet unknownFields)
public final Policy . ComplianceStandard . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[],[]]