Class UpdateExternalSystemRequest.Builder (2.60.0)

public static final class UpdateExternalSystemRequest.Builder extends GeneratedMessageV3.Builder<UpdateExternalSystemRequest.Builder> implements UpdateExternalSystemRequestOrBuilder

Request message for updating a ExternalSystem resource.

Protobuf type google.cloud.securitycenter.v1.UpdateExternalSystemRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateExternalSystemRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateExternalSystemRequest.Builder
Overrides

build()

public UpdateExternalSystemRequest build()
Returns
Type Description
UpdateExternalSystemRequest

buildPartial()

public UpdateExternalSystemRequest buildPartial()
Returns
Type Description
UpdateExternalSystemRequest

clear()

public UpdateExternalSystemRequest.Builder clear()
Returns
Type Description
UpdateExternalSystemRequest.Builder
Overrides

clearExternalSystem()

public UpdateExternalSystemRequest.Builder clearExternalSystem()

Required. The external system resource to update.

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

Returns
Type Description
UpdateExternalSystemRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateExternalSystemRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateExternalSystemRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateExternalSystemRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateExternalSystemRequest.Builder
Overrides

clearUpdateMask()

public UpdateExternalSystemRequest.Builder clearUpdateMask()

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
UpdateExternalSystemRequest.Builder

clone()

public UpdateExternalSystemRequest.Builder clone()
Returns
Type Description
UpdateExternalSystemRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateExternalSystemRequest getDefaultInstanceForType()
Returns
Type Description
UpdateExternalSystemRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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
Type Description
ExternalSystem

The externalSystem.

getExternalSystemBuilder()

public ExternalSystem.Builder getExternalSystemBuilder()

Required. The external system resource to update.

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

Returns
Type Description
ExternalSystem.Builder

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
Type Description
ExternalSystemOrBuilder

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.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

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
Builder

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.v1.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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeExternalSystem(ExternalSystem value)

public UpdateExternalSystemRequest.Builder mergeExternalSystem(ExternalSystem value)

Required. The external system resource to update.

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

Parameter
Name Description
value ExternalSystem
Returns
Type Description
UpdateExternalSystemRequest.Builder

mergeFrom(UpdateExternalSystemRequest other)

public UpdateExternalSystemRequest.Builder mergeFrom(UpdateExternalSystemRequest other)
Parameter
Name Description
other UpdateExternalSystemRequest
Returns
Type Description
UpdateExternalSystemRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateExternalSystemRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateExternalSystemRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateExternalSystemRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateExternalSystemRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateExternalSystemRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateExternalSystemRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateExternalSystemRequest.Builder mergeUpdateMask(FieldMask value)

The FieldMask to use when updating the external system resource.

If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateExternalSystemRequest.Builder

setExternalSystem(ExternalSystem value)

public UpdateExternalSystemRequest.Builder setExternalSystem(ExternalSystem value)

Required. The external system resource to update.

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

Parameter
Name Description
value ExternalSystem
Returns
Type Description
UpdateExternalSystemRequest.Builder

setExternalSystem(ExternalSystem.Builder builderForValue)

public UpdateExternalSystemRequest.Builder setExternalSystem(ExternalSystem.Builder builderForValue)

Required. The external system resource to update.

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

Parameter
Name Description
builderForValue ExternalSystem.Builder
Returns
Type Description
UpdateExternalSystemRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateExternalSystemRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateExternalSystemRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateExternalSystemRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateExternalSystemRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateExternalSystemRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateExternalSystemRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateExternalSystemRequest.Builder setUpdateMask(FieldMask value)

The FieldMask to use when updating the external system resource.

If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateExternalSystemRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateExternalSystemRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

The FieldMask to use when updating the external system resource.

If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateExternalSystemRequest.Builder