Class StreamObjectName (1.13.0)

public class StreamObjectName implements ResourceName

Inheritance

Object > StreamObjectName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String stream, String object)

public static String format(String project, String location, String stream, String object)
Parameters
NameDescription
projectString
locationString
streamString
objectString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String stream, String object)

public static StreamObjectName of(String project, String location, String stream, String object)
Parameters
NameDescription
projectString
locationString
streamString
objectString
Returns
TypeDescription
StreamObjectName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<StreamObjectName> values)

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

Constructors

StreamObjectName()

protected StreamObjectName()

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

getObject()

public String getObject()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getStream()

public String getStream()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides