public static final class AnalyzerOrgPolicyConstraint.Builder extends GeneratedMessage.Builder<AnalyzerOrgPolicyConstraint.Builder> implements AnalyzerOrgPolicyConstraintOrBuilder
The organization policy constraint definition.
Protobuf type google.cloud.asset.v1.AnalyzerOrgPolicyConstraint
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public AnalyzerOrgPolicyConstraint build()
buildPartial()
public AnalyzerOrgPolicyConstraint buildPartial()
clear()
public AnalyzerOrgPolicyConstraint.Builder clear()
Overrides
clearConstraintDefinition()
public AnalyzerOrgPolicyConstraint.Builder clearConstraintDefinition()
clearCustomConstraint()
public AnalyzerOrgPolicyConstraint.Builder clearCustomConstraint()
The definition of the custom constraint.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2;
clearGoogleDefinedConstraint()
public AnalyzerOrgPolicyConstraint.Builder clearGoogleDefinedConstraint()
The definition of the canned constraint defined by Google.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1;
getConstraintDefinitionCase()
public AnalyzerOrgPolicyConstraint.ConstraintDefinitionCase getConstraintDefinitionCase()
getCustomConstraint()
public AnalyzerOrgPolicyConstraint.CustomConstraint getCustomConstraint()
The definition of the custom constraint.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2;
getCustomConstraintBuilder()
public AnalyzerOrgPolicyConstraint.CustomConstraint.Builder getCustomConstraintBuilder()
The definition of the custom constraint.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2;
getCustomConstraintOrBuilder()
public AnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder getCustomConstraintOrBuilder()
The definition of the custom constraint.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2;
getDefaultInstanceForType()
public AnalyzerOrgPolicyConstraint getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
getGoogleDefinedConstraintOrBuilder()
public AnalyzerOrgPolicyConstraint.ConstraintOrBuilder getGoogleDefinedConstraintOrBuilder()
The definition of the canned constraint defined by Google.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1;
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
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;
mergeFrom(AnalyzerOrgPolicyConstraint other)
public AnalyzerOrgPolicyConstraint.Builder mergeFrom(AnalyzerOrgPolicyConstraint other)
public AnalyzerOrgPolicyConstraint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AnalyzerOrgPolicyConstraint.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
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;
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;
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;
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;
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;