inputEndpointInstance.setPort(portInstance);
}
Element loadBalancerProbeElement = XmlUtility.getElementByTagNameNS(inputEndpointsElement, "http://schemas.microsoft.com/windowsazure", "LoadBalancerProbe");
if (loadBalancerProbeElement != null) {
LoadBalancerProbe loadBalancerProbeInstance = new LoadBalancerProbe();
inputEndpointInstance.setLoadBalancerProbe(loadBalancerProbeInstance);
Element pathElement = XmlUtility.getElementByTagNameNS(loadBalancerProbeElement, "http://schemas.microsoft.com/windowsazure", "Path");
if (pathElement != null) {
String pathInstance;
pathInstance = pathElement.getTextContent();
loadBalancerProbeInstance.setPath(pathInstance);
}
Element portElement2 = XmlUtility.getElementByTagNameNS(loadBalancerProbeElement, "http://schemas.microsoft.com/windowsazure", "Port");
if (portElement2 != null) {
int portInstance2;
portInstance2 = DatatypeConverter.parseInt(portElement2.getTextContent());
loadBalancerProbeInstance.setPort(portInstance2);
}
Element protocolElement2 = XmlUtility.getElementByTagNameNS(loadBalancerProbeElement, "http://schemas.microsoft.com/windowsazure", "Protocol");
if (protocolElement2 != null) {
LoadBalancerProbeTransportProtocol protocolInstance2;
protocolInstance2 = com.microsoft.windowsazure.management.compute.ComputeManagementClientImpl.parseLoadBalancerProbeTransportProtocol(protocolElement2.getTextContent());
loadBalancerProbeInstance.setProtocol(protocolInstance2);
}
Element intervalInSecondsElement = XmlUtility.getElementByTagNameNS(loadBalancerProbeElement, "http://schemas.microsoft.com/windowsazure", "IntervalInSeconds");
if (intervalInSecondsElement != null && (intervalInSecondsElement.getTextContent() == null || intervalInSecondsElement.getTextContent().isEmpty() == true) == false) {
int intervalInSecondsInstance;
intervalInSecondsInstance = DatatypeConverter.parseInt(intervalInSecondsElement.getTextContent());
loadBalancerProbeInstance.setIntervalInSeconds(intervalInSecondsInstance);
}
Element timeoutInSecondsElement = XmlUtility.getElementByTagNameNS(loadBalancerProbeElement, "http://schemas.microsoft.com/windowsazure", "TimeoutInSeconds");
if (timeoutInSecondsElement != null && (timeoutInSecondsElement.getTextContent() == null || timeoutInSecondsElement.getTextContent().isEmpty() == true) == false) {
int timeoutInSecondsInstance;
timeoutInSecondsInstance = DatatypeConverter.parseInt(timeoutInSecondsElement.getTextContent());
loadBalancerProbeInstance.setTimeoutInSeconds(timeoutInSecondsInstance);
}
}
Element protocolElement3 = XmlUtility.getElementByTagNameNS(inputEndpointsElement, "http://schemas.microsoft.com/windowsazure", "Protocol");
if (protocolElement3 != null) {