public class SurveyResponseBody extends java.lang.Object implements XdrElement
union SurveyResponseBody switch (SurveyMessageResponseType type) { case SURVEY_TOPOLOGY_RESPONSE_V2: TopologyResponseBodyV2 topologyResponseBodyV2; };
Modifier and Type | Class and Description |
---|---|
static class |
SurveyResponseBody.SurveyResponseBodyBuilder |
Constructor and Description |
---|
SurveyResponseBody() |
SurveyResponseBody(SurveyMessageResponseType discriminant,
TopologyResponseBodyV2 topologyResponseBodyV2) |
Modifier and Type | Method and Description |
---|---|
static SurveyResponseBody.SurveyResponseBodyBuilder |
builder() |
static SurveyResponseBody |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static SurveyResponseBody |
fromXdrBase64(java.lang.String xdr) |
static SurveyResponseBody |
fromXdrByteArray(byte[] xdr) |
SurveyMessageResponseType |
getDiscriminant() |
TopologyResponseBodyV2 |
getTopologyResponseBodyV2() |
int |
hashCode() |
void |
setDiscriminant(SurveyMessageResponseType discriminant) |
void |
setTopologyResponseBodyV2(TopologyResponseBodyV2 topologyResponseBodyV2) |
SurveyResponseBody.SurveyResponseBodyBuilder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public SurveyResponseBody()
public SurveyResponseBody(SurveyMessageResponseType discriminant, TopologyResponseBodyV2 topologyResponseBodyV2)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static SurveyResponseBody decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static SurveyResponseBody fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static SurveyResponseBody fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static SurveyResponseBody.SurveyResponseBodyBuilder builder()
public SurveyResponseBody.SurveyResponseBodyBuilder toBuilder()
public SurveyMessageResponseType getDiscriminant()
public TopologyResponseBodyV2 getTopologyResponseBodyV2()
public void setDiscriminant(SurveyMessageResponseType discriminant)
public void setTopologyResponseBodyV2(TopologyResponseBodyV2 topologyResponseBodyV2)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object