public class org.apache.kafkaesque.common.requests.ListPartitionReassignmentsRequest extends org.apache.kafkaesque.common.requests.AbstractRequest
{
private org.apache.kafkaesque.common.message.ListPartitionReassignmentsRequestData data;
private final short version;
private void <init>(org.apache.kafkaesque.common.message.ListPartitionReassignmentsRequestData, short)
{
short v;
org.apache.kafkaesque.common.message.ListPartitionReassignmentsRequestData v;
org.apache.kafkaesque.common.protocol.ApiKeys v;
org.apache.kafkaesque.common.requests.ListPartitionReassignmentsRequest v;
v := @this: org.apache.kafkaesque.common.requests.ListPartitionReassignmentsRequest;
v := @parameter: org.apache.kafkaesque.common.message.ListPartitionReassignmentsRequestData;
v := @parameter: short;
v = <org.apache.kafkaesque.common.protocol.ApiKeys: org.apache.kafkaesque.common.protocol.ApiKeys LIST_PARTITION_REASSIGNMENTS>;
specialinvoke v.<org.apache.kafkaesque.common.requests.AbstractRequest: void <init>(org.apache.kafkaesque.common.protocol.ApiKeys,short)>(v, v);
v.<org.apache.kafkaesque.common.requests.ListPartitionReassignmentsRequest: org.apache.kafkaesque.common.message.ListPartitionReassignmentsRequestData data> = v;
v.<org.apache.kafkaesque.common.requests.ListPartitionReassignmentsRequest: short version> = v;
return;
}
void <init>(org.apache.kafkaesque.common.protocol.types.Struct, short)
{
org.apache.kafkaesque.common.protocol.types.Struct v;
short v;
org.apache.kafkaesque.common.message.ListPartitionReassignmentsRequestData v;
org.apache.kafkaesque.common.protocol.ApiKeys v;
org.apache.kafkaesque.common.requests.ListPartitionReassignmentsRequest v;
v := @this: org.apache.kafkaesque.common.requests.ListPartitionReassignmentsRequest;
v := @parameter: org.apache.kafkaesque.common.protocol.types.Struct;
v := @parameter: short;
v = <org.apache.kafkaesque.common.protocol.ApiKeys: org.apache.kafkaesque.common.protocol.ApiKeys LIST_PARTITION_REASSIGNMENTS>;
specialinvoke v.<org.apache.kafkaesque.common.requests.AbstractRequest: void <init>(org.apache.kafkaesque.common.protocol.ApiKeys,short)>(v, v);
v = new org.apache.kafkaesque.common.message.ListPartitionReassignmentsRequestData;
specialinvoke v.<org.apache.kafkaesque.common.message.ListPartitionReassignmentsRequestData: void <init>(org.apache.kafkaesque.common.protocol.types.Struct,short)>(v, v);
v.<org.apache.kafkaesque.common.requests.ListPartitionReassignmentsRequest: org.apache.kafkaesque.common.message.ListPartitionReassignmentsRequestData data> = v;
v.<org.apache.kafkaesque.common.requests.ListPartitionReassignmentsRequest: short version> = v;
return;
}
public static org.apache.kafkaesque.common.requests.ListPartitionReassignmentsRequest parse(java.nio.ByteBuffer, short)
{
org.apache.kafkaesque.common.protocol.types.Struct v;
short v;
org.apache.kafkaesque.common.protocol.ApiKeys v;
java.nio.ByteBuffer v;
org.apache.kafkaesque.common.requests.ListPartitionReassignmentsRequest v;
v := @parameter: java.nio.ByteBuffer;
v := @parameter: short;
v = new org.apache.kafkaesque.common.requests.ListPartitionReassignmentsRequest;
v = <org.apache.kafkaesque.common.protocol.ApiKeys: org.apache.kafkaesque.common.protocol.ApiKeys LIST_PARTITION_REASSIGNMENTS>;
v = virtualinvoke v.<org.apache.kafkaesque.common.protocol.ApiKeys: org.apache.kafkaesque.common.protocol.types.Struct parseRequest(short,java.nio.ByteBuffer)>(v, v);
specialinvoke v.<org.apache.kafkaesque.common.requests.ListPartitionReassignmentsRequest: void <init>(org.apache.kafkaesque.common.protocol.types.Struct,short)>(v, v);
return v;
}
public org.apache.kafkaesque.common.message.ListPartitionReassignmentsRequestData data()
{
org.apache.kafkaesque.common.requests.ListPartitionReassignmentsRequest v;
org.apache.kafkaesque.common.message.ListPartitionReassignmentsRequestData v;
v := @this: org.apache.kafkaesque.common.requests.ListPartitionReassignmentsRequest;
v = v.<org.apache.kafkaesque.common.requests.ListPartitionReassignmentsRequest: org.apache.kafkaesque.common.message.ListPartitionReassignmentsRequestData data>;
return v;
}
public org.apache.kafkaesque.common.protocol.types.Struct toStruct()
{
org.apache.kafkaesque.common.protocol.types.Struct v;
short v;
org.apache.kafkaesque.common.message.ListPartitionReassignmentsRequestData v;
org.apache.kafkaesque.common.requests.ListPartitionReassignmentsRequest v;
v := @this: org.apache.kafkaesque.common.requests.ListPartitionReassignmentsRequest;
v = v.<org.apache.kafkaesque.common.requests.ListPartitionReassignmentsRequest: org.apache.kafkaesque.common.message.ListPartitionReassignmentsRequestData data>;
v = v.<org.apache.kafkaesque.common.requests.ListPartitionReassignmentsRequest: short version>;
v = virtualinvoke v.<org.apache.kafkaesque.common.message.ListPartitionReassignmentsRequestData: org.apache.kafkaesque.common.protocol.types.Struct toStruct(short)>(v);
return v;
}
public org.apache.kafkaesque.common.requests.AbstractResponse getErrorResponse(int, java.lang.Throwable)
{
java.lang.Throwable v;
org.apache.kafkaesque.common.protocol.Errors v;
java.util.function.Function v;
java.util.ArrayList v;
short v;
org.apache.kafkaesque.common.requests.ListPartitionReassignmentsResponse v;
org.apache.kafkaesque.common.requests.ApiError v;
int v;
java.lang.String v, v;
java.util.stream.Collector v;
org.apache.kafkaesque.common.message.ListPartitionReassignmentsResponseData v, v, v, v, v;
boolean v;
java.util.Iterator v;
org.apache.kafkaesque.common.message.ListPartitionReassignmentsResponseData$OngoingTopicReassignment v, v, v;
java.util.List v, v, v;
java.util.stream.Stream v, v;
org.apache.kafkaesque.common.message.ListPartitionReassignmentsRequestData v, v;
java.lang.Object v, v;
org.apache.kafkaesque.common.requests.ListPartitionReassignmentsRequest v;
v := @this: org.apache.kafkaesque.common.requests.ListPartitionReassignmentsRequest;
v := @parameter: int;
v := @parameter: java.lang.Throwable;
v = staticinvoke <org.apache.kafkaesque.common.requests.ApiError: org.apache.kafkaesque.common.requests.ApiError fromThrowable(java.lang.Throwable)>(v);
v = new java.util.ArrayList;
specialinvoke v.<java.util.ArrayList: void <init>()>();
v = v.<org.apache.kafkaesque.common.requests.ListPartitionReassignmentsRequest: org.apache.kafkaesque.common.message.ListPartitionReassignmentsRequestData data>;
v = virtualinvoke v.<org.apache.kafkaesque.common.message.ListPartitionReassignmentsRequestData: java.util.List topics()>();
if v == null goto label;
v = v.<org.apache.kafkaesque.common.requests.ListPartitionReassignmentsRequest: org.apache.kafkaesque.common.message.ListPartitionReassignmentsRequestData data>;
v = virtualinvoke v.<org.apache.kafkaesque.common.message.ListPartitionReassignmentsRequestData: java.util.List topics()>();
v = interfaceinvoke v.<java.util.List: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = new org.apache.kafkaesque.common.message.ListPartitionReassignmentsResponseData$OngoingTopicReassignment;
specialinvoke v.<org.apache.kafkaesque.common.message.ListPartitionReassignmentsResponseData$OngoingTopicReassignment: void <init>()>();
v = virtualinvoke v.<org.apache.kafkaesque.common.message.ListPartitionReassignmentsRequestData$ListPartitionReassignmentsTopics: java.lang.String name()>();
v = virtualinvoke v.<org.apache.kafkaesque.common.message.ListPartitionReassignmentsResponseData$OngoingTopicReassignment: org.apache.kafkaesque.common.message.ListPartitionReassignmentsResponseData$OngoingTopicReassignment setName(java.lang.String)>(v);
v = virtualinvoke v.<org.apache.kafkaesque.common.message.ListPartitionReassignmentsRequestData$ListPartitionReassignmentsTopics: java.util.List partitionIndexes()>();
v = interfaceinvoke v.<java.util.List: java.util.stream.Stream stream()>();
v = staticinvoke <org.apache.kafkaesque.common.requests.ListPartitionReassignmentsRequest$lambda_getErrorResponse_0__380: java.util.function.Function bootstrap$()>();
v = interfaceinvoke v.<java.util.stream.Stream: java.util.stream.Stream map(java.util.function.Function)>(v);
v = staticinvoke <java.util.stream.Collectors: java.util.stream.Collector toList()>();
v = interfaceinvoke v.<java.util.stream.Stream: java.lang.Object collect(java.util.stream.Collector)>(v);
v = virtualinvoke v.<org.apache.kafkaesque.common.message.ListPartitionReassignmentsResponseData$OngoingTopicReassignment: org.apache.kafkaesque.common.message.ListPartitionReassignmentsResponseData$OngoingTopicReassignment setPartitions(java.util.List)>(v);
interfaceinvoke v.<java.util.List: boolean add(java.lang.Object)>(v);
goto label;
label:
v = new org.apache.kafkaesque.common.message.ListPartitionReassignmentsResponseData;
specialinvoke v.<org.apache.kafkaesque.common.message.ListPartitionReassignmentsResponseData: void <init>()>();
v = virtualinvoke v.<org.apache.kafkaesque.common.message.ListPartitionReassignmentsResponseData: org.apache.kafkaesque.common.message.ListPartitionReassignmentsResponseData setTopics(java.util.List)>(v);
v = virtualinvoke v.<org.apache.kafkaesque.common.requests.ApiError: org.apache.kafkaesque.common.protocol.Errors error()>();
v = virtualinvoke v.<org.apache.kafkaesque.common.protocol.Errors: short code()>();
v = virtualinvoke v.<org.apache.kafkaesque.common.message.ListPartitionReassignmentsResponseData: org.apache.kafkaesque.common.message.ListPartitionReassignmentsResponseData setErrorCode(short)>(v);
v = virtualinvoke v.<org.apache.kafkaesque.common.requests.ApiError: java.lang.String message()>();
v = virtualinvoke v.<org.apache.kafkaesque.common.message.ListPartitionReassignmentsResponseData: org.apache.kafkaesque.common.message.ListPartitionReassignmentsResponseData setErrorMessage(java.lang.String)>(v);
v = virtualinvoke v.<org.apache.kafkaesque.common.message.ListPartitionReassignmentsResponseData: org.apache.kafkaesque.common.message.ListPartitionReassignmentsResponseData setThrottleTimeMs(int)>(v);
v = new org.apache.kafkaesque.common.requests.ListPartitionReassignmentsResponse;
specialinvoke v.<org.apache.kafkaesque.common.requests.ListPartitionReassignmentsResponse: void <init>(org.apache.kafkaesque.common.message.ListPartitionReassignmentsResponseData)>(v);
return v;
}
}