Package io.opencensus.stats
Class View.Name
java.lang.Object
io.opencensus.stats.View.Name
- Direct Known Subclasses:
AutoValue_View_Name
- Enclosing class:
View
The name of a
View
.- Since:
- 0.8
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Name
Name()
-
-
Method Details
-
asString
Returns the name as aString
.- Returns:
- the name as a
String
. - Since:
- 0.8
-
create
Creates aView.Name
from aString
. Should be a ASCII string with a length no greater than 255 characters.Suggested format for name:
<web_host>/<path>
.- Parameters:
name
- the nameString
.- Returns:
- a
View.Name
with the given nameString
. - Since:
- 0.8
-