Class ExternalSystem.Builder (2.40.0)

public static final class ExternalSystem.Builder extends GeneratedMessageV3.Builder<ExternalSystem.Builder> implements ExternalSystemOrBuilder

Representation of third party SIEM/SOAR fields within SCC.

Protobuf type google.cloud.securitycenter.v1.ExternalSystem

Static Methods

getDescriptor()

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

Methods

addAllAssignees(Iterable<String> values)

public ExternalSystem.Builder addAllAssignees(Iterable<String> values)

References primary/secondary etc assignees in the external system.

repeated string assignees = 2;

Parameter
NameDescription
valuesIterable<String>

The assignees to add.

Returns
TypeDescription
ExternalSystem.Builder

This builder for chaining.

addAssignees(String value)

public ExternalSystem.Builder addAssignees(String value)

References primary/secondary etc assignees in the external system.

repeated string assignees = 2;

Parameter
NameDescription
valueString

The assignees to add.

Returns
TypeDescription
ExternalSystem.Builder

This builder for chaining.

addAssigneesBytes(ByteString value)

public ExternalSystem.Builder addAssigneesBytes(ByteString value)

References primary/secondary etc assignees in the external system.

repeated string assignees = 2;

Parameter
NameDescription
valueByteString

The bytes of the assignees to add.

Returns
TypeDescription
ExternalSystem.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExternalSystem.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ExternalSystem.Builder
Overrides

build()

public ExternalSystem build()
Returns
TypeDescription
ExternalSystem

buildPartial()

public ExternalSystem buildPartial()
Returns
TypeDescription
ExternalSystem

clear()

public ExternalSystem.Builder clear()
Returns
TypeDescription
ExternalSystem.Builder
Overrides

clearAssignees()

public ExternalSystem.Builder clearAssignees()

References primary/secondary etc assignees in the external system.

repeated string assignees = 2;

Returns
TypeDescription
ExternalSystem.Builder

This builder for chaining.

clearExternalSystemUpdateTime()

public ExternalSystem.Builder clearExternalSystemUpdateTime()

The most recent time when the corresponding finding's ticket/tracker was updated in the external system.

.google.protobuf.Timestamp external_system_update_time = 5;

Returns
TypeDescription
ExternalSystem.Builder

clearExternalUid()

public ExternalSystem.Builder clearExternalUid()

Identifier that's used to track the given finding in the external system.

string external_uid = 3;

Returns
TypeDescription
ExternalSystem.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ExternalSystem.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ExternalSystem.Builder
Overrides

clearName()

public ExternalSystem.Builder clearName()

Full resource name of the external system, for example: "organizations/1234/sources/5678/findings/123456/externalSystems/jira", "folders/1234/sources/5678/findings/123456/externalSystems/jira", "projects/1234/sources/5678/findings/123456/externalSystems/jira"

string name = 1;

Returns
TypeDescription
ExternalSystem.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ExternalSystem.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ExternalSystem.Builder
Overrides

clearStatus()

public ExternalSystem.Builder clearStatus()

Most recent status of the corresponding finding's ticket/tracker in the external system.

string status = 4;

Returns
TypeDescription
ExternalSystem.Builder

This builder for chaining.

clone()

public ExternalSystem.Builder clone()
Returns
TypeDescription
ExternalSystem.Builder
Overrides

getAssignees(int index)

public String getAssignees(int index)

References primary/secondary etc assignees in the external system.

repeated string assignees = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The assignees at the given index.

getAssigneesBytes(int index)

public ByteString getAssigneesBytes(int index)

References primary/secondary etc assignees in the external system.

repeated string assignees = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the assignees at the given index.

getAssigneesCount()

public int getAssigneesCount()

References primary/secondary etc assignees in the external system.

repeated string assignees = 2;

Returns
TypeDescription
int

The count of assignees.

getAssigneesList()

public ProtocolStringList getAssigneesList()

References primary/secondary etc assignees in the external system.

repeated string assignees = 2;

Returns
TypeDescription
ProtocolStringList

A list containing the assignees.

getDefaultInstanceForType()

public ExternalSystem getDefaultInstanceForType()
Returns
TypeDescription
ExternalSystem

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExternalSystemUpdateTime()

public Timestamp getExternalSystemUpdateTime()

The most recent time when the corresponding finding's ticket/tracker was updated in the external system.

.google.protobuf.Timestamp external_system_update_time = 5;

Returns
TypeDescription
Timestamp

The externalSystemUpdateTime.

getExternalSystemUpdateTimeBuilder()

public Timestamp.Builder getExternalSystemUpdateTimeBuilder()

The most recent time when the corresponding finding's ticket/tracker was updated in the external system.

.google.protobuf.Timestamp external_system_update_time = 5;

Returns
TypeDescription
Builder

getExternalSystemUpdateTimeOrBuilder()

public TimestampOrBuilder getExternalSystemUpdateTimeOrBuilder()

The most recent time when the corresponding finding's ticket/tracker was updated in the external system.

.google.protobuf.Timestamp external_system_update_time = 5;

Returns
TypeDescription
TimestampOrBuilder

getExternalUid()

public String getExternalUid()

Identifier that's used to track the given finding in the external system.

string external_uid = 3;

