Package com.google.cloud.asset.v1
Class AnalyzerOrgPolicyConstraint.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AnalyzerOrgPolicyConstraint.Builder>
com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder
- All Implemented Interfaces:
AnalyzerOrgPolicyConstraintOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AnalyzerOrgPolicyConstraint
public static final class AnalyzerOrgPolicyConstraint.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AnalyzerOrgPolicyConstraint.Builder>
implements AnalyzerOrgPolicyConstraintOrBuilder
The organization policy constraint definition.Protobuf type
google.cloud.asset.v1.AnalyzerOrgPolicyConstraint-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The definition of the custom constraint.The definition of the canned constraint defined by Google.The definition of the custom constraint.The definition of the custom constraint.The definition of the custom constraint.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe definition of the canned constraint defined by Google.The definition of the canned constraint defined by Google.The definition of the canned constraint defined by Google.booleanThe definition of the custom constraint.booleanThe definition of the canned constraint defined by Google.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanThe definition of the custom constraint.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The definition of the canned constraint defined by Google.The definition of the custom constraint.setCustomConstraint(AnalyzerOrgPolicyConstraint.CustomConstraint.Builder builderForValue) The definition of the custom constraint.The definition of the canned constraint defined by Google.setGoogleDefinedConstraint(AnalyzerOrgPolicyConstraint.Constraint.Builder builderForValue) The definition of the canned constraint defined by Google.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AnalyzerOrgPolicyConstraint.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AnalyzerOrgPolicyConstraint.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AnalyzerOrgPolicyConstraint.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AnalyzerOrgPolicyConstraint.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AnalyzerOrgPolicyConstraint.Builder>
-
mergeFrom
public AnalyzerOrgPolicyConstraint.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AnalyzerOrgPolicyConstraint.Builder>- Throws:
IOException
-
getConstraintDefinitionCase
- Specified by:
getConstraintDefinitionCasein interfaceAnalyzerOrgPolicyConstraintOrBuilder
-
clearConstraintDefinition
-
hasGoogleDefinedConstraint
public boolean hasGoogleDefinedConstraint()The definition of the canned constraint defined by Google.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1;- Specified by:
hasGoogleDefinedConstraintin interfaceAnalyzerOrgPolicyConstraintOrBuilder- Returns:
- Whether the googleDefinedConstraint field is set.
-
getGoogleDefinedConstraint
The definition of the canned constraint defined by Google.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1;- Specified by:
getGoogleDefinedConstraintin interfaceAnalyzerOrgPolicyConstraintOrBuilder- Returns:
- The googleDefinedConstraint.
-
setGoogleDefinedConstraint
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
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; -
mergeGoogleDefinedConstraint
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; -
clearGoogleDefinedConstraint
The definition of the canned constraint defined by Google.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; -
getGoogleDefinedConstraintBuilder
The definition of the canned constraint defined by Google.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1; -
getGoogleDefinedConstraintOrBuilder
The definition of the canned constraint defined by Google.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1;- Specified by:
getGoogleDefinedConstraintOrBuilderin interfaceAnalyzerOrgPolicyConstraintOrBuilder
-
hasCustomConstraint
public boolean hasCustomConstraint()The definition of the custom constraint.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2;- Specified by:
hasCustomConstraintin interfaceAnalyzerOrgPolicyConstraintOrBuilder- Returns:
- Whether the customConstraint field is set.
-
getCustomConstraint
The definition of the custom constraint.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2;- Specified by:
getCustomConstraintin interfaceAnalyzerOrgPolicyConstraintOrBuilder- Returns:
- The customConstraint.
-
setCustomConstraint
public AnalyzerOrgPolicyConstraint.Builder setCustomConstraint(AnalyzerOrgPolicyConstraint.CustomConstraint value) The definition of the custom constraint.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; -
setCustomConstraint
public AnalyzerOrgPolicyConstraint.Builder setCustomConstraint(AnalyzerOrgPolicyConstraint.CustomConstraint.Builder builderForValue) The definition of the custom constraint.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; -
mergeCustomConstraint
public AnalyzerOrgPolicyConstraint.Builder mergeCustomConstraint(AnalyzerOrgPolicyConstraint.CustomConstraint value) The definition of the custom constraint.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; -
clearCustomConstraint
The definition of the custom constraint.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; -
getCustomConstraintBuilder
The definition of the custom constraint.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2; -
getCustomConstraintOrBuilder
The definition of the custom constraint.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2;- Specified by:
getCustomConstraintOrBuilderin interfaceAnalyzerOrgPolicyConstraintOrBuilder
-