public static final class GuestPolicies.UpdateGuestPolicyRequest.Builder extends GeneratedMessageV3.Builder<GuestPolicies.UpdateGuestPolicyRequest.Builder> implements GuestPolicies.UpdateGuestPolicyRequestOrBuilder
A request message for updating a guest policy.
Protobuf type google.cloud.osconfig.v1beta.UpdateGuestPolicyRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GuestPolicies.UpdateGuestPolicyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public GuestPolicies.UpdateGuestPolicyRequest build()
Returns
buildPartial()
public GuestPolicies.UpdateGuestPolicyRequest buildPartial()
Returns
clear()
public GuestPolicies.UpdateGuestPolicyRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public GuestPolicies.UpdateGuestPolicyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearGuestPolicy()
public GuestPolicies.UpdateGuestPolicyRequest.Builder clearGuestPolicy()
Required. The updated GuestPolicy.
.google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public GuestPolicies.UpdateGuestPolicyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearUpdateMask()
public GuestPolicies.UpdateGuestPolicyRequest.Builder clearUpdateMask()
Field mask that controls which fields of the guest policy should be
updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
clone()
public GuestPolicies.UpdateGuestPolicyRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public GuestPolicies.UpdateGuestPolicyRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getGuestPolicy()
public GuestPolicies.GuestPolicy getGuestPolicy()
Required. The updated GuestPolicy.
.google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getGuestPolicyBuilder()
public GuestPolicies.GuestPolicy.Builder getGuestPolicyBuilder()
Required. The updated GuestPolicy.
.google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getGuestPolicyOrBuilder()
public GuestPolicies.GuestPolicyOrBuilder getGuestPolicyOrBuilder()
Required. The updated GuestPolicy.
.google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getUpdateMask()
public FieldMask getUpdateMask()
Field mask that controls which fields of the guest policy should be
updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Field mask that controls which fields of the guest policy should be
updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Field mask that controls which fields of the guest policy should be
updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
hasGuestPolicy()
public boolean hasGuestPolicy()
Required. The updated GuestPolicy.
.google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the guestPolicy field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Field mask that controls which fields of the guest policy should be
updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
Type | Description |
boolean | Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(GuestPolicies.UpdateGuestPolicyRequest other)
public GuestPolicies.UpdateGuestPolicyRequest.Builder mergeFrom(GuestPolicies.UpdateGuestPolicyRequest other)
Parameter
Returns
public GuestPolicies.UpdateGuestPolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GuestPolicies.UpdateGuestPolicyRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeGuestPolicy(GuestPolicies.GuestPolicy value)
public GuestPolicies.UpdateGuestPolicyRequest.Builder mergeGuestPolicy(GuestPolicies.GuestPolicy value)
Required. The updated GuestPolicy.
.google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GuestPolicies.UpdateGuestPolicyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public GuestPolicies.UpdateGuestPolicyRequest.Builder mergeUpdateMask(FieldMask value)
Field mask that controls which fields of the guest policy should be
updated.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public GuestPolicies.UpdateGuestPolicyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setGuestPolicy(GuestPolicies.GuestPolicy value)
public GuestPolicies.UpdateGuestPolicyRequest.Builder setGuestPolicy(GuestPolicies.GuestPolicy value)
Required. The updated GuestPolicy.
.google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setGuestPolicy(GuestPolicies.GuestPolicy.Builder builderForValue)
public GuestPolicies.UpdateGuestPolicyRequest.Builder setGuestPolicy(GuestPolicies.GuestPolicy.Builder builderForValue)
Required. The updated GuestPolicy.
.google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GuestPolicies.UpdateGuestPolicyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GuestPolicies.UpdateGuestPolicyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public GuestPolicies.UpdateGuestPolicyRequest.Builder setUpdateMask(FieldMask value)
Field mask that controls which fields of the guest policy should be
updated.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Returns
setUpdateMask(FieldMask.Builder builderForValue)
public GuestPolicies.UpdateGuestPolicyRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Field mask that controls which fields of the guest policy should be
updated.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Name | Description |
builderForValue | Builder
|
Returns