Class LoggingServerName (0.31.0)

public class LoggingServerName implements ResourceName

Inheritance

Object > LoggingServerName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String privateCloud, String loggingServer)

public static String format(String project, String location, String privateCloud, String loggingServer)
Parameters
NameDescription
projectString
locationString
privateCloudString
loggingServerString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String privateCloud, String loggingServer)

public static LoggingServerName of(String project, String location, String privateCloud, String loggingServer)
Parameters
NameDescription
projectString
locationString
privateCloudString
loggingServerString
Returns
TypeDescription
LoggingServerName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<LoggingServerName> values)

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

Constructors

LoggingServerName() (deprecated)

protected LoggingServerName()

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

getLoggingServer()

public String getLoggingServer()
Returns
TypeDescription
String

getPrivateCloud()

public String getPrivateCloud()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides