public static final class AnalyzerOrgPolicyConstraint.Builder extends GeneratedMessageV3.Builder<AnalyzerOrgPolicyConstraint.Builder> implements AnalyzerOrgPolicyConstraintOrBuilder
The organization policy constraint definition.
Protobuf type google.cloud.asset.v1.AnalyzerOrgPolicyConstraint
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnalyzerOrgPolicyConstraint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AnalyzerOrgPolicyConstraint build()
Returns
buildPartial()
public AnalyzerOrgPolicyConstraint buildPartial()
Returns
clear()
public AnalyzerOrgPolicyConstraint.Builder clear()
Returns
Overrides
clearConstraintDefinition()
public AnalyzerOrgPolicyConstraint.Builder clearConstraintDefinition()
Returns
clearCustomConstraint()
public AnalyzerOrgPolicyConstraint.Builder clearCustomConstraint()
The definition of the custom constraint.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public AnalyzerOrgPolicyConstraint.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearGoogleDefinedConstraint()
public AnalyzerOrgPolicyConstraint.Builder clearGoogleDefinedConstraint()
The definition of the canned constraint defined by Google.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public AnalyzerOrgPolicyConstraint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public AnalyzerOrgPolicyConstraint.Builder clone()
Returns
Overrides
getConstraintDefinitionCase()
public AnalyzerOrgPolicyConstraint.ConstraintDefinitionCase getConstraintDefinitionCase()
Returns
getCustomConstraint()
public AnalyzerOrgPolicyConstraint.CustomConstraint getCustomConstraint()
The definition of the custom constraint.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2;
Returns
getCustomConstraintBuilder()
public AnalyzerOrgPolicyConstraint.CustomConstraint.Builder getCustomConstraintBuilder()
The definition of the custom constraint.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2;
Returns
getCustomConstraintOrBuilder()
public AnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder getCustomConstraintOrBuilder()
The definition of the custom constraint.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2;
Returns
getDefaultInstanceForType()
public AnalyzerOrgPolicyConstraint getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getGoogleDefinedConstraint()
public AnalyzerOrgPolicyConstraint.Constraint getGoogleDefinedConstraint()
The definition of the canned constraint defined by Google.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1;
Returns
getGoogleDefinedConstraintBuilder()
public AnalyzerOrgPolicyConstraint.Constraint.Builder getGoogleDefinedConstraintBuilder()
The definition of the canned constraint defined by Google.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1;
Returns
getGoogleDefinedConstraintOrBuilder()
public AnalyzerOrgPolicyConstraint.ConstraintOrBuilder getGoogleDefinedConstraintOrBuilder()
The definition of the canned constraint defined by Google.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1;
Returns
hasCustomConstraint()
public boolean hasCustomConstraint()
The definition of the custom constraint.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2;
Returns
Type |
Description |
boolean |
Whether the customConstraint field is set.
|
hasGoogleDefinedConstraint()
public boolean hasGoogleDefinedConstraint()
The definition of the canned constraint defined by Google.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1;
Returns
Type |
Description |
boolean |
Whether the googleDefinedConstraint field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeCustomConstraint(AnalyzerOrgPolicyConstraint.CustomConstraint value)
public AnalyzerOrgPolicyConstraint.Builder mergeCustomConstraint(AnalyzerOrgPolicyConstraint.CustomConstraint value)
The definition of the custom constraint.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2;
Parameter
Returns
mergeFrom(AnalyzerOrgPolicyConstraint other)
public AnalyzerOrgPolicyConstraint.Builder mergeFrom(AnalyzerOrgPolicyConstraint other)
Parameter
Returns
public AnalyzerOrgPolicyConstraint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AnalyzerOrgPolicyConstraint.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeGoogleDefinedConstraint(AnalyzerOrgPolicyConstraint.Constraint value)
public AnalyzerOrgPolicyConstraint.Builder mergeGoogleDefinedConstraint(AnalyzerOrgPolicyConstraint.Constraint value)
The definition of the canned constraint defined by Google.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzerOrgPolicyConstraint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setCustomConstraint(AnalyzerOrgPolicyConstraint.CustomConstraint value)
public AnalyzerOrgPolicyConstraint.Builder setCustomConstraint(AnalyzerOrgPolicyConstraint.CustomConstraint value)
The definition of the custom constraint.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2;
Parameter
Returns
setCustomConstraint(AnalyzerOrgPolicyConstraint.CustomConstraint.Builder builderForValue)
public AnalyzerOrgPolicyConstraint.Builder setCustomConstraint(AnalyzerOrgPolicyConstraint.CustomConstraint.Builder builderForValue)
The definition of the custom constraint.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public AnalyzerOrgPolicyConstraint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setGoogleDefinedConstraint(AnalyzerOrgPolicyConstraint.Constraint value)
public AnalyzerOrgPolicyConstraint.Builder setGoogleDefinedConstraint(AnalyzerOrgPolicyConstraint.Constraint value)
The definition of the canned constraint defined by Google.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1;
Parameter
Returns
setGoogleDefinedConstraint(AnalyzerOrgPolicyConstraint.Constraint.Builder builderForValue)
public AnalyzerOrgPolicyConstraint.Builder setGoogleDefinedConstraint(AnalyzerOrgPolicyConstraint.Constraint.Builder builderForValue)
The definition of the canned constraint defined by Google.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnalyzerOrgPolicyConstraint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzerOrgPolicyConstraint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides