Package com.google.privacy.dlp.v2
Class DlpJobName
- java.lang.Object
-
- com.google.privacy.dlp.v2.DlpJobName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class DlpJobName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DlpJobName.Builder
Builder for projects/{project}/dlpJobs/{dlp_job}.static class
DlpJobName.ProjectLocationDlpJobBuilder
Builder for projects/{project}/locations/{location}/dlpJobs/{dlp_job}.
-
Constructor Summary
Constructors Modifier Constructor Description protected
DlpJobName()
Deprecated.
-
Method Summary
-
-
-
Constructor Detail
-
DlpJobName
@Deprecated protected DlpJobName()
Deprecated.
-
-
Method Detail
-
getProject
public String getProject()
-
getDlpJob
public String getDlpJob()
-
getLocation
public String getLocation()
-
newBuilder
public static DlpJobName.Builder newBuilder()
-
newProjectDlpJobBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static DlpJobName.Builder newProjectDlpJobBuilder()
-
newProjectLocationDlpJobBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static DlpJobName.ProjectLocationDlpJobBuilder newProjectLocationDlpJobBuilder()
-
toBuilder
public DlpJobName.Builder toBuilder()
-
of
public static DlpJobName of(String project, String dlpJob)
-
ofProjectDlpJobName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static DlpJobName ofProjectDlpJobName(String project, String dlpJob)
-
ofProjectLocationDlpJobName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static DlpJobName ofProjectLocationDlpJobName(String project, String location, String dlpJob)
-
formatProjectDlpJobName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectDlpJobName(String project, String dlpJob)
-
formatProjectLocationDlpJobName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationDlpJobName(String project, String location, String dlpJob)
-
parse
public static DlpJobName parse(String formattedString)
-
parseList
public static List<DlpJobName> parseList(List<String> formattedStrings)
-
toStringList
public static List<String> toStringList(List<DlpJobName> values)
-
isParsableFrom
public static boolean isParsableFrom(String formattedString)
-
getFieldValuesMap
public Map<String,String> getFieldValuesMap()
- Specified by:
getFieldValuesMap
in interfacecom.google.api.resourcenames.ResourceName
-
getFieldValue
public String getFieldValue(String fieldName)
- Specified by:
getFieldValue
in interfacecom.google.api.resourcenames.ResourceName
-
-