Class DlpContentName (3.34.0)

public class DlpContentName implements ResourceName

Inheritance

Object > DlpContentName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project)

public static String format(String project)
Parameter
NameDescription
projectString
Returns
TypeDescription
String

formatProjectLocationName(String project, String location)

public static String formatProjectLocationName(String project, String location)
Parameters
NameDescription
projectString
locationString
Returns
TypeDescription
String

formatProjectName(String project)

public static String formatProjectName(String project)
Parameter
NameDescription
projectString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
boolean

newBuilder()

public static DlpContentName.Builder newBuilder()
Returns
TypeDescription
DlpContentName.Builder

newProjectBuilder()

public static DlpContentName.Builder newProjectBuilder()
Returns
TypeDescription
DlpContentName.Builder

newProjectLocationBuilder()

public static DlpContentName.ProjectLocationBuilder newProjectLocationBuilder()
Returns
TypeDescription
DlpContentName.ProjectLocationBuilder

of(String project)

public static DlpContentName of(String project)
Parameter
NameDescription
projectString
Returns
TypeDescription
DlpContentName

ofProjectLocationName(String project, String location)

public static DlpContentName ofProjectLocationName(String project, String location)
Parameters
NameDescription
projectString
locationString
Returns
TypeDescription
DlpContentName

ofProjectName(String project)

public static DlpContentName ofProjectName(String project)
Parameter
NameDescription
projectString
Returns
TypeDescription
DlpContentName

parse(String formattedString)

public static DlpContentName parse(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
DlpContentName

parseList(List<String> formattedStrings)

public static List<DlpContentName> parseList(List<String> formattedStrings)
Parameter
NameDescription
formattedStringsList<String>
Returns
TypeDescription
List<DlpContentName>

toStringList(List<DlpContentName> values)

public static List<String> toStringList(List<DlpContentName> values)
Parameter
NameDescription
valuesList<DlpContentName>
Returns
TypeDescription
List<String>

Constructors

DlpContentName()

protected DlpContentName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
NameDescription
fieldNameString
Returns
TypeDescription
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
TypeDescription
Map<String,String>

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

public DlpContentName.Builder toBuilder()
Returns
TypeDescription
DlpContentName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides