Class MetadataImportName (2.19.0)

public class MetadataImportName implements ResourceName

Inheritance

Object > MetadataImportName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String service, String metadataImport)

public static String format(String project, String location, String service, String metadataImport)
Parameters
NameDescription
projectString
locationString
serviceString
metadataImportString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String service, String metadataImport)

public static MetadataImportName of(String project, String location, String service, String metadataImport)
Parameters
NameDescription
projectString
locationString
serviceString
metadataImportString
Returns
TypeDescription
MetadataImportName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<MetadataImportName> values)

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

Constructors

MetadataImportName()

protected MetadataImportName()

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

getMetadataImport()

public String getMetadataImport()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getService()

public String getService()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides