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
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 GuestPolicies.UpdateGuestPolicyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public GuestPolicies.UpdateGuestPolicyRequest build()
buildPartial()
public GuestPolicies.UpdateGuestPolicyRequest buildPartial()
clear()
public GuestPolicies.UpdateGuestPolicyRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public GuestPolicies.UpdateGuestPolicyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearGuestPolicy()
public GuestPolicies.UpdateGuestPolicyRequest.Builder clearGuestPolicy()
Required. The updated GuestPolicy.
.google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public GuestPolicies.UpdateGuestPolicyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public GuestPolicies.UpdateGuestPolicyRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public GuestPolicies.UpdateGuestPolicyRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getGuestPolicy()
public GuestPolicies.GuestPolicy getGuestPolicy()
Required. The updated GuestPolicy.
.google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED];
getGuestPolicyBuilder()
public GuestPolicies.GuestPolicy.Builder getGuestPolicyBuilder()
Required. The updated GuestPolicy.
.google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED];
getGuestPolicyOrBuilder()
public GuestPolicies.GuestPolicyOrBuilder getGuestPolicyOrBuilder()
Required. The updated GuestPolicy.
.google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 1 [(.google.api.field_behavior) = REQUIRED];
getUpdateMask()
public FieldMask getUpdateMask()
Field mask that controls which fields of the guest policy should be
updated.
.google.protobuf.FieldMask update_mask = 2;
Returns |
---|
Type | Description |
FieldMask | The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Field mask that controls which fields of the guest policy should be
updated.
.google.protobuf.FieldMask update_mask = 2;
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Field mask that controls which fields of the guest policy should be
updated.
.google.protobuf.FieldMask update_mask = 2;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(GuestPolicies.UpdateGuestPolicyRequest other)
public GuestPolicies.UpdateGuestPolicyRequest.Builder mergeFrom(GuestPolicies.UpdateGuestPolicyRequest other)
public GuestPolicies.UpdateGuestPolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GuestPolicies.UpdateGuestPolicyRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GuestPolicies.UpdateGuestPolicyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
setField(Descriptors.FieldDescriptor field, Object value)
public GuestPolicies.UpdateGuestPolicyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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];
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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GuestPolicies.UpdateGuestPolicyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GuestPolicies.UpdateGuestPolicyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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;
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
|