Class GitRepositoryLinkName (0.33.0)

publicclass GitRepositoryLinkNameimplementsResourceName

Inheritance

Object > GitRepositoryLinkName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String connection, String gitRepositoryLink)

publicstaticStringformat(Stringproject,Stringlocation,Stringconnection,StringgitRepositoryLink)
Parameters
Name Description
project String
location String
connection String
gitRepositoryLink String
Returns
Type Description
String

isParsableFrom(String formattedString)

publicstaticbooleanisParsableFrom(StringformattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
boolean

newBuilder()

publicstaticGitRepositoryLinkName.BuildernewBuilder()
Returns
Type Description
GitRepositoryLinkName.Builder

of(String project, String location, String connection, String gitRepositoryLink)

publicstaticGitRepositoryLinkNameof(Stringproject,Stringlocation,Stringconnection,StringgitRepositoryLink)
Parameters
Name Description
project String
location String
connection String
gitRepositoryLink String
Returns
Type Description
GitRepositoryLinkName

parse(String formattedString)

publicstaticGitRepositoryLinkNameparse(StringformattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
GitRepositoryLinkName

parseList(List<String> formattedStrings)

publicstaticList<GitRepositoryLinkName>parseList(List<String>formattedStrings)
Parameter
Name Description
formattedStrings List<String>
Returns
Type Description
List<GitRepositoryLinkName>

toStringList(List<GitRepositoryLinkName> values)

publicstaticList<String>toStringList(List<GitRepositoryLinkName>values)
Parameter
Name Description
values List<GitRepositoryLinkName>
Returns
Type Description
List<String>

Constructors

GitRepositoryLinkName() (deprecated)

protectedGitRepositoryLinkName()

Methods

equals(Object o)

publicbooleanequals(Objecto)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getConnection()

publicStringgetConnection()
Returns
Type Description
String

getFieldValue(String fieldName)

publicStringgetFieldValue(StringfieldName)
Parameter
Name Description
fieldName String
Returns
Type Description
String

getFieldValuesMap()

publicMap<String,String>getFieldValuesMap()
Returns
Type Description
Map<String,String>
publicStringgetGitRepositoryLink()
Returns
Type Description
String

getLocation()

publicStringgetLocation()
Returns
Type Description
String

getProject()

publicStringgetProject()
Returns
Type Description
String

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

toBuilder()

publicGitRepositoryLinkName.BuildertoBuilder()
Returns
Type Description
GitRepositoryLinkName.Builder

toString()

publicStringtoString()
Returns
Type Description
String
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.