public class NamespaceRelativePathLogInfo
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
NamespaceRelativePathLogInfo.Builder
Builder for
NamespaceRelativePathLogInfo . |
Modifier and Type | Field and Description |
---|---|
protected java.lang.Boolean |
isSharedNamespace |
protected java.lang.String |
nsId |
protected java.lang.String |
relativePath |
Constructor and Description |
---|
NamespaceRelativePathLogInfo()
Namespace relative path details.
|
NamespaceRelativePathLogInfo(java.lang.String nsId,
java.lang.String relativePath,
java.lang.Boolean isSharedNamespace)
Namespace relative path details.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getIsSharedNamespace()
True if the namespace is shared.
|
java.lang.String |
getNsId()
Namespace ID.
|
java.lang.String |
getRelativePath()
A path relative to the specified namespace ID.
|
int |
hashCode() |
static NamespaceRelativePathLogInfo.Builder |
newBuilder()
Returns a new builder for creating an instance of this class.
|
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final java.lang.String nsId
protected final java.lang.String relativePath
protected final java.lang.Boolean isSharedNamespace
public NamespaceRelativePathLogInfo(java.lang.String nsId, java.lang.String relativePath, java.lang.Boolean isSharedNamespace)
Use newBuilder
to create instances of this class without
specifying values for all optional fields.
nsId
- Namespace ID. Might be missing due to historical data gap.relativePath
- A path relative to the specified namespace ID. Might
be missing due to historical data gap.isSharedNamespace
- True if the namespace is shared. Might be
missing due to historical data gap.public NamespaceRelativePathLogInfo()
The default values for unset fields will be used.
public java.lang.String getNsId()
null
if not present.public java.lang.String getRelativePath()
null
if not present.public java.lang.Boolean getIsSharedNamespace()
null
if not present.public static NamespaceRelativePathLogInfo.Builder newBuilder()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringMultiline()
The returned String may contain newlines.