Class ServiceProjectAttachmentName (0.3.0)

public class ServiceProjectAttachmentName implements ResourceName

Inheritance

Object > ServiceProjectAttachmentName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String serviceProjectAttachment)

public static String format(String project, String location, String serviceProjectAttachment)
Parameters
NameDescription
projectString
locationString
serviceProjectAttachmentString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String serviceProjectAttachment)

public static ServiceProjectAttachmentName of(String project, String location, String serviceProjectAttachment)
Parameters
NameDescription
projectString
locationString
serviceProjectAttachmentString
Returns
TypeDescription
ServiceProjectAttachmentName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<ServiceProjectAttachmentName> values)

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

Constructors

ServiceProjectAttachmentName() (deprecated)

protected ServiceProjectAttachmentName()

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

getServiceProjectAttachment()

public String getServiceProjectAttachment()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides