Class PartitionName (1.38.0)

public class PartitionName implements ResourceName

Inheritance

Object > PartitionName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String lake, String zone, String entity, String partition)

public static String format(String project, String location, String lake, String zone, String entity, String partition)
Parameters
NameDescription
projectString
locationString
lakeString
zoneString
entityString
partitionString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String lake, String zone, String entity, String partition)

public static PartitionName of(String project, String location, String lake, String zone, String entity, String partition)
Parameters
NameDescription
projectString
locationString
lakeString
zoneString
entityString
partitionString
Returns
TypeDescription
PartitionName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<PartitionName> values)

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

Constructors

PartitionName() (deprecated)

protected PartitionName()

Methods

equals(Object o)

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

getEntity()

public String getEntity()
Returns
TypeDescription
String

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>

getLake()

public String getLake()
Returns
TypeDescription
String

getLocation()

public String getLocation()
Returns
TypeDescription
String

getPartition()

public String getPartition()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getZone()

public String getZone()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides