Class UpdateExternalSystemRequest (2.28.0)

public final class UpdateExternalSystemRequest extends GeneratedMessageV3 implements UpdateExternalSystemRequestOrBuilder

Request message for updating a ExternalSystem resource.

Protobuf type google.cloud.securitycenter.v1.UpdateExternalSystemRequest

Static Fields

EXTERNAL_SYSTEM_FIELD_NUMBER

public static final int EXTERNAL_SYSTEM_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpdateExternalSystemRequest getDefaultInstance()
Returns
TypeDescription
UpdateExternalSystemRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static UpdateExternalSystemRequest.Builder newBuilder()
Returns
TypeDescription
UpdateExternalSystemRequest.Builder

newBuilder(UpdateExternalSystemRequest prototype)

public static UpdateExternalSystemRequest.Builder newBuilder(UpdateExternalSystemRequest prototype)
Parameter
NameDescription
prototypeUpdateExternalSystemRequest
Returns
TypeDescription
UpdateExternalSystemRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateExternalSystemRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateExternalSystemRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateExternalSystemRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateExternalSystemRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static UpdateExternalSystemRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
UpdateExternalSystemRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateExternalSystemRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateExternalSystemRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateExternalSystemRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
UpdateExternalSystemRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateExternalSystemRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateExternalSystemRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateExternalSystemRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
UpdateExternalSystemRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateExternalSystemRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateExternalSystemRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static UpdateExternalSystemRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateExternalSystemRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateExternalSystemRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateExternalSystemRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static UpdateExternalSystemRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
UpdateExternalSystemRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateExternalSystemRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateExternalSystemRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<UpdateExternalSystemRequest> parser()
Returns
TypeDescription
Parser<UpdateExternalSystemRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public UpdateExternalSystemRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateExternalSystemRequest

getExternalSystem()

public ExternalSystem getExternalSystem()

Required. The external system resource to update.

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

Returns
TypeDescription
ExternalSystem

The externalSystem.

getExternalSystemOrBuilder()

public ExternalSystemOrBuilder getExternalSystemOrBuilder()

Required. The external system resource to update.

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

Returns
TypeDescription
ExternalSystemOrBuilder

getParserForType()

public Parser<UpdateExternalSystemRequest> getParserForType()
Returns
TypeDescription
Parser<UpdateExternalSystemRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
FieldMaskOrBuilder

hasExternalSystem()

public boolean hasExternalSystem()

Required. The external system resource to update.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public UpdateExternalSystemRequest.Builder newBuilderForType()
Returns
TypeDescription
UpdateExternalSystemRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateExternalSystemRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
UpdateExternalSystemRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public UpdateExternalSystemRequest.Builder toBuilder()
Returns
TypeDescription
UpdateExternalSystemRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException