public static final class UpdatePostureRequest.Builder extends GeneratedMessageV3.Builder<UpdatePostureRequest.Builder> implements UpdatePostureRequestOrBuilder
Message for updating a Posture.
Protobuf type google.cloud.securityposture.v1.UpdatePostureRequest
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 UpdatePostureRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdatePostureRequest build()
buildPartial()
public UpdatePostureRequest buildPartial()
clear()
public UpdatePostureRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdatePostureRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdatePostureRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPosture()
public UpdatePostureRequest.Builder clearPosture()
Required. The resource being updated.
.google.cloud.securityposture.v1.Posture posture = 2 [(.google.api.field_behavior) = REQUIRED];
clearRevisionId()
public UpdatePostureRequest.Builder clearRevisionId()
Required. Posture revision which needs to be updated.
string revision_id = 3 [(.google.api.field_behavior) = REQUIRED];
clearUpdateMask()
public UpdatePostureRequest.Builder clearUpdateMask()
Required. Field mask is used to specify the fields to be overwritten in the
Posture resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask. If the
user does not provide a mask then all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
public UpdatePostureRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdatePostureRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getPosture()
public Posture getPosture()
Required. The resource being updated.
.google.cloud.securityposture.v1.Posture posture = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
Posture | The posture.
|
getPostureBuilder()
public Posture.Builder getPostureBuilder()
Required. The resource being updated.
.google.cloud.securityposture.v1.Posture posture = 2 [(.google.api.field_behavior) = REQUIRED];
getPostureOrBuilder()
public PostureOrBuilder getPostureOrBuilder()
Required. The resource being updated.
.google.cloud.securityposture.v1.Posture posture = 2 [(.google.api.field_behavior) = REQUIRED];
getRevisionId()
public String getRevisionId()
Required. Posture revision which needs to be updated.
string revision_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
String | The revisionId.
|
getRevisionIdBytes()
public ByteString getRevisionIdBytes()
Required. Posture revision which needs to be updated.
string revision_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
ByteString | The bytes for revisionId.
|
getUpdateMask()
public FieldMask getUpdateMask()
Required. Field mask is used to specify the fields to be overwritten in the
Posture resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask. If the
user does not provide a mask then all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
FieldMask | The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Required. Field mask is used to specify the fields to be overwritten in the
Posture resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask. If the
user does not provide a mask then all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required. Field mask is used to specify the fields to be overwritten in the
Posture resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask. If the
user does not provide a mask then all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
hasPosture()
public boolean hasPosture()
Required. The resource being updated.
.google.cloud.securityposture.v1.Posture posture = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the posture field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Required. Field mask is used to specify the fields to be overwritten in the
Posture resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask. If the
user does not provide a mask then all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdatePostureRequest other)
public UpdatePostureRequest.Builder mergeFrom(UpdatePostureRequest other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdatePostureRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdatePostureRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergePosture(Posture value)
public UpdatePostureRequest.Builder mergePosture(Posture value)
Required. The resource being updated.
.google.cloud.securityposture.v1.Posture posture = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | Posture
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdatePostureRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdatePostureRequest.Builder mergeUpdateMask(FieldMask value)
Required. Field mask is used to specify the fields to be overwritten in the
Posture resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask. If the
user does not provide a mask then all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdatePostureRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPosture(Posture value)
public UpdatePostureRequest.Builder setPosture(Posture value)
Required. The resource being updated.
.google.cloud.securityposture.v1.Posture posture = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | Posture
|
setPosture(Posture.Builder builderForValue)
public UpdatePostureRequest.Builder setPosture(Posture.Builder builderForValue)
Required. The resource being updated.
.google.cloud.securityposture.v1.Posture posture = 2 [(.google.api.field_behavior) = REQUIRED];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdatePostureRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setRevisionId(String value)
public UpdatePostureRequest.Builder setRevisionId(String value)
Required. Posture revision which needs to be updated.
string revision_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | String
The revisionId to set.
|
setRevisionIdBytes(ByteString value)
public UpdatePostureRequest.Builder setRevisionIdBytes(ByteString value)
Required. Posture revision which needs to be updated.
string revision_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for revisionId to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdatePostureRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdatePostureRequest.Builder setUpdateMask(FieldMask value)
Required. Field mask is used to specify the fields to be overwritten in the
Posture resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask. If the
user does not provide a mask then all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
setUpdateMask(FieldMask.Builder builderForValue)
public UpdatePostureRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Required. Field mask is used to specify the fields to be overwritten in the
Posture resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask. If the
user does not provide a mask then all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
builderForValue | Builder
|