Class UpdateExternalSystemRequest (2.63.0)

public final class UpdateExternalSystemRequest extends GeneratedMessageV3 implements UpdateExternalSystemRequestOrBuilder

Request message for updating a ExternalSystem resource.

Protobuf type google.cloud.securitycenter.v2.UpdateExternalSystemRequest

Static Fields

EXTERNAL_SYSTEM_FIELD_NUMBER

public static final int EXTERNAL_SYSTEM_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 UpdateExternalSystemRequest getDefaultInstance()
Returns
Type Description
UpdateExternalSystemRequest

getDescriptor()

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

newBuilder()

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

newBuilder(UpdateExternalSystemRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public UpdateExternalSystemRequest getDefaultInstanceForType()
Returns
Type Description
UpdateExternalSystemRequest

getExternalSystem()

public ExternalSystem getExternalSystem()

Required. The external system resource to update.

.google.cloud.securitycenter.v2.ExternalSystem external_system = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ExternalSystem

The externalSystem.

getExternalSystemOrBuilder()

public ExternalSystemOrBuilder getExternalSystemOrBuilder()

Required. The external system resource to update.

.google.cloud.securitycenter.v2.ExternalSystem external_system = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ExternalSystemOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

The FieldMask to use when updating the external system resource.

If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The FieldMask to use when updating the external system resource.

If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasExternalSystem()

public boolean hasExternalSystem()

Required. The external system resource to update.

.google.cloud.securitycenter.v2.ExternalSystem external_system = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the externalSystem field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The FieldMask to use when updating the external system resource.

If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateExternalSystemRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpdateExternalSystemRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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