Class ExfilResource.Builder

  • All Implemented Interfaces:
    ExfilResourceOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    ExfilResource

    public static final class ExfilResource.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<ExfilResource.Builder>
    implements ExfilResourceOrBuilder
     Resource where data was exfiltrated from or exfiltrated to.
     
    Protobuf type google.cloud.securitycenter.v1.ExfilResource
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ExfilResource.Builder addAllComponents​(Iterable<String> values)
      Subcomponents of the asset that was exfiltrated, like URIs used during exfiltration, table names, databases, and filenames.
      ExfilResource.Builder addComponents​(String value)
      Subcomponents of the asset that was exfiltrated, like URIs used during exfiltration, table names, databases, and filenames.
      ExfilResource.Builder addComponentsBytes​(com.google.protobuf.ByteString value)
      Subcomponents of the asset that was exfiltrated, like URIs used during exfiltration, table names, databases, and filenames.
      ExfilResource.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)  
      ExfilResource build()  
      ExfilResource buildPartial()  
      ExfilResource.Builder clear()  
      ExfilResource.Builder clearComponents()
      Subcomponents of the asset that was exfiltrated, like URIs used during exfiltration, table names, databases, and filenames.
      ExfilResource.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)  
      ExfilResource.Builder clearName()
      The resource's [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name).
      ExfilResource.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)  
      ExfilResource.Builder clone()  
      String getComponents​(int index)
      Subcomponents of the asset that was exfiltrated, like URIs used during exfiltration, table names, databases, and filenames.
      com.google.protobuf.ByteString getComponentsBytes​(int index)
      Subcomponents of the asset that was exfiltrated, like URIs used during exfiltration, table names, databases, and filenames.
      int getComponentsCount()
      Subcomponents of the asset that was exfiltrated, like URIs used during exfiltration, table names, databases, and filenames.
      com.google.protobuf.ProtocolStringList getComponentsList()
      Subcomponents of the asset that was exfiltrated, like URIs used during exfiltration, table names, databases, and filenames.
      ExfilResource getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      com.google.protobuf.Descriptors.Descriptor getDescriptorForType()  
      String getName()
      The resource's [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name).
      com.google.protobuf.ByteString getNameBytes()
      The resource's [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name).
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()  
      boolean isInitialized()  
      ExfilResource.Builder mergeFrom​(ExfilResource other)  
      ExfilResource.Builder mergeFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      ExfilResource.Builder mergeFrom​(com.google.protobuf.Message other)  
      ExfilResource.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)  
      ExfilResource.Builder setComponents​(int index, String value)
      Subcomponents of the asset that was exfiltrated, like URIs used during exfiltration, table names, databases, and filenames.
      ExfilResource.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)  
      ExfilResource.Builder setName​(String value)
      The resource's [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name).
      ExfilResource.Builder setNameBytes​(com.google.protobuf.ByteString value)
      The resource's [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name).
      ExfilResource.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)  
      ExfilResource.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 interface com.google.protobuf.Message.Builder

        mergeDelimitedFrom, mergeDelimitedFrom
      • Methods inherited from interface com.google.protobuf.MessageLite.Builder

        mergeFrom
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • 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<ExfilResource.Builder>
      • clear

        public ExfilResource.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<ExfilResource.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<ExfilResource.Builder>
      • getDefaultInstanceForType

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

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

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

        public ExfilResource.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<ExfilResource.Builder>
      • setField

        public ExfilResource.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<ExfilResource.Builder>
      • clearField

        public ExfilResource.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<ExfilResource.Builder>
      • clearOneof

        public ExfilResource.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<ExfilResource.Builder>
      • setRepeatedField

        public ExfilResource.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<ExfilResource.Builder>
      • addRepeatedField

        public ExfilResource.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<ExfilResource.Builder>
      • mergeFrom

        public ExfilResource.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<ExfilResource.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ExfilResource.Builder>
      • mergeFrom

        public ExfilResource.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<ExfilResource.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         The resource's [full resource
         name](https://cloud.google.com/apis/design/resource_names#full_resource_name).
         
        string name = 1;
        Specified by:
        getName in interface ExfilResourceOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         The resource's [full resource
         name](https://cloud.google.com/apis/design/resource_names#full_resource_name).
         
        string name = 1;
        Specified by:
        getNameBytes in interface ExfilResourceOrBuilder
        Returns:
        The bytes for name.
      • setName

        public ExfilResource.Builder setName​(String value)
         The resource's [full resource
         name](https://cloud.google.com/apis/design/resource_names#full_resource_name).
         
        string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public ExfilResource.Builder clearName()
         The resource's [full resource
         name](https://cloud.google.com/apis/design/resource_names#full_resource_name).
         
        string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public ExfilResource.Builder setNameBytes​(com.google.protobuf.ByteString value)
         The resource's [full resource
         name](https://cloud.google.com/apis/design/resource_names#full_resource_name).
         
        string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getComponentsList

        public com.google.protobuf.ProtocolStringList getComponentsList()
         Subcomponents of the asset that was exfiltrated, like URIs used during
         exfiltration, table names, databases, and filenames. For example, multiple
         tables might have been exfiltrated from the same Cloud SQL instance, or
         multiple files might have been exfiltrated from the same Cloud Storage
         bucket.
         
        repeated string components = 2;
        Specified by:
        getComponentsList in interface ExfilResourceOrBuilder
        Returns:
        A list containing the components.
      • getComponentsCount

        public int getComponentsCount()
         Subcomponents of the asset that was exfiltrated, like URIs used during
         exfiltration, table names, databases, and filenames. For example, multiple
         tables might have been exfiltrated from the same Cloud SQL instance, or
         multiple files might have been exfiltrated from the same Cloud Storage
         bucket.
         
        repeated string components = 2;
        Specified by:
        getComponentsCount in interface ExfilResourceOrBuilder
        Returns:
        The count of components.
      • getComponents

        public String getComponents​(int index)
         Subcomponents of the asset that was exfiltrated, like URIs used during
         exfiltration, table names, databases, and filenames. For example, multiple
         tables might have been exfiltrated from the same Cloud SQL instance, or
         multiple files might have been exfiltrated from the same Cloud Storage
         bucket.
         
        repeated string components = 2;
        Specified by:
        getComponents in interface ExfilResourceOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The components at the given index.
      • getComponentsBytes

        public com.google.protobuf.ByteString getComponentsBytes​(int index)
         Subcomponents of the asset that was exfiltrated, like URIs used during
         exfiltration, table names, databases, and filenames. For example, multiple
         tables might have been exfiltrated from the same Cloud SQL instance, or
         multiple files might have been exfiltrated from the same Cloud Storage
         bucket.
         
        repeated string components = 2;
        Specified by:
        getComponentsBytes in interface ExfilResourceOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the components at the given index.
      • setComponents

        public ExfilResource.Builder setComponents​(int index,
                                                   String value)
         Subcomponents of the asset that was exfiltrated, like URIs used during
         exfiltration, table names, databases, and filenames. For example, multiple
         tables might have been exfiltrated from the same Cloud SQL instance, or
         multiple files might have been exfiltrated from the same Cloud Storage
         bucket.
         
        repeated string components = 2;
        Parameters:
        index - The index to set the value at.
        value - The components to set.
        Returns:
        This builder for chaining.
      • addComponents

        public ExfilResource.Builder addComponents​(String value)
         Subcomponents of the asset that was exfiltrated, like URIs used during
         exfiltration, table names, databases, and filenames. For example, multiple
         tables might have been exfiltrated from the same Cloud SQL instance, or
         multiple files might have been exfiltrated from the same Cloud Storage
         bucket.
         
        repeated string components = 2;
        Parameters:
        value - The components to add.
        Returns:
        This builder for chaining.
      • addAllComponents

        public ExfilResource.Builder addAllComponents​(Iterable<String> values)
         Subcomponents of the asset that was exfiltrated, like URIs used during
         exfiltration, table names, databases, and filenames. For example, multiple
         tables might have been exfiltrated from the same Cloud SQL instance, or
         multiple files might have been exfiltrated from the same Cloud Storage
         bucket.
         
        repeated string components = 2;
        Parameters:
        values - The components to add.
        Returns:
        This builder for chaining.
      • clearComponents

        public ExfilResource.Builder clearComponents()
         Subcomponents of the asset that was exfiltrated, like URIs used during
         exfiltration, table names, databases, and filenames. For example, multiple
         tables might have been exfiltrated from the same Cloud SQL instance, or
         multiple files might have been exfiltrated from the same Cloud Storage
         bucket.
         
        repeated string components = 2;
        Returns:
        This builder for chaining.
      • addComponentsBytes

        public ExfilResource.Builder addComponentsBytes​(com.google.protobuf.ByteString value)
         Subcomponents of the asset that was exfiltrated, like URIs used during
         exfiltration, table names, databases, and filenames. For example, multiple
         tables might have been exfiltrated from the same Cloud SQL instance, or
         multiple files might have been exfiltrated from the same Cloud Storage
         bucket.
         
        repeated string components = 2;
        Parameters:
        value - The bytes of the components to add.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final ExfilResource.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<ExfilResource.Builder>
      • mergeUnknownFields

        public final ExfilResource.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<ExfilResource.Builder>