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.BuilderaddAllAssignees(Iterable<String> values)References primary/secondary etc assignees in the external system.ExternalSystem.BuilderaddAssignees(String value)References primary/secondary etc assignees in the external system.ExternalSystem.BuilderaddAssigneesBytes(com.google.protobuf.ByteString value)References primary/secondary etc assignees in the external system.ExternalSystem.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ExternalSystembuild()ExternalSystembuildPartial()ExternalSystem.Builderclear()ExternalSystem.BuilderclearAssignees()References primary/secondary etc assignees in the external system.ExternalSystem.BuilderclearExternalSystemUpdateTime()The most recent time when the corresponding finding's ticket/tracker was updated in the external system.ExternalSystem.BuilderclearExternalUid()Identifier that's used to track the given finding in the external system.ExternalSystem.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ExternalSystem.BuilderclearName()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.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ExternalSystem.BuilderclearStatus()Most recent status of the corresponding finding's ticket/tracker in the external system.ExternalSystem.Builderclone()StringgetAssignees(int index)References primary/secondary etc assignees in the external system.com.google.protobuf.ByteStringgetAssigneesBytes(int index)References primary/secondary etc assignees in the external system.intgetAssigneesCount()References primary/secondary etc assignees in the external system.com.google.protobuf.ProtocolStringListgetAssigneesList()References primary/secondary etc assignees in the external system.ExternalSystemgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.TimestampgetExternalSystemUpdateTime()The most recent time when the corresponding finding's ticket/tracker was updated in the external system.com.google.protobuf.Timestamp.BuildergetExternalSystemUpdateTimeBuilder()The most recent time when the corresponding finding's ticket/tracker was updated in the external system.com.google.protobuf.TimestampOrBuildergetExternalSystemUpdateTimeOrBuilder()The most recent time when the corresponding finding's ticket/tracker was updated in the external system.StringgetExternalUid()Identifier that's used to track the given finding in the external system.com.google.protobuf.ByteStringgetExternalUidBytes()Identifier that's used to track the given finding in the external system.StringgetName()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.ByteStringgetNameBytes()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"StringgetStatus()Most recent status of the corresponding finding's ticket/tracker in the external system.com.google.protobuf.ByteStringgetStatusBytes()Most recent status of the corresponding finding's ticket/tracker in the external system.booleanhasExternalSystemUpdateTime()The most recent time when the corresponding finding's ticket/tracker was updated in the external system.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ExternalSystem.BuildermergeExternalSystemUpdateTime(com.google.protobuf.Timestamp value)The most recent time when the corresponding finding's ticket/tracker was updated in the external system.ExternalSystem.BuildermergeFrom(ExternalSystem other)ExternalSystem.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ExternalSystem.BuildermergeFrom(com.google.protobuf.Message other)ExternalSystem.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ExternalSystem.BuildersetAssignees(int index, String value)References primary/secondary etc assignees in the external system.ExternalSystem.BuildersetExternalSystemUpdateTime(com.google.protobuf.Timestamp value)The most recent time when the corresponding finding's ticket/tracker was updated in the external system.ExternalSystem.BuildersetExternalSystemUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)The most recent time when the corresponding finding's ticket/tracker was updated in the external system.ExternalSystem.BuildersetExternalUid(String value)Identifier that's used to track the given finding in the external system.ExternalSystem.BuildersetExternalUidBytes(com.google.protobuf.ByteString value)Identifier that's used to track the given finding in the external system.ExternalSystem.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ExternalSystem.BuildersetName(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.BuildersetNameBytes(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.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ExternalSystem.BuildersetStatus(String value)Most recent status of the corresponding finding's ticket/tracker in the external system.ExternalSystem.BuildersetStatusBytes(com.google.protobuf.ByteString value)Most recent status of the corresponding finding's ticket/tracker in the external system.ExternalSystem.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ExternalSystem.Builder>
-
clear
public ExternalSystem.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ExternalSystem.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ExternalSystem.Builder>
-
getDefaultInstanceForType
public ExternalSystem getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ExternalSystem build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ExternalSystem buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ExternalSystem.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ExternalSystem.Builder>
-
setField
public ExternalSystem.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExternalSystem.Builder>
-
clearField
public ExternalSystem.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExternalSystem.Builder>
-
clearOneof
public ExternalSystem.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ExternalSystem.Builder>
-
setRepeatedField
public ExternalSystem.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExternalSystem.Builder>
-
addRepeatedField
public ExternalSystem.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExternalSystem.Builder>
-
mergeFrom
public ExternalSystem.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExternalSystem.Builder>
-
mergeFrom
public ExternalSystem.Builder mergeFrom(ExternalSystem other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getNamein 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:
getNameBytesin 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:
getAssigneesListin 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:
getAssigneesCountin 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:
getAssigneesin 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:
getAssigneesBytesin 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:
getExternalUidin 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:
getExternalUidBytesin 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:
getStatusin 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:
getStatusBytesin 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:
hasExternalSystemUpdateTimein 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:
getExternalSystemUpdateTimein 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:
getExternalSystemUpdateTimeOrBuilderin interfaceExternalSystemOrBuilder
-
setUnknownFields
public final ExternalSystem.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ExternalSystem.Builder>
-
mergeUnknownFields
public final ExternalSystem.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ExternalSystem.Builder>
-
-