public static final class UpdateOSPolicyAssignmentRequest.Builder extends GeneratedMessageV3.Builder<UpdateOSPolicyAssignmentRequest.Builder> implements UpdateOSPolicyAssignmentRequestOrBuilder
A request message to update an OS policy assignment
Protobuf type google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest
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 UpdateOSPolicyAssignmentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateOSPolicyAssignmentRequest build()
buildPartial()
public UpdateOSPolicyAssignmentRequest buildPartial()
clear()
public UpdateOSPolicyAssignmentRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateOSPolicyAssignmentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateOSPolicyAssignmentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearOsPolicyAssignment()
public UpdateOSPolicyAssignmentRequest.Builder clearOsPolicyAssignment()
Required. The updated OS policy assignment.
.google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED];
clearUpdateMask()
public UpdateOSPolicyAssignmentRequest.Builder clearUpdateMask()
Optional. Field mask that controls which fields of the assignment should be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
clone()
public UpdateOSPolicyAssignmentRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateOSPolicyAssignmentRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getOsPolicyAssignment()
public OSPolicyAssignment getOsPolicyAssignment()
Required. The updated OS policy assignment.
.google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED];
getOsPolicyAssignmentBuilder()
public OSPolicyAssignment.Builder getOsPolicyAssignmentBuilder()
Required. The updated OS policy assignment.
.google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED];
getOsPolicyAssignmentOrBuilder()
public OSPolicyAssignmentOrBuilder getOsPolicyAssignmentOrBuilder()
Required. The updated OS policy assignment.
.google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED];
getUpdateMask()
public FieldMask getUpdateMask()
Optional. Field mask that controls which fields of the assignment should be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
FieldMask |
The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Optional. Field mask that controls which fields of the assignment should be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. Field mask that controls which fields of the assignment should be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
hasOsPolicyAssignment()
public boolean hasOsPolicyAssignment()
Required. The updated OS policy assignment.
.google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the osPolicyAssignment field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Optional. Field mask that controls which fields of the assignment should be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateOSPolicyAssignmentRequest other)
public UpdateOSPolicyAssignmentRequest.Builder mergeFrom(UpdateOSPolicyAssignmentRequest other)
public UpdateOSPolicyAssignmentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateOSPolicyAssignmentRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeOsPolicyAssignment(OSPolicyAssignment value)
public UpdateOSPolicyAssignmentRequest.Builder mergeOsPolicyAssignment(OSPolicyAssignment value)
Required. The updated OS policy assignment.
.google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateOSPolicyAssignmentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateOSPolicyAssignmentRequest.Builder mergeUpdateMask(FieldMask value)
Optional. Field mask that controls which fields of the assignment should be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateOSPolicyAssignmentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setOsPolicyAssignment(OSPolicyAssignment value)
public UpdateOSPolicyAssignmentRequest.Builder setOsPolicyAssignment(OSPolicyAssignment value)
Required. The updated OS policy assignment.
.google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED];
setOsPolicyAssignment(OSPolicyAssignment.Builder builderForValue)
public UpdateOSPolicyAssignmentRequest.Builder setOsPolicyAssignment(OSPolicyAssignment.Builder builderForValue)
Required. The updated OS policy assignment.
.google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 1 [(.google.api.field_behavior) = REQUIRED];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateOSPolicyAssignmentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateOSPolicyAssignmentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateOSPolicyAssignmentRequest.Builder setUpdateMask(FieldMask value)
Optional. Field mask that controls which fields of the assignment should be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateOSPolicyAssignmentRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Optional. Field mask that controls which fields of the assignment should be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
builderForValue |
Builder
|