public static final class UpdateCustomConstraintRequest.Builder extends GeneratedMessageV3.Builder<UpdateCustomConstraintRequest.Builder> implements UpdateCustomConstraintRequestOrBuilder
The request sent to the [UpdateCustomConstraintRequest]
[google.cloud.orgpolicy.v2.OrgPolicy.UpdateCustomConstraint] method.
Protobuf type google.cloud.orgpolicy.v2.UpdateCustomConstraintRequest
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 UpdateCustomConstraintRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateCustomConstraintRequest build()
buildPartial()
public UpdateCustomConstraintRequest buildPartial()
clear()
public UpdateCustomConstraintRequest.Builder clear()
Overrides
clearCustomConstraint()
public UpdateCustomConstraintRequest.Builder clearCustomConstraint()
Required. CustomConstraint
to update.
.google.cloud.orgpolicy.v2.CustomConstraint custom_constraint = 1 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public UpdateCustomConstraintRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateCustomConstraintRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public UpdateCustomConstraintRequest.Builder clone()
Overrides
getCustomConstraint()
public CustomConstraint getCustomConstraint()
Required. CustomConstraint
to update.
.google.cloud.orgpolicy.v2.CustomConstraint custom_constraint = 1 [(.google.api.field_behavior) = REQUIRED];
getCustomConstraintBuilder()
public CustomConstraint.Builder getCustomConstraintBuilder()
Required. CustomConstraint
to update.
.google.cloud.orgpolicy.v2.CustomConstraint custom_constraint = 1 [(.google.api.field_behavior) = REQUIRED];
getCustomConstraintOrBuilder()
public CustomConstraintOrBuilder getCustomConstraintOrBuilder()
Required. CustomConstraint
to update.
.google.cloud.orgpolicy.v2.CustomConstraint custom_constraint = 1 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public UpdateCustomConstraintRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
hasCustomConstraint()
public boolean hasCustomConstraint()
Required. CustomConstraint
to update.
.google.cloud.orgpolicy.v2.CustomConstraint custom_constraint = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the customConstraint field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCustomConstraint(CustomConstraint value)
public UpdateCustomConstraintRequest.Builder mergeCustomConstraint(CustomConstraint value)
Required. CustomConstraint
to update.
.google.cloud.orgpolicy.v2.CustomConstraint custom_constraint = 1 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(UpdateCustomConstraintRequest other)
public UpdateCustomConstraintRequest.Builder mergeFrom(UpdateCustomConstraintRequest other)
public UpdateCustomConstraintRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateCustomConstraintRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateCustomConstraintRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCustomConstraint(CustomConstraint value)
public UpdateCustomConstraintRequest.Builder setCustomConstraint(CustomConstraint value)
Required. CustomConstraint
to update.
.google.cloud.orgpolicy.v2.CustomConstraint custom_constraint = 1 [(.google.api.field_behavior) = REQUIRED];
setCustomConstraint(CustomConstraint.Builder builderForValue)
public UpdateCustomConstraintRequest.Builder setCustomConstraint(CustomConstraint.Builder builderForValue)
Required. CustomConstraint
to update.
.google.cloud.orgpolicy.v2.CustomConstraint custom_constraint = 1 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateCustomConstraintRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateCustomConstraintRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateCustomConstraintRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides