Class 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 type google.cloud.securitycenter.v1.ExternalSystem
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ExternalSystem.Builder>
      • clear

        public ExternalSystem.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<ExternalSystem.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ExternalSystem.Builder>
      • getDefaultInstanceForType

        public ExternalSystem getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public ExternalSystem build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ExternalSystem buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public ExternalSystem.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ExternalSystem.Builder>
      • setField

        public ExternalSystem.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                               Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<ExternalSystem.Builder>
      • clearField

        public ExternalSystem.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ExternalSystem.Builder>
      • clearOneof

        public ExternalSystem.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExternalSystem.Builder>
      • addRepeatedField

        public ExternalSystem.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                       Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExternalSystem.Builder>
      • mergeFrom

        public ExternalSystem.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExternalSystem.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.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 interface ExternalSystemOrBuilder
        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 interface ExternalSystemOrBuilder
        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 interface ExternalSystemOrBuilder
        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 interface ExternalSystemOrBuilder
        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 interface ExternalSystemOrBuilder
        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 interface ExternalSystemOrBuilder
        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 interface ExternalSystemOrBuilder
        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 interface ExternalSystemOrBuilder
        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 interface ExternalSystemOrBuilder
        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 interface ExternalSystemOrBuilder
        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 interface ExternalSystemOrBuilder
        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 interface ExternalSystemOrBuilder
        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 interface ExternalSystemOrBuilder
      • setUnknownFields

        public final ExternalSystem.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExternalSystem.Builder>
      • mergeUnknownFields

        public final ExternalSystem.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExternalSystem.Builder>