Returns
TypeDescription
String

The externalUid.

getExternalUidBytes()

public ByteString getExternalUidBytes()

Identifier that's used to track the given finding in the external system.

string external_uid = 3;

Returns
TypeDescription
ByteString

The bytes for externalUid.

getName()

public String getName()

Full resource name of the external system, for example: "organizations/1234/sources/5678/findings/123456/externalSystems/jira", "folders/1234/sources/5678/findings/123456/externalSystems/jira", "projects/1234/sources/5678/findings/123456/externalSystems/jira"

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Full resource name of the external system, for example: "organizations/1234/sources/5678/findings/123456/externalSystems/jira", "folders/1234/sources/5678/findings/123456/externalSystems/jira", "projects/1234/sources/5678/findings/123456/externalSystems/jira"

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getStatus()

public String getStatus()

Most recent status of the corresponding finding's ticket/tracker in the external system.

string status = 4;

Returns
TypeDescription
String

The status.

getStatusBytes()

public ByteString getStatusBytes()

Most recent status of the corresponding finding's ticket/tracker in the external system.

string status = 4;

Returns
TypeDescription
ByteString

The bytes for status.

hasExternalSystemUpdateTime()

public boolean hasExternalSystemUpdateTime()

The most recent time when the corresponding finding's ticket/tracker was updated in the external system.

.google.protobuf.Timestamp external_system_update_time = 5;

Returns
TypeDescription
boolean

Whether the externalSystemUpdateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeExternalSystemUpdateTime(Timestamp value)

public ExternalSystem.Builder mergeExternalSystemUpdateTime(Timestamp value)

The most recent time when the corresponding finding's ticket/tracker was updated in the external system.

.google.protobuf.Timestamp external_system_update_time = 5;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ExternalSystem.Builder

mergeFrom(ExternalSystem other)

public ExternalSystem.Builder mergeFrom(ExternalSystem other)
Parameter
NameDescription
otherExternalSystem
Returns
TypeDescription
ExternalSystem.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExternalSystem.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExternalSystem.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ExternalSystem.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ExternalSystem.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExternalSystem.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExternalSystem.Builder
Overrides

setAssignees(int index, String value)

public ExternalSystem.Builder setAssignees(int index, String value)

References primary/secondary etc assignees in the external system.

repeated string assignees = 2;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The assignees to set.

Returns
TypeDescription
ExternalSystem.Builder

This builder for chaining.

setExternalSystemUpdateTime(Timestamp value)

public ExternalSystem.Builder setExternalSystemUpdateTime(Timestamp value)

The most recent time when the corresponding finding's ticket/tracker was updated in the external system.

.google.protobuf.Timestamp external_system_update_time = 5;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ExternalSystem.Builder

setExternalSystemUpdateTime(Timestamp.Builder builderForValue)

public ExternalSystem.Builder setExternalSystemUpdateTime(Timestamp.Builder builderForValue)

The most recent time when the corresponding finding's ticket/tracker was updated in the external system.

.google.protobuf.Timestamp external_system_update_time = 5;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
ExternalSystem.Builder

setExternalUid(String value)

public ExternalSystem.Builder setExternalUid(String value)

Identifier that's used to track the given finding in the external system.

string external_uid = 3;

Parameter
NameDescription
valueString

The externalUid to set.

Returns
TypeDescription
ExternalSystem.Builder

This builder for chaining.

setExternalUidBytes(ByteString value)

public ExternalSystem.Builder setExternalUidBytes(ByteString value)

Identifier that's used to track the given finding in the external system.

string external_uid = 3;

Parameter
NameDescription
valueByteString

The bytes for externalUid to set.

Returns
TypeDescription
ExternalSystem.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ExternalSystem.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ExternalSystem.Builder
Overrides

setName(String value)

public ExternalSystem.Builder setName(String value)

Full resource name of the external system, for example: "organizations/1234/sources/5678/findings/123456/externalSystems/jira", "folders/1234/sources/5678/findings/123456/externalSystems/jira", "projects/1234/sources/5678/findings/123456/externalSystems/jira"

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
ExternalSystem.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ExternalSystem.Builder setNameBytes(ByteString value)

Full resource name of the external system, for example: "organizations/1234/sources/5678/findings/123456/externalSystems/jira", "folders/1234/sources/5678/findings/123456/externalSystems/jira", "projects/1234/sources/5678/findings/123456/externalSystems/jira"

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
ExternalSystem.Builder

This builder for chaining.

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

public ExternalSystem.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ExternalSystem.Builder
Overrides

setStatus(String value)

public ExternalSystem.Builder setStatus(String value)

Most recent status of the corresponding finding's ticket/tracker in the external system.

string status = 4;

Parameter
NameDescription
valueString

The status to set.

Returns
TypeDescription
ExternalSystem.Builder

This builder for chaining.

setStatusBytes(ByteString value)

public ExternalSystem.Builder setStatusBytes(ByteString value)

Most recent status of the corresponding finding's ticket/tracker in the external system.

string status = 4;

Parameter
NameDescription
valueByteString

The bytes for status to set.

Returns
TypeDescription
ExternalSystem.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ExternalSystem.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExternalSystem.Builder
Overrides