Class TransformationLocation.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TransformationLocation.Builder>
com.google.privacy.dlp.v2.TransformationLocation.Builder
All Implemented Interfaces:
TransformationLocationOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
TransformationLocation

public static final class TransformationLocation.Builder extends com.google.protobuf.GeneratedMessage.Builder<TransformationLocation.Builder> implements TransformationLocationOrBuilder
 Specifies the location of a transformation.
 
Protobuf type google.privacy.dlp.v2.TransformationLocation
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<TransformationLocation.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.GeneratedMessage.Builder<TransformationLocation.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.GeneratedMessage.Builder<TransformationLocation.Builder>
    • getDefaultInstanceForType

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

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

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

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

    • isInitialized

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

      public TransformationLocation.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<TransformationLocation.Builder>
      Throws:
      IOException
    • getLocationTypeCase

      public TransformationLocation.LocationTypeCase getLocationTypeCase()
      Specified by:
      getLocationTypeCase in interface TransformationLocationOrBuilder
    • clearLocationType

      public TransformationLocation.Builder clearLocationType()
    • hasFindingId

      public boolean hasFindingId()
       For infotype transformations, link to the corresponding findings ID so
       that location information does not need to be duplicated. Each findings
       ID correlates to an entry in the findings output table, this table only
       gets created when users specify to save findings (add the save findings
       action to the request).
       
      string finding_id = 1;
      Specified by:
      hasFindingId in interface TransformationLocationOrBuilder
      Returns:
      Whether the findingId field is set.
    • getFindingId

      public String getFindingId()
       For infotype transformations, link to the corresponding findings ID so
       that location information does not need to be duplicated. Each findings
       ID correlates to an entry in the findings output table, this table only
       gets created when users specify to save findings (add the save findings
       action to the request).
       
      string finding_id = 1;
      Specified by:
      getFindingId in interface TransformationLocationOrBuilder
      Returns:
      The findingId.
    • getFindingIdBytes

      public com.google.protobuf.ByteString getFindingIdBytes()
       For infotype transformations, link to the corresponding findings ID so
       that location information does not need to be duplicated. Each findings
       ID correlates to an entry in the findings output table, this table only
       gets created when users specify to save findings (add the save findings
       action to the request).
       
      string finding_id = 1;
      Specified by:
      getFindingIdBytes in interface TransformationLocationOrBuilder
      Returns:
      The bytes for findingId.
    • setFindingId

      public TransformationLocation.Builder setFindingId(String value)
       For infotype transformations, link to the corresponding findings ID so
       that location information does not need to be duplicated. Each findings
       ID correlates to an entry in the findings output table, this table only
       gets created when users specify to save findings (add the save findings
       action to the request).
       
      string finding_id = 1;
      Parameters:
      value - The findingId to set.
      Returns:
      This builder for chaining.
    • clearFindingId

      public TransformationLocation.Builder clearFindingId()
       For infotype transformations, link to the corresponding findings ID so
       that location information does not need to be duplicated. Each findings
       ID correlates to an entry in the findings output table, this table only
       gets created when users specify to save findings (add the save findings
       action to the request).
       
      string finding_id = 1;
      Returns:
      This builder for chaining.
    • setFindingIdBytes

      public TransformationLocation.Builder setFindingIdBytes(com.google.protobuf.ByteString value)
       For infotype transformations, link to the corresponding findings ID so
       that location information does not need to be duplicated. Each findings
       ID correlates to an entry in the findings output table, this table only
       gets created when users specify to save findings (add the save findings
       action to the request).
       
      string finding_id = 1;
      Parameters:
      value - The bytes for findingId to set.
      Returns:
      This builder for chaining.
    • hasRecordTransformation

      public boolean hasRecordTransformation()
       For record transformations, provide a field and container information.
       
      .google.privacy.dlp.v2.RecordTransformation record_transformation = 2;
      Specified by:
      hasRecordTransformation in interface TransformationLocationOrBuilder
      Returns:
      Whether the recordTransformation field is set.
    • getRecordTransformation

      public RecordTransformation getRecordTransformation()
       For record transformations, provide a field and container information.
       
      .google.privacy.dlp.v2.RecordTransformation record_transformation = 2;
      Specified by:
      getRecordTransformation in interface TransformationLocationOrBuilder
      Returns:
      The recordTransformation.
    • setRecordTransformation

      public TransformationLocation.Builder setRecordTransformation(RecordTransformation value)
       For record transformations, provide a field and container information.
       
      .google.privacy.dlp.v2.RecordTransformation record_transformation = 2;
    • setRecordTransformation

      public TransformationLocation.Builder setRecordTransformation(RecordTransformation.Builder builderForValue)
       For record transformations, provide a field and container information.
       
      .google.privacy.dlp.v2.RecordTransformation record_transformation = 2;
    • mergeRecordTransformation

      public TransformationLocation.Builder mergeRecordTransformation(RecordTransformation value)
       For record transformations, provide a field and container information.
       
      .google.privacy.dlp.v2.RecordTransformation record_transformation = 2;
    • clearRecordTransformation

      public TransformationLocation.Builder clearRecordTransformation()
       For record transformations, provide a field and container information.
       
      .google.privacy.dlp.v2.RecordTransformation record_transformation = 2;
    • getRecordTransformationBuilder

      public RecordTransformation.Builder getRecordTransformationBuilder()
       For record transformations, provide a field and container information.
       
      .google.privacy.dlp.v2.RecordTransformation record_transformation = 2;
    • getRecordTransformationOrBuilder

      public RecordTransformationOrBuilder getRecordTransformationOrBuilder()
       For record transformations, provide a field and container information.
       
      .google.privacy.dlp.v2.RecordTransformation record_transformation = 2;
      Specified by:
      getRecordTransformationOrBuilder in interface TransformationLocationOrBuilder
    • getContainerTypeValue

      public int getContainerTypeValue()
       Information about the functionality of the container where this finding
       occurred, if available.
       
      .google.privacy.dlp.v2.TransformationContainerType container_type = 3;
      Specified by:
      getContainerTypeValue in interface TransformationLocationOrBuilder
      Returns:
      The enum numeric value on the wire for containerType.
    • setContainerTypeValue

      public TransformationLocation.Builder setContainerTypeValue(int value)
       Information about the functionality of the container where this finding
       occurred, if available.
       
      .google.privacy.dlp.v2.TransformationContainerType container_type = 3;
      Parameters:
      value - The enum numeric value on the wire for containerType to set.
      Returns:
      This builder for chaining.
    • getContainerType

      public TransformationContainerType getContainerType()
       Information about the functionality of the container where this finding
       occurred, if available.
       
      .google.privacy.dlp.v2.TransformationContainerType container_type = 3;
      Specified by:
      getContainerType in interface TransformationLocationOrBuilder
      Returns:
      The containerType.
    • setContainerType

       Information about the functionality of the container where this finding
       occurred, if available.
       
      .google.privacy.dlp.v2.TransformationContainerType container_type = 3;
      Parameters:
      value - The containerType to set.
      Returns:
      This builder for chaining.
    • clearContainerType

      public TransformationLocation.Builder clearContainerType()
       Information about the functionality of the container where this finding
       occurred, if available.
       
      .google.privacy.dlp.v2.TransformationContainerType container_type = 3;
      Returns:
      This builder for chaining.