- Common ways to obtain RolePrincipalGrant
private void myMethod () {}
if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.principalName = iprot.readString(); struct.setPrincipalNameIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
struct.setPrincipalNameIsSet(true);
if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.principalName = iprot.readString(); struct.setPrincipalNameIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.principalName = iprot.readString(); struct.setPrincipalNameIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.principalName = iprot.readString(); struct.setPrincipalNameIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);