コード例 #1
0
public class RefreshAdminAclsRequestPBImpl extends ProtoBase<RefreshAdminAclsRequestProto>
    implements RefreshAdminAclsRequest {

  RefreshAdminAclsRequestProto proto = RefreshAdminAclsRequestProto.getDefaultInstance();
  RefreshAdminAclsRequestProto.Builder builder = null;
  boolean viaProto = false;

  public RefreshAdminAclsRequestPBImpl() {
    builder = RefreshAdminAclsRequestProto.newBuilder();
  }

  public RefreshAdminAclsRequestPBImpl(RefreshAdminAclsRequestProto proto) {
    this.proto = proto;
    viaProto = true;
  }

  public RefreshAdminAclsRequestProto getProto() {
    proto = viaProto ? proto : builder.build();
    viaProto = true;
    return proto;
  }
}
コード例 #2
0
 public RefreshAdminAclsRequestPBImpl() {
   builder = RefreshAdminAclsRequestProto.newBuilder();
 }