Class UpdateSecurityProfileRequest (0.94.0)

public final class UpdateSecurityProfileRequest extends GeneratedMessage implements UpdateSecurityProfileRequestOrBuilder

Request used by the UpdateSecurityProfile method.

Protobuf type google.cloud.networksecurity.v1.UpdateSecurityProfileRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > UpdateSecurityProfileRequest

Static Fields

SECURITY_PROFILE_FIELD_NUMBER

public static final int SECURITY_PROFILE_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpdateSecurityProfileRequest getDefaultInstance()
Returns
Type Description
UpdateSecurityProfileRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static UpdateSecurityProfileRequest.Builder newBuilder()
Returns
Type Description
UpdateSecurityProfileRequest.Builder

newBuilder(UpdateSecurityProfileRequest prototype)

public static UpdateSecurityProfileRequest.Builder newBuilder(UpdateSecurityProfileRequest prototype)
Parameter
Name Description
prototype UpdateSecurityProfileRequest
Returns
Type Description
UpdateSecurityProfileRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateSecurityProfileRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateSecurityProfileRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateSecurityProfileRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateSecurityProfileRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpdateSecurityProfileRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpdateSecurityProfileRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateSecurityProfileRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateSecurityProfileRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateSecurityProfileRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpdateSecurityProfileRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateSecurityProfileRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateSecurityProfileRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateSecurityProfileRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpdateSecurityProfileRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateSecurityProfileRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateSecurityProfileRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpdateSecurityProfileRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateSecurityProfileRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateSecurityProfileRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateSecurityProfileRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpdateSecurityProfileRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpdateSecurityProfileRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateSecurityProfileRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateSecurityProfileRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UpdateSecurityProfileRequest> parser()
Returns
Type Description
Parser<UpdateSecurityProfileRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public UpdateSecurityProfileRequest getDefaultInstanceForType()
Returns
Type Description
UpdateSecurityProfileRequest

getParserForType()

public Parser<UpdateSecurityProfileRequest> getParserForType()
Returns
Type Description
Parser<UpdateSecurityProfileRequest>
Overrides

getSecurityProfile()

public SecurityProfile getSecurityProfile()

Required. Updated SecurityProfile resource.

.google.cloud.networksecurity.v1.SecurityProfile security_profile = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SecurityProfile

The securityProfile.

getSecurityProfileOrBuilder()

public SecurityProfileOrBuilder getSecurityProfileOrBuilder()

Required. Updated SecurityProfile resource.

.google.cloud.networksecurity.v1.SecurityProfile security_profile = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SecurityProfileOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Required. Field mask is used to specify the fields to be overwritten in the SecurityProfile 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.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Field mask is used to specify the fields to be overwritten in the SecurityProfile 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.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder

hasSecurityProfile()

public boolean hasSecurityProfile()

Required. Updated SecurityProfile resource.

.google.cloud.networksecurity.v1.SecurityProfile security_profile = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the securityProfile field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. Field mask is used to specify the fields to be overwritten in the SecurityProfile 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.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the updateMask field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpdateSecurityProfileRequest.Builder newBuilderForType()
Returns
Type Description
UpdateSecurityProfileRequest.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected UpdateSecurityProfileRequest.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpdateSecurityProfileRequest.Builder
Overrides

toBuilder()

public UpdateSecurityProfileRequest.Builder toBuilder()
Returns
Type Description
UpdateSecurityProfileRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException