Class ExternalSystem.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ExternalSystem.Builder>
-
- com.google.cloud.securitycenter.v1.ExternalSystem.Builder
-
- All Implemented Interfaces:
ExternalSystemOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ExternalSystem
public static final class ExternalSystem.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExternalSystem.Builder> implements ExternalSystemOrBuilder
Representation of third party SIEM/SOAR fields within SCC.
Protobuf typegoogle.cloud.securitycenter.v1.ExternalSystem
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ExternalSystem.Builder
addAllAssignees(Iterable<String> values)
References primary/secondary etc assignees in the external system.ExternalSystem.Builder
addAssignees(String value)
References primary/secondary etc assignees in the external system.ExternalSystem.Builder
addAssigneesBytes(com.google.protobuf.ByteString value)
References primary/secondary etc assignees in the external system.ExternalSystem.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ExternalSystem
build()
ExternalSystem
buildPartial()
ExternalSystem.Builder
clear()
ExternalSystem.Builder
clearAssignees()
References primary/secondary etc assignees in the external system.ExternalSystem.Builder
clearExternalSystemUpdateTime()
The most recent time when the corresponding finding's ticket/tracker was updated in the external system.ExternalSystem.Builder
clearExternalUid()
Identifier that's used to track the given finding in the external system.ExternalSystem.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
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"ExternalSystem.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ExternalSystem.Builder
clearStatus()
Most recent status of the corresponding finding's ticket/tracker in the external system.ExternalSystem.Builder
clone()
String
getAssignees(int index)
References primary/secondary etc assignees in the external system.com.google.protobuf.ByteString
getAssigneesBytes(int index)
References primary/secondary etc assignees in the external system.int
getAssigneesCount()
References primary/secondary etc assignees in the external system.com.google.protobuf.ProtocolStringList
getAssigneesList()
References primary/secondary etc assignees in the external system.ExternalSystem
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.Timestamp
getExternalSystemUpdateTime()
The most recent time when the corresponding finding's ticket/tracker was updated in the external system.com.google.protobuf.Timestamp.Builder
getExternalSystemUpdateTimeBuilder()
The most recent time when the corresponding finding's ticket/tracker was updated in the external system.com.google.protobuf.TimestampOrBuilder
getExternalSystemUpdateTimeOrBuilder()
The most recent time when the corresponding finding's ticket/tracker was updated in the external system.String
getExternalUid()
Identifier that's used to track the given finding in the external system.com.google.protobuf.ByteString
getExternalUidBytes()
Identifier that's used to track the given finding in the external system.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"com.google.protobuf.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
getStatus()
Most recent status of the corresponding finding's ticket/tracker in the external system.com.google.protobuf.ByteString
getStatusBytes()
Most recent status of the corresponding finding's ticket/tracker in the external system.boolean
hasExternalSystemUpdateTime()
The most recent time when the corresponding finding's ticket/tracker was updated in the external system.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ExternalSystem.Builder
mergeExternalSystemUpdateTime(com.google.protobuf.Timestamp value)
The most recent time when the corresponding finding's ticket/tracker was updated in the external system.ExternalSystem.Builder
mergeFrom(ExternalSystem other)
ExternalSystem.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ExternalSystem.Builder
mergeFrom(com.google.protobuf.Message other)
ExternalSystem.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ExternalSystem.Builder
setAssignees(int index, String value)
References primary/secondary etc assignees in the external system.ExternalSystem.Builder
setExternalSystemUpdateTime(com.google.protobuf.Timestamp value)
The most recent time when the corresponding finding's ticket/tracker was updated in the external system.ExternalSystem.Builder
setExternalSystemUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The most recent time when the corresponding finding's ticket/tracker was updated in the external system.ExternalSystem.Builder
setExternalUid(String value)
Identifier that's used to track the given finding in the external system.ExternalSystem.Builder
setExternalUidBytes(com.google.protobuf.ByteString value)
Identifier that's used to track the given finding in the external system.ExternalSystem.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
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"ExternalSystem.Builder
setNameBytes(com.google.protobuf.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"ExternalSystem.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ExternalSystem.Builder
setStatus(String value)
Most recent status of the corresponding finding's ticket/tracker in the external system.ExternalSystem.Builder
setStatusBytes(com.google.protobuf.ByteString value)
Most recent status of the corresponding finding's ticket/tracker in the external system.ExternalSystem.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExternalSystem.Builder>
-
clear
public ExternalSystem.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExternalSystem.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExternalSystem.Builder>
-
getDefaultInstanceForType
public ExternalSystem getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ExternalSystem build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ExternalSystem buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ExternalSystem.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExternalSystem.Builder>
-
setField
public ExternalSystem.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExternalSystem.Builder>
-
clearField
public ExternalSystem.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExternalSystem.Builder>
-
clearOneof
public ExternalSystem.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExternalSystem.Builder>
-
setRepeatedField
public ExternalSystem.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExternalSystem.Builder>
-
addRepeatedField
public ExternalSystem.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExternalSystem.Builder>
-
mergeFrom
public ExternalSystem.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ExternalSystem.Builder>
-
mergeFrom
public ExternalSystem.Builder mergeFrom(ExternalSystem other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExternalSystem.Builder>
-
mergeFrom
public ExternalSystem.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ExternalSystem.Builder>
- Throws:
IOException
-
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;
- Specified by:
getName
in interfaceExternalSystemOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.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;
- Specified by:
getNameBytes
in interfaceExternalSystemOrBuilder
- Returns:
- The bytes for name.
-
setName
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;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNameBytes
public ExternalSystem.Builder setNameBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getAssigneesList
public com.google.protobuf.ProtocolStringList getAssigneesList()
References primary/secondary etc assignees in the external system.
repeated string assignees = 2;
- Specified by:
getAssigneesList
in interfaceExternalSystemOrBuilder
- Returns:
- A list containing the assignees.
-
getAssigneesCount
public int getAssigneesCount()
References primary/secondary etc assignees in the external system.
repeated string assignees = 2;
- Specified by:
getAssigneesCount
in interfaceExternalSystemOrBuilder
- Returns:
- The count of assignees.
-
getAssignees
public String getAssignees(int index)
References primary/secondary etc assignees in the external system.
repeated string assignees = 2;
- Specified by:
getAssignees
in interfaceExternalSystemOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The assignees at the given index.
-
getAssigneesBytes
public com.google.protobuf.ByteString getAssigneesBytes(int index)
References primary/secondary etc assignees in the external system.
repeated string assignees = 2;
- Specified by:
getAssigneesBytes
in interfaceExternalSystemOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the assignees at the given index.
-
setAssignees
public ExternalSystem.Builder setAssignees(int index, String value)
References primary/secondary etc assignees in the external system.
repeated string assignees = 2;
- Parameters:
index
- The index to set the value at.value
- The assignees to set.- Returns:
- This builder for chaining.
-
addAssignees
public ExternalSystem.Builder addAssignees(String value)
References primary/secondary etc assignees in the external system.
repeated string assignees = 2;
- Parameters:
value
- The assignees to add.- Returns:
- This builder for chaining.
-
addAllAssignees
public ExternalSystem.Builder addAllAssignees(Iterable<String> values)
References primary/secondary etc assignees in the external system.
repeated string assignees = 2;
- Parameters:
values
- The assignees to add.- Returns:
- This builder for chaining.
-
clearAssignees
public ExternalSystem.Builder clearAssignees()
References primary/secondary etc assignees in the external system.
repeated string assignees = 2;
- Returns:
- This builder for chaining.
-
addAssigneesBytes
public ExternalSystem.Builder addAssigneesBytes(com.google.protobuf.ByteString value)
References primary/secondary etc assignees in the external system.
repeated string assignees = 2;
- Parameters:
value
- The bytes of the assignees to add.- Returns:
- This builder for chaining.
-
getExternalUid
public String getExternalUid()
Identifier that's used to track the given finding in the external system.
string external_uid = 3;
- Specified by:
getExternalUid
in interfaceExternalSystemOrBuilder
- Returns:
- The externalUid.
-
getExternalUidBytes
public com.google.protobuf.ByteString getExternalUidBytes()
Identifier that's used to track the given finding in the external system.
string external_uid = 3;
- Specified by:
getExternalUidBytes
in interfaceExternalSystemOrBuilder
- Returns:
- The bytes for externalUid.
-
setExternalUid
public ExternalSystem.Builder setExternalUid(String value)
Identifier that's used to track the given finding in the external system.
string external_uid = 3;
- Parameters:
value
- The externalUid to set.- Returns:
- This builder for chaining.
-
clearExternalUid
public ExternalSystem.Builder clearExternalUid()
Identifier that's used to track the given finding in the external system.
string external_uid = 3;
- Returns:
- This builder for chaining.
-
setExternalUidBytes
public ExternalSystem.Builder setExternalUidBytes(com.google.protobuf.ByteString value)
Identifier that's used to track the given finding in the external system.
string external_uid = 3;
- Parameters:
value
- The bytes for externalUid to set.- Returns:
- This builder for chaining.
-
getStatus
public String getStatus()
Most recent status of the corresponding finding's ticket/tracker in the external system.
string status = 4;
- Specified by:
getStatus
in interfaceExternalSystemOrBuilder
- Returns:
- The status.
-
getStatusBytes
public com.google.protobuf.ByteString getStatusBytes()
Most recent status of the corresponding finding's ticket/tracker in the external system.
string status = 4;
- Specified by:
getStatusBytes
in interfaceExternalSystemOrBuilder
- Returns:
- The bytes for status.
-
setStatus
public ExternalSystem.Builder setStatus(String value)
Most recent status of the corresponding finding's ticket/tracker in the external system.
string status = 4;
- Parameters:
value
- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
public ExternalSystem.Builder clearStatus()
Most recent status of the corresponding finding's ticket/tracker in the external system.
string status = 4;
- Returns:
- This builder for chaining.
-
setStatusBytes
public ExternalSystem.Builder setStatusBytes(com.google.protobuf.ByteString value)
Most recent status of the corresponding finding's ticket/tracker in the external system.
string status = 4;
- Parameters:
value
- The bytes for status to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
hasExternalSystemUpdateTime
in interfaceExternalSystemOrBuilder
- Returns:
- Whether the externalSystemUpdateTime field is set.
-
getExternalSystemUpdateTime
public com.google.protobuf.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;
- Specified by:
getExternalSystemUpdateTime
in interfaceExternalSystemOrBuilder
- Returns:
- The externalSystemUpdateTime.
-
setExternalSystemUpdateTime
public ExternalSystem.Builder setExternalSystemUpdateTime(com.google.protobuf.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;
-
setExternalSystemUpdateTime
public ExternalSystem.Builder setExternalSystemUpdateTime(com.google.protobuf.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;
-
mergeExternalSystemUpdateTime
public ExternalSystem.Builder mergeExternalSystemUpdateTime(com.google.protobuf.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;
-
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;
-
getExternalSystemUpdateTimeBuilder
public com.google.protobuf.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;
-
getExternalSystemUpdateTimeOrBuilder
public com.google.protobuf.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;
- Specified by:
getExternalSystemUpdateTimeOrBuilder
in interfaceExternalSystemOrBuilder
-
setUnknownFields
public final ExternalSystem.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExternalSystem.Builder>
-
mergeUnknownFields
public final ExternalSystem.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExternalSystem.Builder>
-
-