public final class UpdateSecurityCenterServiceRequest extends GeneratedMessageV3 implements UpdateSecurityCenterServiceRequestOrBuilder
Request message for updating a Security Command Center service.
Protobuf type google.cloud.securitycentermanagement.v1.UpdateSecurityCenterServiceRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > UpdateSecurityCenterServiceRequestImplements
UpdateSecurityCenterServiceRequestOrBuilderStatic 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()
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static UpdateSecurityCenterServiceRequest.Builder newBuilder()
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest.Builder |
newBuilder(UpdateSecurityCenterServiceRequest prototype)
public static UpdateSecurityCenterServiceRequest.Builder newBuilder(UpdateSecurityCenterServiceRequest prototype)
Parameter | |
---|---|
Name | Description |
prototype |
UpdateSecurityCenterServiceRequest |
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest.Builder |
parseDelimitedFrom(InputStream input)
public static UpdateSecurityCenterServiceRequest parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateSecurityCenterServiceRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static UpdateSecurityCenterServiceRequest parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateSecurityCenterServiceRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static UpdateSecurityCenterServiceRequest parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateSecurityCenterServiceRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static UpdateSecurityCenterServiceRequest parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateSecurityCenterServiceRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static UpdateSecurityCenterServiceRequest parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateSecurityCenterServiceRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static UpdateSecurityCenterServiceRequest parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateSecurityCenterServiceRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<UpdateSecurityCenterServiceRequest> parser()
Returns | |
---|---|
Type | Description |
Parser<UpdateSecurityCenterServiceRequest> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public UpdateSecurityCenterServiceRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest |
getParserForType()
public Parser<UpdateSecurityCenterServiceRequest> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<UpdateSecurityCenterServiceRequest> |
getSecurityCenterService()
public SecurityCenterService getSecurityCenterService()
Required. The updated service.
.google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_service = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
SecurityCenterService |
The securityCenterService. |
getSecurityCenterServiceOrBuilder()
public SecurityCenterServiceOrBuilder getSecurityCenterServiceOrBuilder()
Required. The updated service.
.google.cloud.securitycentermanagement.v1.SecurityCenterService security_center_service = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
SecurityCenterServiceOrBuilder |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
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];
Returns | |
---|---|
Type | Description |
FieldMaskOrBuilder |
getValidateOnly()
public boolean getValidateOnly()
Optional. When set to true, only validations (including IAM checks) will done for the request (service will not be updated). An OK response indicates the request is valid while an error response indicates the request is invalid. Note that a subsequent request to actually update the service could still fail because 1. the state could have changed (e.g. IAM permission lost) or
- 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()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public UpdateSecurityCenterServiceRequest.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpdateSecurityCenterServiceRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public UpdateSecurityCenterServiceRequest.Builder toBuilder()
Returns | |
---|---|
Type | Description |
UpdateSecurityCenterServiceRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |