private ResourceBlacklistRequestPBImpl convertFromProtoFormat(ResourceBlacklistRequestProto p) { return new ResourceBlacklistRequestPBImpl(p); }
private ResourceBlacklistRequestProto convertToProtoFormat(ResourceBlacklistRequest t) { return ((ResourceBlacklistRequestPBImpl)t).getProto(); }
public ResourceBlacklistRequestPBImpl() { builder = ResourceBlacklistRequestProto.newBuilder(); }
public ResourceBlacklistRequestPBImpl(ResourceBlacklistRequestProto proto) { this.proto = proto; viaProto = true; }
public ResourceBlacklistRequestProto getProto() { mergeLocalToProto(); proto = viaProto ? proto : builder.build(); viaProto = true; return proto; }
private void maybeInitBuilder() { if (viaProto || builder == null) { builder = ResourceBlacklistRequestProto.newBuilder(proto); } viaProto = false; }
@Test public void testResourceBlacklistRequestPBImpl() throws Exception { validatePBImplRecord(ResourceBlacklistRequestPBImpl.class, ResourceBlacklistRequestProto.class); }