public final class UpdateSecurityCenterServiceRequest extends GeneratedMessageV3 implements UpdateSecurityCenterServiceRequestOrBuilder
Request message for updating a Security Command Center service.
Protobuf type google.cloud.securitycentermanagement.v1.UpdateSecurityCenterServiceRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
SECURITY_CENTER_SERVICE_FIELD_NUMBER
public static final int SECURITY_CENTER_SERVICE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
UPDATE_MASK_FIELD_NUMBER
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
VALIDATE_ONLY_FIELD_NUMBER
public static final int VALIDATE_ONLY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static UpdateSecurityCenterServiceRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static UpdateSecurityCenterServiceRequest.Builder newBuilder()
newBuilder(UpdateSecurityCenterServiceRequest prototype)
public static UpdateSecurityCenterServiceRequest.Builder newBuilder(UpdateSecurityCenterServiceRequest prototype)
public static UpdateSecurityCenterServiceRequest parseDelimitedFrom(InputStream input)
public static UpdateSecurityCenterServiceRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static UpdateSecurityCenterServiceRequest parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateSecurityCenterServiceRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static UpdateSecurityCenterServiceRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateSecurityCenterServiceRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateSecurityCenterServiceRequest parseFrom(CodedInputStream input)
public static UpdateSecurityCenterServiceRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateSecurityCenterServiceRequest parseFrom(InputStream input)
public static UpdateSecurityCenterServiceRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static UpdateSecurityCenterServiceRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateSecurityCenterServiceRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<UpdateSecurityCenterServiceRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public UpdateSecurityCenterServiceRequest getDefaultInstanceForType()
getParserForType()
public Parser<UpdateSecurityCenterServiceRequest> getParserForType()
Overrides
getSecurityCenterService()
public SecurityCenterService getSecurityCenterService()
Required. The updated service.
.google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_service = 1 [(.google.api.field_behavior) = REQUIRED];
getSecurityCenterServiceOrBuilder()
public SecurityCenterServiceOrBuilder getSecurityCenterServiceOrBuilder()
Required. The updated service.
.google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_service = 1 [(.google.api.field_behavior) = REQUIRED];
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getUpdateMask()
public FieldMask getUpdateMask()
Required. The list of fields to be updated. Possible values:
- "intended_enablement_state"
- "modules"
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
FieldMask |
The updateMask.
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required. The list of fields to be updated. Possible values:
- "intended_enablement_state"
- "modules"
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
getValidateOnly()
public boolean getValidateOnly()
Optional. When set to true, only validations (including IAM checks) will be
done for the request (service will not be updated). An OK response
indicates that the request is valid, while an error response indicates that
the request is invalid. Note that a subsequent request to actually update
the service could still fail for one of the following reasons:
- The state could have changed (e.g. IAM permission lost).
- A failure occurred while trying to delete the module.
bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
The validateOnly.
|
hasSecurityCenterService()
public boolean hasSecurityCenterService()
Required. The updated service.
.google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_service = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the securityCenterService field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Required. The list of fields to be updated. Possible values:
- "intended_enablement_state"
- "modules"
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the updateMask field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public UpdateSecurityCenterServiceRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpdateSecurityCenterServiceRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public UpdateSecurityCenterServiceRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides